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

Summary: Can't open EJB project
Product: serverplugins Reporter: Michal Mocnak <mmocnak>
Component: JBossAssignee: Libor Kotouc <lkotouc>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 91682    
Attachments: exception
NPE when create EJB in EAR
patch

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. ***