Menu

Null Pointer Spew

Developers
2002-06-04
2002-06-04
  • Kyle Girard

    Kyle Girard - 2002-06-04

    I'm getting the following spew whenever I move the main editor window anyelse getting the same thing?

         [java] Exception occurred during event dispatching:
         [java] java.lang.NullPointerException
         [java]     at java.awt.Container.createChildHierarchyEvents(Container.java:638)
         [java]     at java.awt.Container.dispatchEventImpl(Container.java:1220)
         [java]     at java.awt.Window.dispatchEventImpl(Window.java:914)
         [java]     at java.awt.Component.dispatchEvent(Component.java:2497)
         [java]     at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
         [java]     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         [java]     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         [java]     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         [java]     at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

     
    • Timothy Wall

      Timothy Wall - 2002-06-04

      This is a bug in Sun's 1.3 java.awt code.  They say it's fixed in 1.4.

      You may note there's a catch for it in ScriptEditor.quit, although it looks like you're getting it on a window auto-close.  There might be a workaround by listening to the right window events and frobbing the hierarchy stuff, but unless it actually screws up the GUI, it's probably not worth the effort.

       

Log in to post a comment.