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 91993 - NPE when adding method in EB
Summary: NPE when adding method in EB
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: martin_adamek
URL:
Keywords: REGRESSION
: 92083 92086 (view as bug list)
Depends on: 95534
Blocks:
  Show dependency tree
 
Reported: 2007-01-08 10:32 UTC by Michal Mocnak
Modified: 2007-07-17 09:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (3.67 KB, text/plain)
2007-01-08 10:32 UTC, Michal Mocnak
Details
patch (48.62 KB, text/plain)
2007-01-09 12:07 UTC, Michal Mocnak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Mocnak 2007-01-08 10:32:01 UTC
Found in daily build #200701071900

1. start nb
2. add any application server (i use jboss)
3. create ejb module (J2EE 1.4)
4. create a session bean
5. add a business method

=> method is not created and exception is thrown !!
Comment 1 Michal Mocnak 2007-01-08 10:32:15 UTC
Created attachment 37131 [details]
exception
Comment 2 Michal Mocnak 2007-01-08 10:47:56 UTC
Also there is a problem with add business method from Java EE 5 EJB project. I
have right clicked in editor and exception had been thrown !!
Comment 3 Michal Mocnak 2007-01-09 12:07:41 UTC
Created attachment 37172 [details]
patch
Comment 4 Michal Mocnak 2007-01-09 12:08:58 UTC
Gosh ;) Sorry patch is for issue 91991 ;)
Comment 5 Martin Adamek 2007-01-09 12:12:06 UTC
*** Issue 92083 has been marked as a duplicate of this issue. ***
Comment 7 Martin Adamek 2007-01-09 12:14:22 UTC
*** Issue 92086 has been marked as a duplicate of this issue. ***
Comment 8 Martin Adamek 2007-01-09 12:25:56 UTC
EJB action group is disabled (actions are not migrated to Retouche yet)
http://www.netbeans.org/source/browse/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/ejb/action/EJBActionGroup.java?r1=1.12&r2=1.13
All mentioned exceptions are fixed, this issue should now track only status of
Retouche migration of Add business method action.
Comment 9 Martin Adamek 2007-02-12 07:23:14 UTC
Add business method should work now in Java EE 1.4, but not in Java EE 5, see
blocker umbrella issue 95192.
Comment 10 Jaroslav Pospisil 2007-05-18 16:18:33 UTC
Build 200705161800,JDK1.6.0_02

Add Bussiness method already works, but I get this NPE when adding Finder and
Select method.
Comment 12 Michal Mocnak 2007-07-17 09:44:12 UTC
Verified