tree crashing

The worst monsters in the Hearthlands warp the fabric of space and time...
redwolf340
Posts: 38
Joined: Mon Mar 19, 2012 1:46 am

tree crashing

Post by redwolf340 »

java.lang.NoClassDefFoundError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source)
at java.util.concurrent.ForkJoinTask.reportException(Unknown Source)
at java.util.concurrent.ForkJoinTask.invoke(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.forEach(Unknown Source)
at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at haven.OCache.ctick(OCache.java:123)
at haven.Glob.ctick(Glob.java:132)
at haven.JOGLPanel.run(JOGLPanel.java:516)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: haven/Gob$Overlay$SetupMod
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at haven.Resource$CodeEntry$1$1.findClass(Resource.java:1300)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at Fac.create(treechop.cjava:108)
at haven.Skeleton.mkposemod(Skeleton.java:536)
at haven.Composite.loadposes(Composite.java:64)
at haven.Composite.loadposes(Composite.java:73)
at haven.Composite.ctick(Composite.java:106)
at haven.Gob.ctick(Gob.java:205)
at haven.OCache.lambda$ctick$0(OCache.java:117)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source)
at java.util.concurrent.CountedCompleter.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: haven.Resource$ResourceClassNotFoundException: Could not find class haven.Gob$Overlay$SetupMod in resource gfx/borka/treechop(v17)
at haven.Resource$CodeEntry$1$1.findClass(Resource.java:1299)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 22 more
got a crash near a christmas tree when passing by, but found a way to walk away before re-creashing so did not save the bug report because found a way to keep playing, but now got this one here when i try to cut down a tree, tryed on custom client AND regular, also tryed cache clearing, clearing all then re-downloading, can't play a lot if i cant cut down tree for wood , so ya, don't know how to keep playing at this point, sorry in advance if its a stupid thing that is fixable by not being the idiot that i i'm.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: tree crashing

Post by loftar »

redwolf340 wrote:Caused by: java.lang.NoClassDefFoundError: haven/Gob$Overlay$SetupMod
If this is the error from the default client, then this is definitely a cache issue. If you say that you cleared the cache and that didn't help, it leaves me wondering if you did it wrong, somehow. Are you sure you cleared the right directory?

There seem to be a lot of people who get their caches polluted with old resources. I really wonder how that is happening.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
redwolf340
Posts: 38
Joined: Mon Mar 19, 2012 1:46 am

Re: tree crashing

Post by redwolf340 »

the one i cleared was C:\Users\utilisateur\AppData\Roaming\Haven Launcher\cache im gonna try deleting it again and see
Last edited by redwolf340 on Fri Mar 05, 2021 9:38 pm, edited 3 times in total.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: tree crashing

Post by loftar »

redwolf340 wrote:the one i cleared was C:\Users\utilisateur\AppData\Roaming\Haven Launcher\cache im gonna try deleting it again and see
That's just the launcher's cache, which is separate from the client's own cache. You're looking the "Haven and Hearth" directory, rather than "Haven Launcher". As mentioned in the link, however, do remember to export your map beforehand.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
redwolf340
Posts: 38
Joined: Mon Mar 19, 2012 1:46 am

Re: tree crashing

Post by redwolf340 »

the link bring me to this
loftar wrote:
kirion wrote:resource lib/uspr
It sounds like you've managed to get resources from the pre-rendering client into your resource cache somehow. I'm really not sure how that would happen, perhaps a side-effect of some custom client? Not sure what the cause would be, but if you remove your cache directory, that should solve the problem. Just remember to export your map before doing that. :)
page 7 of Re: Game Development: Mushroom Circle

but ya i found the C:\Users\utilisateur\AppData\Roaming\Haven and Hearth\data just above and deleted it, for now it works i can do things, ill see if it comes back, still thanks for helping

Return to “Bugs”