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 91991 - Can't open EJB project
Summary: Can't open EJB project
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
: 88537 (view as bug list)
Depends on:
Blocks: 91682
  Show dependency tree
 
Reported: 2007-01-08 10:26 UTC by Michal Mocnak
Modified: 2007-01-11 08:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (804 bytes, text/plain)
2007-01-08 10:26 UTC, Michal Mocnak
Details
NPE when create EJB in EAR (1.28 KB, text/plain)
2007-01-08 14:49 UTC, Michal Mocnak
Details
patch (48.62 KB, text/plain)
2007-01-09 12:11 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:26:17 UTC
Found in daily build #200701071900

1. start nb
2. add jboss application server with ejb3 support
3. create an EJB project (Java EE 5)

=> project is not created and exception is thrown !
Comment 1 Michal Mocnak 2007-01-08 10:26:54 UTC
Created attachment 37130 [details]
exception
Comment 2 Petr Blaha 2007-01-08 14:26:19 UTC
The bug is M6 stopper.
Comment 3 Michal Mocnak 2007-01-08 14:49:12 UTC
Created attachment 37143 [details]
NPE when create EJB in EAR
Comment 4 Michal Mocnak 2007-01-09 12:06:44 UTC
I made a simple patch for. Problem is that DeployableObject returns null instead
of dd.
Comment 5 Michal Mocnak 2007-01-09 12:11:12 UTC
Created attachment 37173 [details]
patch
Comment 6 Libor Kotouc 2007-01-10 09:56:39 UTC
Fixed.

Checking in CarDeploymentConfiguration.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/config/CarDeploymentConfiguration.java,v
 <--  CarDeploymentConfiguration.java
new revision: 1.3; previous revision: 1.2
done
Checking in EjbDeploymentConfiguration.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/config/EjbDeploymentConfiguration.java,v
 <--  EjbDeploymentConfiguration.java
new revision: 1.5; previous revision: 1.4
done
Comment 7 Michal Mocnak 2007-01-11 08:42:30 UTC
Verified
Comment 8 Libor Kotouc 2007-01-11 08:44:44 UTC
*** Issue 88537 has been marked as a duplicate of this issue. ***