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 17002 - NPE: org.openide.util.actions.NodeAction$.NodesL.propertyChange()
Summary: NPE: org.openide.util.actions.NodeAction$.NodesL.propertyChange()
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
: 16941 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-26 06:26 UTC by _ gtzabari
Modified: 2008-12-22 21:43 UTC (History)
0 users

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 _ gtzabari 2001-10-26 06:26:26 UTC
dev build 200110250100
IBM JDK 1.3.1

   This issue is caused by some change commited over the past week; it is quite recent. I have been unable to track down exact repro steps but basically you play 
around with Netbeans until suddenly you get into this state whereby no matter what you do, Netbeans *always* throws the following exception:

Fri Oct 26 01:26:27 EDT 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
        at org.openide.util.actions.NodeAction$NodesL.propertyChange(NodeAction.java:203)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:158)
        at org.netbeans.core.windows.RegistryImpl.tryFireChanges(RegistryImpl.java:310)
        at org.netbeans.core.windows.RegistryImpl.stateChanged(RegistryImpl.java:275)
        at org.netbeans.core.windows.StateManager.fireStateChanged(StateManager.java:117)
        at org.netbeans.core.windows.StateManager.setMainState(StateManager.java:133)
        at org.netbeans.core.windows.WindowManagerImpl.setCurrentWorkspace(WindowManagerImpl.java:440)
        at org.netbeans.core.windows.WorkspaceImpl.activate(WorkspaceImpl.java:410)
        at org.netbeans.core.windows.WorkspaceSwitcher$PoolListener.propertyChange(WorkspaceSwitcher.java:134)
        at org.netbeans.core.awt.TabControl.fireIndexChange(TabControl.java:830)
        at org.netbeans.core.awt.TabControl.setSelectedIndex(TabControl.java:189)
        at org.netbeans.core.awt.TabControl.processMouseEvent(TabControl.java:787)
        at java.awt.Component.processEvent(Component.java:3600)
        at java.awt.Container.processEvent(Container.java:1173)
        at java.awt.Component.dispatchEventImpl(Component.java:2649)
        at java.awt.Container.dispatchEventImpl(Container.java:1222)
        at java.awt.Component.dispatchEvent(Component.java:2553)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2465)
[catch] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2224)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2139)
        at java.awt.Container.dispatchEventImpl(Container.java:1209)
        at java.awt.Window.dispatchEventImpl(Window.java:923)
        at java.awt.Component.dispatchEvent(Component.java:2553)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:401)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:109)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:99)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Comment 1 David Strupl 2001-10-26 08:55:27 UTC
Fixed in NodeAction 1.27.
Comment 2 Jan Zajicek 2001-10-26 11:15:55 UTC
*** Issue 16941 has been marked as a duplicate of this issue. ***
Comment 3 Jan Zajicek 2001-10-26 11:20:00 UTC
Marking as P2 only because the beta2 - it occurs in build 20011026.
And because closing P2 as duplicate of this one.

Also please check issues before filling new one mainly in similar
cases when some very visible bug occurs. There was filled the same
issue, but P2, before ;-)
Comment 4 Jan Pichert 2001-10-26 13:00:41 UTC
This is a serious issue that has happend to many people several times.
A patch for beta is a must, because of the serious implications. It is
not  acceptible to have this bug in beta aspecially because a fix
already exists. Rasing to P1
Comment 5 David Strupl 2001-10-29 14:01:58 UTC
Merged into release33_beta2 branch.
Comment 6 Marian Mirilovic 2001-11-17 12:32:42 UTC
OS/platform independent

I try to reproduce issue 16941 and NPE didn't arise.
This is the reason change state to VERIFIED.


verified in [nb_dev](20011116)
Comment 7 Quality Engineering 2003-07-01 16:17:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.