Bug 672 : unable to quit if sketch crashes after compile
Last modified: 2007-11-07 05:25




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
kontrol
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2007-11-02 13:28
0133, osx 10.4, macbook

if a sketch crashes after it has been run, like ArrayIndexOutOfBouds
errors, afterwards everytime one tries to quit processing just spits out a
huge error and forces you to force quit to quit processing.
Additional Comment #1 From fry 2007-11-02 14:38
*** Bug 673 has been marked as a duplicate of this bug. ***
Additional Comment #2 From fry 2007-11-02 14:39
please post the text printed to the console when you try to quit.
Additional Comment #3 From kontrol 2007-11-03 00:36
its wierd now it doesnt happen to me.
but i found this in the console.app

code:

apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.storeSketches(Base.java:298)
at processing.app.Base.handleQuit(Base.java:798)
at processing.app.BaseMacOS.handleQuit(BaseMacOS.java:99)
at com.apple.eawt.Application$6.run(Application.java:396)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Additional Comment #4 From fry 2007-11-06 16:08
well, keep an eye out to see if it happens again...i can't fix it if it
can't be reproduced.

the error that you're seeing looks like a window was closed out of order
(somehow).. perhaps you even hit "quit" twice quickly or something like that?
Additional Comment #5 From kontrol 2007-11-07 01:45
i see. the behavior of trying to quit was equal to
http://dev.processing.org/bugs/show_bug.cgi?id=658. i tried to quit a lot
of times and every time, this error was written in the console.
Additional Comment #6 From fry 2007-11-07 05:19
if you have exact steps for getting it to reproduce, so i can try to fix
it, please post them. otherwise i cannot help.
Additional Comment #7 From kontrol 2007-11-07 05:25
okay. I will write if it comes up. thanks