Delayed Error In Resource - Bug of Doom

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

Delayed Error In Resource - Bug of Doom

Postby Avulsio » Tue Apr 27, 2021 6:09 pm

Code: Select all
java.lang.RuntimeException: Delayed error in resource gfx/invobjs/mole-carcass (v1), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
   at haven.Resource$Pool$Queued.get(Resource.java:432)
   at haven.Resource$Pool$Queued.get(Resource.java:400)
   at haven.Session$CachedRes$Ref.get(Session.java:127)
   at haven.Session$CachedRes$Ref.get(Session.java:120)
   at haven.GItem.spr(GItem.java:154)
   at haven.WItem.draw(WItem.java:209)
   at haven.Widget.draw(Widget.java:778)
   at haven.Widget.draw(Widget.java:783)
   at haven.Inventory.draw(Inventory.java:77)
   at haven.Widget.draw(Widget.java:778)
   at haven.Widget.draw(Widget.java:783)
   at haven.Window.draw(Window.java:290)
   at haven.Widget.draw(Widget.java:778)
   at haven.Widget.draw(Widget.java:783)
   at haven.GameUI.draw(GameUI.java:962)
   at haven.Widget.draw(Widget.java:778)
   at haven.Widget.draw(Widget.java:783)
   at haven.RootWidget.draw(RootWidget.java:68)
   at haven.UI.draw(UI.java:219)
   at haven.JOGLPanel.display(JOGLPanel.java:489)
   at haven.JOGLPanel.run(JOGLPanel.java:568)
   at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: haven.Resource$LoadException: Load error in resource gfx/invobjs/mole-carcass(v1), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
   at haven.Resource$Pool.handle(Resource.java:493)
   at haven.Resource$Pool.access$1100(Resource.java:377)
   at haven.Resource$Pool$Loader.run(Resource.java:629)
   ... 1 more
   Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/mole-carcass(v1), from cache source backed by HashDirCache(https://game.havenandhearth.com/res/)
      ... 4 more
      Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/mole-carcass(v1), from local res source (res-preload)
         ... 4 more
         Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/mole-carcass(v1), from filesystem res source (C:\Users\username\Desktop\client\res)
            ... 4 more
            Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/mole-carcass(v1), from local res source (res)
               ... 4 more
            Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/invobjs/mole-carcass.res
               at haven.Resource$JarSource.get(Resource.java:286)
               at haven.Resource$Pool.handle(Resource.java:477)
               ... 3 more
         Caused by: java.io.FileNotFoundException: C:\Users\username\Desktop\client\res\gfx\invobjs\mole-carcass.res (The system cannot find the path specified)
            at java.base/java.io.FileInputStream.open0(Native Method)
            at java.base/java.io.FileInputStream.open(FileInputStream.java:211)
            at java.base/java.io.FileInputStream.<init>(FileInputStream.java:153)
            at haven.Resource$FileSource.get(Resource.java:267)
            at haven.Resource$Pool.handle(Resource.java:477)
            ... 3 more
      Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/invobjs/mole-carcass.res
         at haven.Resource$JarSource.get(Resource.java:286)
         at haven.Resource$Pool.handle(Resource.java:477)
         ... 3 more
   Caused by: java.io.FileNotFoundException: res/gfx/invobjs/mole-carcass
      at haven.HashDirCache.fetch(HashDirCache.java:390)
      at haven.Resource$CacheSource.get(Resource.java:246)
      at haven.Resource$Pool.handle(Resource.java:477)
      ... 3 more
Caused by: haven.StreamMessage$IOError: java.io.IOException: already retried 5 times
   at haven.StreamMessage.underflow(StreamMessage.java:71)
   at haven.Message.rensure(Message.java:90)
   at haven.Message.bytes(Message.java:163)
   at haven.Resource.load(Resource.java:1593)
   at haven.Resource.access$600(Resource.java:42)
   at haven.Resource$Pool.handle(Resource.java:481)
   ... 3 more
Caused by: java.io.IOException: already retried 5 times
   at haven.RetryingInputStream.retry(RetryingInputStream.java:53)
   at haven.RetryingInputStream.get(RetryingInputStream.java:61)
   at haven.RetryingInputStream.read(RetryingInputStream.java:102)
   at haven.StreamTee.read(StreamTee.java:87)
   at haven.StreamMessage.underflow(StreamMessage.java:68)
   ... 8 more
Caused by: java.net.UnknownHostException: game.havenandhearth.com
   at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)
   at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333)
   at java.base/java.net.Socket.connect(Socket.java:648)
   at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:290)
   at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
   at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
   at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
   at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
   at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
   at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
   at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:189)
   at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1194)
   at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1082)
   at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:175)
   at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1600)
   at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
   at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
   at haven.Resource$HttpSource$1.create(Resource.java:339)
   at haven.RetryingInputStream.create(RetryingInputStream.java:44)
   at haven.RetryingInputStream.get(RetryingInputStream.java:67)
   ... 11 more


I get this error about 50% of the time I encounter a new item that needs to be downloaded. I have cleared my cache and deleted all the data folder several times, to no avail. This bug has crashed my game maybe 100+ times since I started playing at W13 launch. I will start pasting every bug report in here in hopes that it helps loftar find and squash the bug.

The worst is when I am fighting an animal (or heaven forbid a player) and a new combat move pops up that I haven't seen before and I get a crash. I've had lots of injuries from this, but I haven't died yet.
User avatar
Avulsio
 
Posts: 80
Joined: Fri Nov 16, 2012 5:17 am
Location: Scooby snack jurassic plastic gas booby trap

Re: Delayed Error In Resource - Bug of Doom

Postby Ysh » Tue Apr 27, 2021 7:13 pm

Is this not just from using out of date client?
Kaios wrote:Spice Girls are integral to understanding Ysh's thought process when communicating, duly noted.

I have become victory of very nice Jordan Coles Contest! Enjoy my winning submit here if it pleasures you.
User avatar
Ysh
 
Posts: 5953
Joined: Sun Jan 31, 2010 4:43 am
Location: Chatting some friends on forum

Re: Delayed Error In Resource - Bug of Doom

Postby Ardennesss » Tue Apr 27, 2021 7:50 pm

Ysh wrote:Is this not just from using out of date client?
Error appears to be pulling from the new render branch not the old, and others aren't getting errors like this on old render branch anyway. Still not sure I understand why the client outright crashes when it can't load something instead of just loading a placeholder and trying again.
User avatar
Ardennesss
 
Posts: 1148
Joined: Sun Oct 06, 2013 4:22 pm

Re: Delayed Error In Resource - Bug of Doom

Postby czaper2 » Tue Apr 27, 2021 8:28 pm

Ardennesss wrote:
Ysh wrote:Is this not just from using out of date client?
Error appears to be pulling from the new render branch not the old, and others aren't getting errors like this on old render branch anyway. Still not sure I understand why the client outright crashes when it can't load something instead of just loading a placeholder and trying again.


I mean, to be fair it tried 5 times:

Code: Select all
Caused by: haven.StreamMessage$IOError: java.io.IOException: already retried 5 times


OP appears to be having DNS issues from this line:

Code: Select all
Caused by: java.net.UnknownHostException: game.havenandhearth.com


Might look into what your internet settings are like Avulsio. It seems like you have no DNS service running on your computer - something to keep a stored list of IP addresses fetched from a domain name server. Also it seems like whatever domain name server you are using has a high failure rate.
User avatar
czaper2
 
Posts: 389
Joined: Mon Aug 26, 2013 12:48 pm

Re: Delayed Error In Resource - Bug of Doom

Postby Ardennesss » Tue Apr 27, 2021 10:55 pm

czaper2 wrote:
Ardennesss wrote:
Ysh wrote:Is this not just from using out of date client?
Error appears to be pulling from the new render branch not the old, and others aren't getting errors like this on old render branch anyway. Still not sure I understand why the client outright crashes when it can't load something instead of just loading a placeholder and trying again.


I mean, to be fair it tried 5 times:

Code: Select all
Caused by: haven.StreamMessage$IOError: java.io.IOException: already retried 5 times

I never read that to mean it tried to hit the res server 5 times, more that it tried 5 total places to find the file and then gave up - the last of which was the /res/ server. I've seen various delayed error receiving resource from backend from tons of people doing tons of different things for years now, even (especially) on resources that are clearly in cache and actively being used. Just seems weird to me that you can't simply replace something like the inventory sprite with a placeholder instead of just outright crashing. Especially in combat, there should exist 0 scenarios where anything ever force closes the game client mid combat engagement.
User avatar
Ardennesss
 
Posts: 1148
Joined: Sun Oct 06, 2013 4:22 pm

Re: Delayed Error In Resource - Bug of Doom

Postby Avulsio » Wed Apr 28, 2021 6:13 pm

Thanks for all the feedback and discussion. I guess if my DNS has a high failure rate, then I need to complain to my ISP to come fix it?

FYI, this crash type happens on any client I use, including vanilla.

Here's another crash:

java.lang.RuntimeException: java.lang.RuntimeException: Delayed error in resource gfx/terobjs/items/butcherscleaver (v2), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:600)
at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:678)
at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:737)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:661)
at haven.OCache.ctick(OCache.java:142)
at haven.Glob.ctick(Glob.java:164)
at haven.JOGLPanel.run(JOGLPanel.java:545)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.RuntimeException: Delayed error in resource gfx/terobjs/items/butcherscleaver (v2), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
at haven.Resource$Pool$Queued.get(Resource.java:432)
at haven.Resource$Pool$Queued.get(Resource.java:400)
at haven.Session$CachedRes$Ref.get(Session.java:127)
at haven.Session$CachedRes$Ref.get(Session.java:120)
at haven.Composited$SpriteEqu.<init>(Composited.java:208)
at haven.Composited$SpriteEqu.<init>(Composited.java:206)
at haven.Composited.nequ(Composited.java:466)
at haven.Composited.chequ(Composited.java:563)
at haven.Composite.updequ(Composite.java:102)
at haven.Composite.ctick(Composite.java:132)
at haven.Gob.ctick(Gob.java:226)
at haven.OCache.lambda$ctick$9(OCache.java:136)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: haven.Resource$LoadException: Load error in resource gfx/terobjs/items/butcherscleaver(v2), from forking source backed by HTTP res source (https://game.havenandhearth.com/res/)
at haven.Resource$Pool.handle(Resource.java:493)
at haven.Resource$Pool.access$1100(Resource.java:377)
at haven.Resource$Pool$Loader.run(Resource.java:629)
at java.base/java.lang.Thread.run(Thread.java:832)
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/items/butcherscleaver(v2), from cache source backed by HashDirCache(https://game.havenandhearth.com/res/)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/items/butcherscleaver(v2), from local res source (res-preload)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/items/butcherscleaver(v2), from filesystem res source (C:\Users\username\Desktop\client\res)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/items/butcherscleaver(v2), from local res source (res)
... 4 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/terobjs/items/butcherscleaver.res
at haven.Resource$JarSource.get(Resource.java:286)
at haven.Resource$Pool.handle(Resource.java:477)
... 3 more
Caused by: java.io.FileNotFoundException: C:\Users\username\Desktop\client\res\gfx\terobjs\items\butcherscleaver.res (The system cannot find the path specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:211)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:153)
at haven.Resource$FileSource.get(Resource.java:267)
at haven.Resource$Pool.handle(Resource.java:477)
... 3 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/terobjs/items/butcherscleaver.res
at haven.Resource$JarSource.get(Resource.java:286)
at haven.Resource$Pool.handle(Resource.java:477)
... 3 more
Caused by: java.io.FileNotFoundException: res/gfx/terobjs/items/butcherscleaver
at haven.HashDirCache.fetch(HashDirCache.java:390)
at haven.Resource$CacheSource.get(Resource.java:246)
at haven.Resource$Pool.handle(Resource.java:477)
... 3 more
Caused by: haven.StreamMessage$IOError: java.io.IOException: already retried 5 times
at haven.StreamMessage.underflow(StreamMessage.java:71)
at haven.Message.rensure(Message.java:90)
at haven.Message.bytes(Message.java:163)
at haven.Resource.load(Resource.java:1593)
at haven.Resource.access$600(Resource.java:42)
at haven.Resource$Pool.handle(Resource.java:481)
... 3 more
Caused by: java.io.IOException: already retried 5 times
at haven.RetryingInputStream.retry(RetryingInputStream.java:53)
at haven.RetryingInputStream.get(RetryingInputStream.java:61)
at haven.RetryingInputStream.read(RetryingInputStream.java:102)
at haven.StreamTee.read(StreamTee.java:87)
at haven.StreamMessage.underflow(StreamMessage.java:68)
... 8 more
Caused by: java.net.UnknownHostException: game.havenandhearth.com
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:333)
at java.base/java.net.Socket.connect(Socket.java:648)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:290)
at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:189)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1194)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1082)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:175)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1600)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at haven.Resource$HttpSource$1.create(Resource.java:339)
at haven.RetryingInputStream.create(RetryingInputStream.java:44)
at haven.RetryingInputStream.get(RetryingInputStream.java:67)
... 11 more
User avatar
Avulsio
 
Posts: 80
Joined: Fri Nov 16, 2012 5:17 am
Location: Scooby snack jurassic plastic gas booby trap


Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 3 guests