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 78902

Summary: NPE from CallEjbAction
Product: javaee Reporter: Jan Horvath <jhorvath>
Component: EJBAssignee: Martin Adamek <madamek>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: NPE

Description Jan Horvath 2006-06-22 14:47:23 UTC
build 200606200200

-create Java Application 
-create some java class
-edit java class and invoke contextual menu
-EXCEPTION: java.lang.NullPointerException
	at
org.netbeans.modules.j2ee.ejbcore.ui.logicalview.entres.CallEjbAction.enable(CallEjbAction.java:71)
	at
org.netbeans.modules.j2ee.ejbcore.ui.logicalview.entres.CallEjbAction.createContextAwareInstance(CallEjbAction.java:94)
	at
org.netbeans.modules.j2ee.ejbcore.ui.logicalview.entres.EnterpriseRefActionGroup$LazyMenu.getPopupMenu
Comment 1 Jan Horvath 2006-06-22 14:47:57 UTC
Created attachment 31314 [details]
NPE
Comment 2 Martin Adamek 2006-07-27 13:55:30 UTC
Fixed. I wasn't able to reproduce, so this is blind fix.
/cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/entres/CallEjbAction.java,v
 <--  CallEjbAction.java
new revision: 1.2.2.2.2.2; previous revision: 1.2.2.2.2.1