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 100215

Summary: Invoke 'Edit WS attributes' for WS in EJB Module throws NPE
Product: serverplugins Reporter: Andrey Yamkovoy <kaktus>
Component: IdentityAssignee: Peter Liu <petertliu>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 100284    
Bug Blocks:    
Attachments: exception stack trace

Description Andrey Yamkovoy 2007-04-06 13:55:04 UTC
Steps to reproduce:
- Create EJB Module project.
- Add WS to this module.
- Invoke 'Edit WS attributes' of this WS.
- NPE occurs (see attached stacktrace).
Comment 1 Andrey Yamkovoy 2007-04-06 13:55:28 UTC
Created attachment 40548 [details]
exception stack trace
Comment 2 Peter Liu 2007-04-06 18:06:10 UTC
It looks like sun-ejb-jar.xml didn't get created.  Need to implement a
workaround for this.

Comment 3 Peter Liu 2007-04-06 18:10:13 UTC
To work around this problem, manually create the sun-ejb-jar.xml in the src/conf
directory with the following xml document:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server
9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
<sun-ejb-jar>
  <enterprise-beans/>
</sun-ejb-jar>
Comment 4 Peter Liu 2007-04-10 02:47:11 UTC
This issue is resolved in the identity module by creating the sun dd if it does
not exist.
Comment 5 Andrey Yamkovoy 2007-04-10 13:35:13 UTC
Fix verified.