Default Client Crash: Invalid image data on figree?

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
ULGMsean
Posts: 159
Joined: Mon Apr 23, 2012 10:56 am

Default Client Crash: Invalid image data on figree?

Post by ULGMsean »

Using the default client. Now every time I login this error shows up.

haven.Defer$DeferredException: java.lang.RuntimeException: Invalid image data in gfx/terobjs/trees/figtree
at haven.Defer$Future.get(Defer.java:188)
at haven.Defer$Future.get(Defer.java:200)
at haven.TexL.prepare(TexL.java:159)
at haven.TexL.fill(TexL.java:172)
at haven.TexL.access$000(TexL.java:38)
at haven.TexL$Filler.fill(TexL.java:48)
at haven.TexL$Filler.fill(TexL.java:44)
at haven.render.gl.GLTexture$Tex2D.create(GLTexture.java:328)
at haven.render.gl.GLEnvironment.prepare(GLEnvironment.java:545)
at haven.render.gl.GLEnvironment.prepare(GLEnvironment.java:553)
at haven.render.gl.GLEnvironment.prepuval(GLEnvironment.java:619)
at haven.render.gl.GLDrawList$UniformSetting.compile(GLDrawList.java:771)
at haven.render.gl.GLDrawList$Setting.update(GLDrawList.java:485)
at haven.render.gl.GLDrawList$UniformSetting.<init>(GLDrawList.java:767)
at haven.render.gl.GLDrawList.getuniform(GLDrawList.java:799)
at haven.render.gl.GLDrawList$DrawSlot.getsettings(GLDrawList.java:261)
at haven.render.gl.GLDrawList$DrawSlot.<init>(GLDrawList.java:343)
at haven.render.gl.GLDrawList.add(GLDrawList.java:977)
at haven.render.InstanceList.lambda$cladd$0(InstanceList.java:493)
at java.util.ArrayList.forEach(Unknown Source)
at haven.render.InstanceList.cladd(InstanceList.java:493)
at haven.render.InstanceList.add0(InstanceList.java:526)
at haven.render.InstanceList.add(InstanceList.java:592)
at haven.render.RenderList.syncadd(RenderList.java:67)
at haven.render.RenderList.asyncadd(RenderList.java:85)
at haven.PView.envsetup(PView.java:243)
at haven.PView.draw(PView.java:267)
at haven.MapView.draw(MapView.java:1635)
at haven.Widget.draw(Widget.java:765)
at haven.Widget.draw(Widget.java:770)
at haven.GameUI.draw(GameUI.java:873)
at haven.Widget.draw(Widget.java:765)
at haven.Widget.draw(Widget.java:770)
at haven.RootWidget.draw(RootWidget.java:68)
at haven.UI.draw(UI.java:221)
at haven.JOGLPanel.display(JOGLPanel.java:466)
at haven.JOGLPanel.run(JOGLPanel.java:546)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Invalid image data in gfx/terobjs/trees/figtree
at haven.TexR$Real.rd(TexR.java:111)
at haven.TexR$Real.fill(TexR.java:117)
at haven.TexL$Prepared.<init>(TexL.java:85)
at haven.TexL$Prepared.<init>(TexL.java:72)
at haven.TexL$1.call(TexL.java:147)
at haven.TexL$1.call(TexL.java:145)
at haven.Defer$Future$1.run(Defer.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at haven.Defer$Future.run(Defer.java:150)
at haven.Defer$Worker.run(Defer.java:254)
Caused by: javax.imageio.IIOException: Unsupported JPEG process: SOF type 0xc3
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at haven.Resource$1.run(Resource.java:888)
at haven.Resource$1.run(Resource.java:885)
at java.security.AccessController.doPrivileged(Native Method)
at haven.Resource.readimage(Resource.java:885)
at haven.TexR$Real.rd(TexR.java:109)
... 9 more
マイルズ
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Default Client Crash: Invalid image data on figree?

Post by loftar »

Hm, I saw the error report that your client sent, and it really looks like it thinks that texture is corrupted, but it clearly isn't since it only seems to be happening to you. Not sure why; there isn't anything in particular that stands out about it otherwise. Perhaps you've gotten some weird sort of corruption in your resource cache, so I might perhaps suggesting clearing it and see if that helps (remember to export your map if you want to save it, however, since it's stored in the same place).
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
ULGMsean
Posts: 159
Joined: Mon Apr 23, 2012 10:56 am

Re: Default Client Crash: Invalid image data on figree?

Post by ULGMsean »

loftar wrote:Hm, I saw the error report that your client sent, and it really looks like it thinks that texture is corrupted, but it clearly isn't since it only seems to be happening to you. Not sure why; there isn't anything in particular that stands out about it otherwise. Perhaps you've gotten some weird sort of corruption in your resource cache, so I might perhaps suggesting clearing it and see if that helps (remember to export your map if you want to save it, however, since it's stored in the same place).
Thanks! Should be good now. I just let the game recreate the data files.
マイルズ
imacds
Posts: 7
Joined: Fri Sep 16, 2011 2:05 am

Re: Default Client Crash: Invalid image data on figree?

Post by imacds »

Got what looks like the same error, but with cherry tree. :)

haven.Defer$DeferredException: java.lang.RuntimeException: Invalid image data in gfx/terobjs/trees/cherry
at haven.Defer$Future.get(Defer.java:188)
at haven.Defer$Future.get(Defer.java:200)
at haven.TexL.prepare(TexL.java:159)
at haven.TexL.fill(TexL.java:172)
at haven.TexL.access$000(TexL.java:38)
at haven.TexL$Filler.fill(TexL.java:48)
at haven.TexL$Filler.fill(TexL.java:44)
at haven.render.gl.GLTexture$Tex2D.create(GLTexture.java:328)
at haven.render.gl.GLEnvironment.prepare(GLEnvironment.java:545)
at haven.render.gl.GLEnvironment.prepare(GLEnvironment.java:553)
at haven.render.gl.GLEnvironment.prepuval(GLEnvironment.java:619)
at haven.render.gl.GLDrawList$UniformSetting.compile(GLDrawList.java:771)
at haven.render.gl.GLDrawList$Setting.update(GLDrawList.java:485)
at haven.render.gl.GLDrawList$UniformSetting.<init>(GLDrawList.java:767)
at haven.render.gl.GLDrawList.getuniform(GLDrawList.java:799)
at haven.render.gl.GLDrawList$DrawSlot.getsettings(GLDrawList.java:261)
at haven.render.gl.GLDrawList$DrawSlot.<init>(GLDrawList.java:343)
at haven.render.gl.GLDrawList.add(GLDrawList.java:977)
at haven.render.InstanceList.lambda$cladd$0(InstanceList.java:493)
at java.util.ArrayList.forEach(Unknown Source)
at haven.render.InstanceList.cladd(InstanceList.java:493)
at haven.render.InstanceList.add0(InstanceList.java:526)
at haven.render.InstanceList.add(InstanceList.java:592)
at haven.render.RenderList.syncadd(RenderList.java:67)
at haven.render.RenderList.asyncadd(RenderList.java:85)
at haven.PView.envsetup(PView.java:243)
at haven.PView.draw(PView.java:267)
at haven.MapView.draw(MapView.java:1639)
at haven.Widget.draw(Widget.java:765)
at haven.Widget.draw(Widget.java:770)
at haven.GameUI.draw(GameUI.java:873)
at haven.Widget.draw(Widget.java:765)
at haven.Widget.draw(Widget.java:770)
at haven.RootWidget.draw(RootWidget.java:68)
at haven.UI.draw(UI.java:221)
at haven.JOGLPanel.display(JOGLPanel.java:466)
at haven.JOGLPanel.run(JOGLPanel.java:546)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Invalid image data in gfx/terobjs/trees/cherry
at haven.TexR$Real.rd(TexR.java:111)
at haven.TexR$Real.fill(TexR.java:119)
at haven.TexL$Prepared.<init>(TexL.java:85)
at haven.TexL$Prepared.<init>(TexL.java:72)
at haven.TexL$1.call(TexL.java:147)
at haven.TexL$1.call(TexL.java:145)
at haven.Defer$Future$1.run(Defer.java:151)
at java.security.AccessController.doPrivileged(Native Method)
at haven.Defer$Future.run(Defer.java:150)
at haven.Defer$Worker.run(Defer.java:254)
Caused by: javax.imageio.IIOException: Invalid JPEG file structure: two SOF markers
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at haven.Resource$1.run(Resource.java:888)
at haven.Resource$1.run(Resource.java:885)
at java.security.AccessController.doPrivileged(Native Method)
at haven.Resource.readimage(Resource.java:885)
at haven.TexR$Real.rd(TexR.java:109)
... 9 more

The fix was to go to your %APPDATA% and delete the "Haven and Hearth" folder.

Sorry for spamming the bug report as I tried to fix it. xD

Return to “Bugs”