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.
-create ws from wsdl (eg. in web project) from attached wsdl -after finishing the wizard and files generation I see some exceptions in messages.log -one of them: java.lang.NullPointerException at org.netbeans.modules.javacore.ExclusiveMutex.addBFeatureToInitQueue(ExclusiveMutex.java:470) at org.netbeans.modules.javacore.jmiimpl.javamodel.AttributeValueImpl.initChildren(AttributeValueImpl.java:152) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.setElementInfo(SemiPersistentElement.java:146) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.createChildrenList(SemiPersistentElement.java:937) at org.netbeans.modules.javacore.jmiimpl.javamodel.AnnotationImpl.initChildren(AnnotationImpl.java:298) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.setElementInfo(SemiPersistentElement.java:146) ... is shown to the user filed as P2 because 12 exceptions in log after one action in the IDE is really not good
Created attachment 31456 [details] sample wsdl
Created attachment 31457 [details] sample wsdl
Created attachment 31458 [details] all exceptions from the log
Fixed. /cvs/websvc/jaxwsmodel/src/org/netbeans/modules/websvc/jaxwsmodel/project/metadata/Attic/JAXWSNNListener.java,v <-- JAXWSNNListener.java new revision: 1.1.2.18; previous revision: 1.1.2.17
Please rollback your last change in JAXWSNNlistener (1.1.2.18 -> 1.1.2.17) because it is causing that ws from wsdl is not visible in project logical view (no ws node related actions are available for this kind of ws => P1). I've just tested this rollback in release55 branch and it is working correctly and original issue (exceptions in log) is fixed too, so it becomes fixed by some other changes then by changing JAXWSNNListener. Do not forget to commit it also to release55_beta2 branch as it was tested and verified in release55 branch (see paragraph above). Thanks.
Which project type? Can you provide your wsdl? Any other conditions? I tried it with EJB and Web modules anf it is working for me.
Btw. this issues was not fixed in release55_beta2 branch.
-ejb module, web module, Java EE 5 spec level -used wsdl attached in this issue MyWebService.wsdl -I'm also attaching screenshot of the IDE, where you can see two websvcs generated from used wsdl, one in web, other in ejb module, but I don't see there any web services node under webmodule nor ejb module, reopening projects nor restart of the IDE (nor whole box) does not help
Created attachment 31938 [details] Screenshot
Just few more things which might be important: -running Gentoo on amd64, JDK 1.5.0_07-b03 64bit -jax-ws.xml file is empty -node is created when the ws generation starts, but disappears when the process of ws generation finishes
Adding JDK_SPECIFIC keyword as I'm not able to reproduce this on 32bit JDK (on win), so probably something 64bit JDK related :(
It is reproducible in beta where this fix is not present and also in release55 branch where fix is present, so it looks like different problem. I'll look at this ASAP. Decreasing to P2.
It is not reproducible now (also on reporter's machine). Closing.
VERIFIED