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 - Invoke 'Edit WS attributes' for WS in EJB Module throws NPE
Summary: Invoke 'Edit WS attributes' for WS in EJB Module throws NPE
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on: 100284
Blocks:
  Show dependency tree
 
Reported: 2007-04-06 13:55 UTC by Andrey Yamkovoy
Modified: 2007-04-10 13:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stack trace (2.68 KB, text/plain)
2007-04-06 13:55 UTC, Andrey Yamkovoy
Details

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