This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 9 - Pages: 1 - Last Post: 28 Nov 24, 21:05 Last Post By: davidekholm Threads: [ Previous | Next ]
JeffTucker

Posts: 8,227
Registered: 31-Jan-2006
Odd random console message
Posted: 6 Nov 24, 18:43
 
  Click to reply to this thread Reply
For quite a while, I've been getting this error showing in the console upon launching jAlbum, with Neptune as my default skin. It isn't reproducible, and it doesn't seem to do any harm. It's just mysterious. What makes it even stranger is that I haven't run the multi-maker in quite a while - I've been doing just single projects.
Startup: 3.518s
Skin loading: 1.083s
java.util.ConcurrentModificationException
	at java.base/java.util.ArrayList$Itr.checkForComodification(Unknown Source)
	at java.base/java.util.ArrayList$Itr.next(Unknown Source)
	at se.datadosen.jalbum.JMultiMaker.lambda$init$29(JMultiMaker.java:925)
	at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
	at se.datadosen.jalbum.JMultiMaker.lambda$init$30(JMultiMaker.java:923)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Skin loading: 0.558s
I can't detect any pattern to it, alas.
davidekholm

Posts: 3,486
Registered: 18-Oct-2002
Re: Odd random console message
Posted: 7 Nov 24, 13:35   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I've seen it on occasion. This one is harmless. I've canceled the error printout for future versions. A core update should take care of it.
JeffTucker

Posts: 8,227
Registered: 31-Jan-2006
Re: Odd random console message
Posted: 7 Nov 24, 13:44   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Glad I'm not the only one. True, so harmless that I often don't even notice it.

Thanks.
JeffTucker

Posts: 8,227
Registered: 31-Jan-2006
Re: Odd random console message
Posted: 25 Nov 24, 20:11   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I've started seeing this one again. jAlbum 36.0.5. Very random - even repeating exactly the same sequence again, which usually consists of launching, changing to a different project group, then opening an existing project, doesn't cough it up again.
davidekholm

Posts: 3,486
Registered: 18-Oct-2002
Re: Odd random console message
Posted: 25 Nov 24, 22:52   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Please include a stack trace. I can imagine it's the other of the two competing threads that spits out that error.
JeffTucker

Posts: 8,227
Registered: 31-Jan-2006
Re: Odd random console message
Posted: 25 Nov 24, 23:01   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
That's the entire error, shown in the console. I'm not getting a crash, and there's no dump file. Remind me again, how would I get it to provide a more detailed trace?

ETA: Never mind - it's the "Dump threads" icon in the console, right? I'll watch for a repetition of the error - it's very, very random.
JeffTucker

Posts: 8,227
Registered: 31-Jan-2006
Re: Odd random console message
Posted: 26 Nov 24, 19:48   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Attachment thread-dump.txt (33.5 KB)
Saw it when it happened this time. Thread dump attached.
davidekholm

Posts: 3,486
Registered: 18-Oct-2002
Re: Odd random console message
Posted: 27 Nov 24, 12:59   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Sorry, I need the stack trace produced automatically when the error occurs, the thread dump you get when manually hitting "Dump threads" won't do it.
JeffTucker

Posts: 8,227
Registered: 31-Jan-2006
Re: Odd random console message
Posted: 27 Nov 24, 13:19   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Just this, in the console:
Startup: 5.116s
Skin loading: 1.131s
java.util.ConcurrentModificationException
	at java.base/java.util.ArrayList$Itr.checkForComodification(Unknown Source)
	at java.base/java.util.ArrayList$Itr.next(Unknown Source)
	at se.datadosen.jalbum.JMultiMaker.lambda$init$29(JMultiMaker.java:927)
	at java.base/java.util.Iterator.forEachRemaining(Unknown Source)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
	at se.datadosen.jalbum.JMultiMaker.lambda$init$30(JMultiMaker.java:925)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Project file prior to Neptune 115
Skin loading: 0.479s
davidekholm

Posts: 3,486
Registered: 18-Oct-2002
Re: Odd random console message
Posted: 28 Nov 24, 21:05   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Ok, odd that it prints that one, but I think I might be able to choke that error message for the coming release.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums