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 41690 - [bookmarks] NPE thrown when launching NB3.6 RC2 with bookmarks module enabled
Summary: [bookmarks] NPE thrown when launching NB3.6 RC2 with bookmarks module enabled
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Other Unix
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-04 20:09 UTC by malakim
Modified: 2008-03-25 22:00 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 malakim 2004-04-04 20:09:00 UTC
I get this NPE on my FreeBSD 5.2 box when
launching NB3.6 RC2 with the bookmarks module
enabled:  
java.lang.NullPointerException
    at
org.netbeans.core.windows.actions.ToolbarsListAction.getMenuPresenter(ToolbarsListAction.java:56)
    at
org.openide.awt.MenuBar$LazyMenu$MenuFolder.createInstance(MenuBar.java:445)
    at
org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:704)
    at
org.openide.loaders.FolderInstance.access$000(FolderInstance.java:68)
    at
org.openide.loaders.FolderInstance$2.run(FolderInstance.java:591)
    at org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.awt.AWTTask.run(AWTTask.java:29)
    at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at
java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 David Strupl 2004-04-05 16:16:20 UTC
That's mine ;-) Sorry for the subcomponent but I have not decided yet
whether I will fix it in core/windows or elsewhere. And the exception
is coming from there. But the exception does not occcur in the
standard config so you don't need to bother.
Comment 2 Jesse Glick 2004-08-17 04:30:33 UTC
Is this issue still valid? P3?
Comment 3 David Strupl 2004-08-17 11:03:42 UTC
You are right - trying to put the issue under contrib ...
Comment 4 David Strupl 2005-11-18 10:09:01 UTC
IDE: [11/18/05 11:07 AM] Committing "ToolbarsListAction.java" started
Checking in ToolbarsListAction.java;
/cvs/core/windows/src/org/netbeans/core/windows/actions/ToolbarsListAction.java,v
 <--  ToolbarsListAction.java
new revision: 1.6; previous revision: 1.5
done