Java error in matlab
3 views (last 30 days)
Show older comments
Hello Everyone,
I am running some code using parfor loop which takes several hours to finish.
I get this error every time I check on my PC to see the status.
I checked my machine after leaving it overnight.
I have a Win7 64 bit and 8 GB of Ram.
Any suggestions is much appreciated.
Cheers,
Ash
java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Sourc
7 Comments
Accepted Answer
Jan
on 19 Jul 2012
Is any GUI open during the computer is locked?
The Java Dispatch Thread is resonsible for managing Java objects as e.g. uicontrols and the command window. It is possible that locking the machine causes delays, which confuse the Dispatch Thread. So what about avoiding the locking?
3 Comments
Nathan McNutt
on 7 May 2016
I restarted my MATLAB program and closed command prompt which was running in the background. Now my problem is fixed! Thanks so much
More Answers (1)
fatemeh haghighi
on 29 Jul 2019
I have the same problem,
The error is only about some sheets of excel and not all of them.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!