We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
had an error (Read 1394 times)
had an error
Apr 3rd, 2010, 12:23pm
 

I had an error:      Wink

I tried to load windows open-dialog :


Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
     at java.awt.EventQueue.invokeAndWait(EventQueue.java:980)
     at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
     at processing.core.PApplet.selectFileImpl(PApplet.java:3799)
     at processing.core.PApplet.selectOutput(PApplet.java:3791)
     at TicTacToe_4.SaveFile(TicTacToe_4.java:968)
     at TicTacToe_4.CheckButtonsOfArray(TicTacToe_4.java:658)
     at TicTacToe_4.mouseReleased(TicTacToe_4.java:609)
     at processing.core.PApplet.handleMouseEvent(PApplet.java:1611)
     at processing.core.PApplet.checkMouseEvent(PApplet.java:1641)
     at processing.core.PApplet.mouseReleased(PApplet.java:1656)
     at java.awt.Component.processMouseEvent(Component.java:6263)
     at java.awt.Component.processEvent(Component.java:6028)
     at java.awt.Container.processEvent(Container.java:2041)
     at java.awt.Component.dispatchEventImpl(Component.java:4630)
     at java.awt.Container.dispatchEventImpl(Container.java:2099)
     at java.awt.Component.dispatchEvent(Component.java:4460)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269
)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174
)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
     at java.awt.EventQueue.invokeAndWait(EventQueue.java:980)
     at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
     at processing.core.PApplet.selectFileImpl(PApplet.java:3799)
     at processing.core.PApplet.selectOutput(PApplet.java:3791)
     at TicTacToe_4.SaveFile(TicTacToe_4.java:968)
     at TicTacToe_4.CheckButtonsOfArray(TicTacToe_4.java:658)
     at TicTacToe_4.mouseReleased(TicTacToe_4.java:609)
     at processing.core.PApplet.handleMouseEvent(PApplet.java:1611)
     at processing.core.PApplet.checkMouseEvent(PApplet.java:1641)
     at processing.core.PApplet.mouseReleased(PApplet.java:1656)
     at java.awt.Component.processMouseEvent(Component.java:6263)
     at java.awt.Component.processEvent(Component.java:6028)
     at java.awt.Container.processEvent(Container.java:2041)
     at java.awt.Component.dispatchEventImpl(Component.java:4630)
     at java.awt.Container.dispatchEventImpl(Container.java:2099)
     at java.awt.Component.dispatchEvent(Component.java:4460)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269
)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174
)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)



Re: had an error
Reply #1 - Apr 4th, 2010, 1:33am
 
This Topic was moved here from Software Bugs by PhiLho.

Again: read the stickies of the Software Bugs section - don't post there! Even less when the bug is in your code (which you don't show...).
Page Index Toggle Pages: 1