[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-3645) JPAMapTool causes NPE's

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Jan 27 09:09:47 EST 2009


JPAMapTool causes NPE's
-----------------------

                 Key: JBIDE-3645
                 URL: https://jira.jboss.org/jira/browse/JBIDE-3645
             Project: Tools (JBoss Tools)
          Issue Type: Bug
    Affects Versions: 3.0.0.CR2
            Reporter: Max Rydahl Andersen
            Assignee: Vitali Yemialyanchyk
            Priority: Critical
             Fix For: 3.0.0.GA


I got the following when I closed all perspectives - then I can't do anything afterwards. Any menu action result in nothing besides a new log entry.

!ENTRY org.eclipse.ui 4 0 2009-01-27 15:06:30.180
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
	at org.hibernate.eclipse.jdt.ui.internal.jpa.actions.JPAMapToolActionDelegate.isCUSelected(JPAMapToolActionDelegate.java:72)
	at org.hibernate.eclipse.jdt.ui.internal.jpa.actions.JPAMapToolActionDelegate.setEnabled(JPAMapToolActionDelegate.java:80)
	at org.eclipse.ui.internal.handlers.HandlerProxy.setEnabled(HandlerProxy.java:220)
	at org.eclipse.core.commands.Command.setEnabled(Command.java:857)
	at org.eclipse.ui.menus.CommandContributionItem.isEnabled(CommandContributionItem.java:750)
	at org.eclipse.ui.menus.CommandContributionItem.update(CommandContributionItem.java:486)
	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:870)
	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:870)
	at org.eclipse.ui.internal.Workbench.updateActiveWorkbenchWindowMenuManager(Workbench.java:3020)
	at org.eclipse.ui.internal.Workbench.access$0(Workbench.java:2980)
	at org.eclipse.ui.internal.Workbench$2.bindingManagerChanged(Workbench.java:2966)
	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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list