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.
Build 200702111900,JDK1.6 1)Start IDE with new userdir 2)Add Grassfish v1 3)Create JAVAEE5 EJB module on Glassfissh 4)Create new WS ERROR: NPE form JAX-RPC??? and no WS is created (but ws node in Project tabs yes) Attaching messages.log with exception.
Created attachment 38361 [details] messages.log
I'll fix this. Please next time attach log wih tex/plain mimetype.
This issue is caused by missing merged metadata model (org.netbeans.modules.j2ee.common.Util.isJavaEE5orHigher(Project project) returns false for JavaEE 5 ejb module project). The fix for M7 will be to lower the level of the exception (to INFO or sth like that)
NPE fixed + some warning is logged. The wizard as whole is still broken because of missing annotation model. http://www.netbeans.org/source/browse/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarWebServicesSupport.java?r1=1.33&r2=1.34 http://www.netbeans.org/source/browse/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/Bundle.properties?r1=1.23&r2=1.24
Warning is logged that is sufficient fix for M7.
since NPE is fixed downgrading to P2
*** Issue 98569 has been marked as a duplicate of this issue. ***
Is there any work around to create a new web service and add an operation to the web service ?
To not use the wizard => create new java class, type everything manually (@WebService and some method) and deploy the project.
Fixed temporarly. JAX WS service is generated when webservices.xml is missing. Diff: http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/dev/wizard/JaxWsServiceCreatorProvider.java?r1=1.2&r2=1.3
Verified the bug is fixed in Hula build daily-200703280800.