Client crashes when placing down cupboards with decals

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
Nightdawg
Posts: 2637
Joined: Fri Feb 28, 2020 12:31 am

Client crashes when placing down cupboards with decals

Post by Nightdawg »

Vanilla client, obviously.
It happens intermittently, when you lift a cupboard that has a decal on it, then right click to manually place it. If you can't reproduce it instantly, keep right clicking the cupboard, you eventually always crash.

Code: Select all

java.util.ConcurrentModificationException: java.util.ConcurrentModificationException
    at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
    at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:540)
    at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
    at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:670)
    at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
    at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
    at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:765)
    at haven.OCache.ctick(OCache.java:127)
    at haven.Glob.ctick(Glob.java:166)
    at haven.GLPanel$Loop.run(GLPanel.java:362)
    at haven.JOGLPanel.run(JOGLPanel.java:246)
    at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.util.ConcurrentModificationException
    at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1095)
    at java.base/java.util.ArrayList$Itr.next(ArrayList.java:1049)
    at haven.res.gfx.terobjs.items.decal.Decal$1.tick(decal.cjava:68)
    at haven.Gob$Overlay.tick(Gob.java:132)
    at haven.Gob.ctick(Gob.java:455)
    at haven.OCache.lambda$ctick$0(OCache.java:121)
    at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
    at java.base/java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
    at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1310)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1841)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
"Our primary development direction is toward object-controlled-objects"
User avatar
sickaura
Posts: 52
Joined: Fri Oct 06, 2023 8:19 pm

Re: Client crashes when placing down cupboards with decals

Post by sickaura »

happened to me with chests in w16
User avatar
Nightdawg
Posts: 2637
Joined: Fri Feb 28, 2020 12:31 am

Re: Client crashes when placing down cupboards with decals

Post by Nightdawg »

From that stacktrace, I'm assuming it happens with anything that has a parchment decal on it
jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
"Our primary development direction is toward object-controlled-objects"
User avatar
Nightdawg
Posts: 2637
Joined: Fri Feb 28, 2020 12:31 am

Re: Client crashes when placing down cupboards with decals

Post by Nightdawg »

bump
jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
"Our primary development direction is toward object-controlled-objects"
axus
Posts: 148
Joined: Thu Nov 18, 2021 4:22 pm

Re: Client crashes when placing down cupboards with decals

Post by axus »

Same crash happened to me (in Nightdawg's client). Forkin' workers!
blayze4ever
Posts: 1
Joined: Fri Dec 13, 2024 8:51 pm

Re: Client crashes when placing down cupboards with decals

Post by blayze4ever »

please fix. i move things around all the time and this happens too often. :<
User avatar
Regulus2424
Posts: 687
Joined: Mon Feb 16, 2015 3:48 pm

Re: Client crashes when placing down cupboards with decals

Post by Regulus2424 »

my plotmate is still stuck under cupboard to this very day :cry: , pls fix da bug
You do not have the required permissions to view the files attached to this post.
W6 - giga noob hermit
W7 - giga noob hermit, part 2
W12 - hermit
W13 - sprucecap extraordinaire from Magnanimous Magistrates
W14 - PotFriendJr from Doom Fortress
W15 - He Who Was from Gnomes Gone Gangsta
W16 - Marazhai from Wildfox Bread/Hogwarts
W16.1 - Knave from Pimp My Wheelchair
W16.2 - Knave-Errant from Ett gäng dumma smileys
User avatar
AliExpressMerchant
Posts: 140
Joined: Thu Jan 08, 2026 8:28 am

Re: Client crashes when placing down cupboards with decals

Post by AliExpressMerchant »

today in the morning I was moving into a new house, moving 200 cupboards with decal

for the sake of God

fix ur game

i needed to restart client like 50+ times

Code: Select all

java.util.ConcurrentModificationException: java.util.ConcurrentModificationException
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:540)
	at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
	at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:670)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:765)
	at haven.OCache.ctick(OCache.java:161)
	at haven.Glob.ctick(Glob.java:231)
	at haven.GLPanel$Loop.run(GLPanel.java:440)
	at haven.JOGLPanel.run(JOGLPanel.java:264)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Selling high quality tools for tokens. PM for more details
User avatar
Nightdawg
Posts: 2637
Joined: Fri Feb 28, 2020 12:31 am

Re: Client crashes when placing down cupboards with decals

Post by Nightdawg »

Well since loftar won't fix the vanilla client, we fixed it like this in Hurricane I guess:
https://github.com/Nightdawg/Hurricane/ ... 94d73b5d61

But I'm assuming try-catching ConcurrentModificationException in ctick is very retarded and I really wish the core issue was fixed
jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
"Our primary development direction is toward object-controlled-objects"

Return to “Bugs”