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 162444 - NullPointerException at org.netbeans.modules.editor.MainMenuAction$ShowLineNumbersAction.setMenu
Summary: NullPointerException at org.netbeans.modules.editor.MainMenuAction$ShowLineNu...
Status: RESOLVED DUPLICATE of bug 160273
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-11 09:00 UTC by jenimed
Modified: 2009-04-20 13:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149329


Attachments
stacktrace (1.68 KB, text/plain)
2009-04-11 09:00 UTC, jenimed
Details
stacktrace (1.36 KB, text/plain)
2009-04-13 18:29 UTC, jag
Details
stacktrace (4.52 KB, text/plain)
2009-04-13 18:30 UTC, jag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jenimed 2009-04-11 09:00:50 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments:
GUEST: After update some plugins 03/25/2009, the errors above appears.

compucoder: OMG!!!! This is nuts - so unstable!

jenimed: java.lang.NullPointerException
	at org.netbeans.modules.editor.MainMenuAction$ShowLineNumbersAction.setMenu(MainMenuAction.java:321)
	at org.netbeans.modules.editor.MainMenuAction.resultChanged(MainMenuAction.java:105)
	at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:111)
	at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:152)
	at org.netbeans.modules.openide.windows.GlobalActionContextImpl.propertyChange(GlobalActionContextImpl.java:134)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at org.netbeans.core.windows.RegistryImpl.doFirePropertyChange(RegistryImpl.java:316)
	at org.netbeans.core.windows.RegistryImpl.access$000(RegistryImpl.java:64)
[catch] at org.netbeans.core.windows.RegistryImpl$1.run(RegistryImpl.java:168)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt

GUEST: Opening and closing files

GUEST: tried to "show my issues" this also occurred while clicking the "view data" button

GUEST: output window

GUEST: closing "your netbeans issues" window!



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.MainMenuAction$ShowLineNumbersAction.setMenu(MainMenuAction.java:321)
        at org.netbeans.modules.editor.MainMenuAction.resultChanged(MainMenuAction.java:105)
        at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:111)
        at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:152)
        at org.netbeans.modules.openide.windows.GlobalActionContextImpl.propertyChange(GlobalActionContextImpl.java:134)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Comment 1 jenimed 2009-04-11 09:00:58 UTC
Created attachment 79927 [details]
stacktrace
Comment 2 jag 2009-04-13 18:28:51 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: SunOS, 5.11, x86

User Comments: 
Opening file

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.MainMenuAction$ShowLineNumbersAction.setMenu(MainMenuAction.java:321)
        at org.netbeans.modules.editor.MainMenuAction.resultChanged(MainMenuAction.java:105)
        at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:111)
        at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:152)
        at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMapImpl(GlobalActionContextImpl.java:106)
        at org.netbeans.modules.openide.windows.GlobalActionContextImpl$1.run(GlobalActionContextImpl.java:81)
Comment 3 jag 2009-04-13 18:29:00 UTC
Created attachment 79996 [details]
stacktrace
Comment 4 jag 2009-04-13 18:29:52 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: SunOS, 5.11, x86

User Comments: 
Running app

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.MainMenuAction$ShowLineNumbersAction.setMenu(MainMenuAction.java:321)
        at org.netbeans.modules.editor.MainMenuAction.resultChanged(MainMenuAction.java:105)
        at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:111)
        at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:152)
        at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMapImpl(GlobalActionContextImpl.java:106)
        at org.netbeans.modules.openide.windows.GlobalActionContextImpl.blickActionMap(GlobalActionContextImpl.java:77)
Comment 5 jag 2009-04-13 18:30:10 UTC
Created attachment 79997 [details]
stacktrace
Comment 6 jag 2009-04-13 23:03:17 UTC
These errors all happened on the first invocation of M3.  After a shutdown/restart of netbeans, all is well.
Comment 7 Vitezslav Stejskal 2009-04-20 13:09:49 UTC
Should already be fixed. Please use newer build. Thanks

*** This issue has been marked as a duplicate of 160273 ***