This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 148677

Summary: NPE if designer closed before initialization is complete
Product: javame Reporter: _ tboudreau <tboudreau>
Component: Visual DesignerAssignee: _ tboudreau <tboudreau>
Severity: blocker CC: kharezlak
Priority: P3 Keywords: SIMPLEFIX
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ tboudreau 2008-09-29 20:40:10 UTC
Create a new mobility project with a sample midlet.  Shut down NetBeans.  Restart it.  Click the close button on
HelloMidlet's editor tab before the UI has initialized.  The following exception is thrown (it helps to have a slow 1GB

        at java.awt.Container.addImpl(
        at java.awt.Container.add(
        at org.netbeans.modules.vmd.inspector.InspectorManagerView$
        at java.awt.event.InvocationEvent.dispatch(
        at java.awt.EventQueue.dispatchEvent(
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.j
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
        at java.awt.EventDispatchThread.pumpEvents(

        at java.awt.EventDispatchThread.pumpEvents(

Comment 1 _ tboudreau 2008-09-30 17:45:55 UTC
2 line fix;  taking this issue.
Comment 2 _ tboudreau 2008-09-30 17:51:08 UTC
Comment 3 Karol Harezlak 2008-10-29 11:05:38 UTC
*** Issue 150193 has been marked as a duplicate of this issue. ***
Comment 4 Karol Harezlak 2008-10-29 11:06:01 UTC
*** Issue 150193 has been marked as a duplicate of this issue. ***