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 9001 - NP exception when switching workspaces.
Summary: NP exception when switching workspaces.
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 normal (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-02 16:33 UTC by Milos Kleint
Modified: 2008-12-23 11:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2001-01-02 16:33:45 UTC
Here's a stacktrace of an exception I got when changing workspaces from GUI to
Editing. I was not able to reproduce it later. Visually the Explorer and
SourceExitor were blank, with a question mark at the Title of the windows.

(I worked with FFJ20 Build 1160)

Tue Jan 02 17:26:38 GMT+01:00 2001java.lang.NullPointerException: null
java.lang.NullPointerException
        at java.awt.Container.addImpl(Container.java:341)
        at java.awt.Container.add(Container.java:228)
        at
org.netbeans.core.windows.MultiTabContainer.setVisible(MultiTabContainer.java:44
6)
        at org.netbeans.core.windows.ModeImpl.setVisible(ModeImpl.java:472)
        at
org.netbeans.core.windows.WorkspaceImpl.setVisible(WorkspaceImpl.java:418)
        at
org.netbeans.core.windows.WindowManagerImpl.setCurrentWorkspace(WindowManagerImp
l.java:315)
        at
org.netbeans.core.WorkspaceSwitcher$2.propertyChange(WorkspaceSwitcher.java:107)
        at org.netbeans.core.awt.TabControl.fireIndexChange(TabControl.java:689)
        at
org.netbeans.core.awt.TabControl.setSelectedIndex(TabControl.java:166)
        at
org.netbeans.core.awt.TabControl.processMouseEvent(TabControl.java:648)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2210)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
        at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 David Simonek 2001-01-23 10:14:59 UTC
BUG also appears in version : FFJ20
Comment 2 Quality Engineering 2003-07-01 15:56:05 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 3 Quality Engineering 2003-07-01 16:19:56 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.