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 79328 - A lot of exeptions after creating ws from wsdl
Summary: A lot of exeptions after creating ws from wsdl
Status: VERIFIED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Martin Adamek
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2006-06-28 12:51 UTC by Lukas Jungmann
Modified: 2006-10-09 14:21 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample wsdl (3.90 KB, application/octet-stream)
2006-06-28 12:52 UTC, Lukas Jungmann
Details
sample wsdl (3.90 KB, text/xml)
2006-06-28 12:52 UTC, Lukas Jungmann
Details
all exceptions from the log (33.25 KB, text/plain)
2006-06-28 12:53 UTC, Lukas Jungmann
Details
Screenshot (97.33 KB, image/png)
2006-07-17 21:38 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2006-06-28 12:51:17 UTC
-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
Comment 1 Lukas Jungmann 2006-06-28 12:52:25 UTC
Created attachment 31456 [details]
sample wsdl
Comment 2 Lukas Jungmann 2006-06-28 12:52:41 UTC
Created attachment 31457 [details]
sample wsdl
Comment 3 Lukas Jungmann 2006-06-28 12:53:48 UTC
Created attachment 31458 [details]
all exceptions from the log
Comment 4 Martin Adamek 2006-07-10 11:40:47 UTC
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
Comment 5 Lukas Jungmann 2006-07-15 01:02:52 UTC
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.
Comment 6 Martin Adamek 2006-07-17 07:29:45 UTC
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.
Comment 7 Martin Adamek 2006-07-17 07:32:49 UTC
Btw. this issues was not fixed in release55_beta2 branch.
Comment 8 Lukas Jungmann 2006-07-17 21:37:51 UTC
-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
Comment 9 Lukas Jungmann 2006-07-17 21:38:36 UTC
Created attachment 31938 [details]
Screenshot
Comment 10 Lukas Jungmann 2006-07-17 22:36:51 UTC
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
Comment 11 Lukas Jungmann 2006-07-17 22:48:31 UTC
Adding JDK_SPECIFIC keyword as I'm not able to reproduce this on 32bit JDK (on
win), so probably something 64bit JDK related :(
Comment 12 Martin Adamek 2006-07-18 12:43:33 UTC
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.
Comment 13 Martin Adamek 2006-08-24 16:17:10 UTC
It is not reproducible now (also on reporter's machine). Closing.
Comment 14 Jaroslav Pospisil 2006-10-09 14:21:45 UTC
VERIFIED