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 160130

Summary: AssertionError: Got null return from getMenuPresenter in org.netbeans.modules.editor.MainMenuAction$PasteFormattedAction@fa3f1b
Product: editor Reporter: Vince Kraemer <vkraemer>
Component: -- Other --Assignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: qingyue, tboudreau
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=146471
Issue Type: DEFECT Exception Reporter: 146471
Attachments: stacktrace
stacktrace

Description Vince Kraemer 2009-03-11 20:04:23 UTC
Build: NetBeans IDE Dev (Build 090311)
VM: Java HotSpot(TM) Client VM, 1.5.0_07-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_07-b03
OS: SunOS, 5.10, x86

User Comments:
GUEST: Creating the UML sample project

GUEST: restarting netbeans after installation of subversion for windows

GUEST: installed the full version of netbeans, then noticed I need sftp support.

download the dev version

said yes to importing my settings, however I had not created any settings yet..

then got the error.

Running windows 7 beta

GUEST: Quit NetBeans



Stacktrace: 
java.lang.AssertionError: Got null return from getMenuPresenter in org.netbeans.modules.editor.MainMenuAction$PasteFormattedAction@fa3f1b
        at org.netbeans.modules.editor.MainMenuAction.setMenu(MainMenuAction.java:198)
        at org.netbeans.modules.editor.MainMenuAction.resultChanged(MainMenuAction.java:112)
        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:333)
Comment 1 Vince Kraemer 2009-03-11 20:04:32 UTC
Created attachment 78072 [details]
stacktrace
Comment 2 _ tboudreau 2009-03-13 18:38:26 UTC
Build: NetBeans IDE Dev (Build 090312)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 
Occurred on starting NetBeans when running a NetBeans Module project (javacard)

Stacktrace: 
java.lang.AssertionError: Got null return from getMenuPresenter in org.netbeans.modules.editor.MainMenuAction$PasteFormattedAction@1fa980b
        at org.netbeans.modules.editor.MainMenuAction.setMenu(MainMenuAction.java:198)
        at org.netbeans.modules.editor.MainMenuAction.resultChanged(MainMenuAction.java:112)
        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 3 _ tboudreau 2009-03-13 18:38:30 UTC
Created attachment 78162 [details]
stacktrace
Comment 4 Exceptions Reporter 2009-03-14 16:08:56 UTC
This issue has already 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146471
Comment 5 Jiri Prox 2009-03-16 18:14:46 UTC

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