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 80701

Summary: New CMP Entity from DB does not work for EJB FreeForm project
Product: obsolete Reporter: Martin Schovanek <mschovanek>
Component: EJB FreeformAssignee: Andrei Badea <abadea>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: The NPE

Description Martin Schovanek 2006-07-20 10:14:39 UTC
[#200607190000, jdk1.5.0]

to reproduce:
-------------
1) open a EJB FreeForm project
2) invoke New CMP Entity from DB wizard
ERROR: Nb throws NPE.
Comment 1 Martin Schovanek 2006-07-20 10:17:43 UTC
Created attachment 32035 [details]
The NPE
Comment 2 Andrei Badea 2006-07-21 15:57:59 UTC
Caused by the freeform project not having a target server instance.
Comment 3 Andrei Badea 2006-07-26 12:55:08 UTC
Fixed by not offering this wizard in the EJB freeform.

Checking in src/org/netbeans/modules/j2ee/ejbfreeform/EJBProjectNature.java;
/cvs/j2ee/ejbfreeform/src/org/netbeans/modules/j2ee/ejbfreeform/EJBProjectNature.java,v
 <--  EJBProjectNature.java
new revision: 1.15.2.3.2.5; previous revision: 1.15.2.3.2.4
done
Comment 4 Martin Schovanek 2006-08-03 17:37:42 UTC
v.