Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363630 - NPE at org.eclipse.swt.widgets.MenuItem.getAccelGroup(MenuItem.java:316)
Summary: NPE at org.eclipse.swt.widgets.MenuItem.getAccelGroup(MenuItem.java:316)
Status: CLOSED DUPLICATE of bug 348205
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 18:33 EST by Abram Catalano CLA
Modified: 2011-11-14 08:10 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abram Catalano CLA 2011-11-11 18:33:20 EST
Build Identifier: 

this NPE froze my eclipse and I had to kill it to proceed.

java.lang.NullPointerException
        at org.eclipse.swt.widgets.MenuItem.getAccelGroup(MenuItem.java:316)
        at org.eclipse.swt.widgets.MenuItem.setEnabled(MenuItem.java:657)
        at org.eclipse.ui.menus.CommandContributionItem.updateMenuItem(CommandContributionItem.java:631)
        at org.eclipse.ui.menus.CommandContributionItem.update(CommandContributionItem.java:580)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:880)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:880)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:880)
        at org.eclipse.ui.internal.Workbench.updateActiveWorkbenchWindowMenuManager(Workbench.java:3337)
        at org.eclipse.ui.internal.Workbench.access$0(Workbench.java:3299)
        at org.eclipse.ui.internal.Workbench$2.bindingManagerChanged(Workbench.java:3285)
        at org.eclipse.jface.bindings.BindingManager.fireBindingManagerChanged(BindingManager.java:900)
        at org.eclipse.jface.bindings.BindingManager.setActiveBindings(BindingManager.java:2176)
        at org.eclipse.jface.bindings.BindingManager.recomputeBindings(BindingManager.java:1742)
        at org.eclipse.jface.bindings.BindingManager.contextManagerChanged(BindingManager.java:689)
        at org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(ContextManager.java:165)
        at org.eclipse.core.commands.contexts.ContextManager.setEventCaching(ContextManager.java:324)
        at org.eclipse.core.commands.contexts.ContextManager.deferUpdates(ContextManager.java:83)
        at org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged(ContextAuthority.java:673)
        at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:310)
        at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
        at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
        at org.eclipse.ui.internal.services.WorkbenchSourceProvider.access$14(WorkbenchSourceProvider.java:1)
        at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:772)


Reproducible: Couldn't Reproduce
Comment 1 Paul Webster CLA 2011-11-14 07:43:12 EST
Were you in 3.7 or 4.2?  What specific build (on the Help>About dialog)?

What were you doing when it froze?  Editing files?  Using an internal web browser?  Were you in Gnome, or on vnc?

What was the full stack trace?  Was there anything else in your log file?

PW
Comment 2 Remy Suen CLA 2011-11-14 08:07:27 EST
Looks like a duplicate of bug 348205.
Comment 3 Paul Webster CLA 2011-11-14 08:10:23 EST

*** This bug has been marked as a duplicate of bug 348205 ***