Uploading image for sketch preview Crash bug

The worst monsters in the Hearthlands warp the fabric of space and time...

Uploading image for sketch preview Crash bug

Postby Josioshane » Thu Nov 14, 2024 9:45 am

Uploading a picture and previewing the thing wall option crashes all clients official included. Repeated crashes because option is stuck on thing wall for preview.

Making this a breaking bug because you can no longer load up custom images into haven account because there is no way to do so on the website anymore (at least from what i found)

You can replicate this bug following these steps.

Bring up the crafting menu -> Processing and Materials -> Pigments and Imagery -> Paint Sketch -> New Image -> Select photo -> Preview -> Thing wall..

Boom consistent crashes when trying to upload new images because the client will remember your preview option and crash you.


Crash Log:
haven.Resource$LoadFailedException: Failed to load resource gfx/terobjs/trees/kingsoak (v23)
at haven.Resource$Pool$Queued.get(Resource.java:586)
at haven.Resource$Pool$Queued.get(Resource.java:553)
at haven.RenderLink$MeshMat.make(RenderLink.java:76)
at haven.res.lib.vmat.VarSprite.iparts(VarSprite.java:39)
at haven.res.gfx.terobjs.thingwall.Thingwall.iparts(thingwall.cjava:26)
at haven.SkelSprite.chparts(SkelSprite.java:182)
at haven.SkelSprite.update(SkelSprite.java:253)
at haven.res.gfx.terobjs.thingwall.Thingwall.update(thingwall.cjava:48)
at haven.res.gfx.terobjs.thingwall.Thingwall.mksprite(thingwall.cjava:21)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at haven.Utils.invoke(Utils.java:1756)
at haven.Utils.lambda$smthfun$1(Utils.java:1778)
at haven.Sprite$FactMaker.lambda$new$0(Sprite.java:83)
at haven.Sprite.create(Sprite.java:133)
at haven.DynresWindow$Preview$Spec.create(DynresWindow.java:644)
at haven.DynresWindow$Preview$View.tick(DynresWindow.java:719)
at haven.Widget.tick(Widget.java:785)
at haven.Widget$TickEvent.shandle(Widget.java:927)
at haven.Widget.handle(Widget.java:907)
at haven.Widget$Event.dispatch(Widget.java:860)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.Widget$TickEvent.propagation(Widget.java:920)
at haven.Widget$Event.propagate(Widget.java:850)
at haven.Widget$Event.dispatch(Widget.java:862)
at haven.UI.dispatch(UI.java:641)
at haven.UI.tick(UI.java:401)
at haven.GLPanel$Loop.run(GLPanel.java:376)
at haven.JOGLPanel.run(JOGLPanel.java:246)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Wrong res version (24 != 23)
at haven.Resource.load(Resource.java:1931)
at haven.Resource.access$600(Resource.java:44)
at haven.Resource$Pool.handle(Resource.java:643)
at haven.Resource$Pool.access$1100(Resource.java:530)
at haven.Resource$Pool$Loader.run(Resource.java:784)
... 1 more
Suppressed: haven.Resource$LoadException: Wrong res version (24 != 23)
... 6 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/trees/kingsoak(v23), from local res source (res)
at haven.Resource$Pool.handle(Resource.java:654)
... 3 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/trees/kingsoak(v23), from local res source (res-preload)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/trees/kingsoak(v23), from filesystem res source (C:\Users\Audio\AppData\Roaming\Haven and Hearth\ender-client\res)
... 4 more
Caused by: java.io.FileNotFoundException: gfx/terobjs/trees/kingsoak
at haven.Resource$FileSource.get(Resource.java:365)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Caused by: java.nio.file.NoSuchFileException: C:\Users\Audio\AppData\Roaming\Haven and Hearth\ender-client\res\gfx\terobjs\trees\kingsoak.res
at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
at java.base/java.nio.file.Files.newByteChannel(Unknown Source)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
at java.base/java.nio.file.Files.newInputStream(Unknown Source)
at haven.Resource$FileSource.get(Resource.java:363)
... 4 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/terobjs/trees/kingsoak.res
at haven.Resource$JarSource.get(Resource.java:385)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/terobjs/trees/kingsoak.res
at haven.Resource$JarSource.get(Resource.java:385)
at haven.Resource$Pool.handle(Resource.java:631)
... 3 more
Josioshane
 
Posts: 14
Joined: Tue Oct 11, 2022 12:20 pm

Re: Uploading image for sketch preview Crash bug

Postby loftar » Sat Nov 16, 2024 10:44 pm

Right, forgot to update the preview specs. Should be fixed now. Thanks!
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Uploading image for sketch preview Crash bug

Postby _Scipio » Sat Nov 16, 2024 11:07 pm

thanks
mizdirector89 wrote: No, their version of 'interrogating' was just saying 'speak up, you better talk' over and over while they killed our characters.

ImageWarriors of Annihilation ; The Crimson Tide
User avatar
_Scipio
 
Posts: 99
Joined: Sat Aug 29, 2015 3:22 am
Location: Interrogating your villagers.

Re: Uploading image for sketch preview Crash bug

Postby synntax33 » Tue Dec 31, 2024 7:02 am

Seems to be currently still an issue. Vanilla and Enders for sure.
User avatar
synntax33
 
Posts: 147
Joined: Mon Aug 22, 2011 5:48 pm


Return to Bugs

Who is online

Users browsing this forum: Yandex [Bot] and 32 guests