Java error in matlab

3 次查看(过去 30 天)
Nitin
Nitin 2012-7-19
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 个评论
Nitin
Nitin 2012-7-19
Hi Sean,
Yes I am on a multimonitor system and I also log in remotely using Logmein sometimes.
Thanks
Sean de Wolski
Sean de Wolski 2012-7-19
I would test these as well along with locking your computer.

请先登录,再进行评论。

采纳的回答

Jan
Jan 2012-7-19
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 个评论
Nitin
Nitin 2012-7-24
Hello everyone,
Just a quick update.
I have not had this error again since I left the machine unlocked as suggested by Jan. I also dragged both Matlab windows to my main monitor rather than leaving them on the secondary monitor as Sean suggested (by the way I am using MultiMon taskbar on my secondary monitor)
Cheers,
Nathan McNutt
Nathan McNutt 2016-5-7
I restarted my MATLAB program and closed command prompt which was running in the background. Now my problem is fixed! Thanks so much

请先登录,再进行评论。

更多回答(1 个)

fatemeh haghighi
fatemeh haghighi 2019-7-29
I have the same problem,
The error is only about some sheets of excel and not all of them.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by