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 - NPE from CallEjbAction
Summary: NPE from CallEjbAction
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-06-22 14:47 UTC by Jan Horvath
Modified: 2006-07-27 13:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (1.79 KB, text/plain)
2006-06-22 14:47 UTC, Jan Horvath
Details

Note You need to log in before you can comment on or make changes to this bug.
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