Crash in resource code

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

Crash in resource code

Postby Pills » Mon Mar 18, 2024 8:05 pm

Happens occasionally on login, seems like a race condition tbh.

Code: Select all
java.lang.NullPointerException
   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   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:603)
   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:155)
   at haven.Glob.ctick(Glob.java:186)
   at haven.GLPanel$Loop.run(GLPanel.java:369)
   at haven.JOGLPanel.run(JOGLPanel.java:269)
   at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.NullPointerException
   at haven.res.ui.obj.buddy.Buddy.ctick(buddy.cjava:148)
   at haven.Gob.ctick(Gob.java:477)
   at haven.OCache.lambda$ctick$17(OCache.java:149)
   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)
User avatar
Pills
 
Posts: 495
Joined: Thu Apr 04, 2019 1:21 am

Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest