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 - New CMP Entity from DB does not work for EJB FreeForm project
Summary: New CMP Entity from DB does not work for EJB FreeForm project
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: EJB Freeform (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-20 10:14 UTC by Martin Schovanek
Modified: 2006-08-03 17:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The NPE (6.45 KB, text/plain)
2006-07-20 10:17 UTC, Martin Schovanek
Details

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