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 140966 - IDE cannot create ws nodes
Summary: IDE cannot create ws nodes
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: JDK_SPECIFIC, REGRESSION
Depends on:
Blocks:
 
Reported: 2008-07-21 11:42 UTC by Lukas Jungmann
Modified: 2008-07-22 21:23 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Dumpstack (1.89 KB, text/plain)
2008-07-21 15:42 UTC, Milan Kuchtiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-07-21 11:42:22 UTC
-create new java app
-create new ws client (use ie. http://www.webservicex.net/BibleWebservice.asmx?wsdl)

=> ws client node creation fails, there's nothing about possible cause in the IDE log but the cause is LinkageError from
JAXB I'd say
Comment 1 Lukas Jungmann 2008-07-21 11:42:55 UTC
related to JDK6-JDK6u3
Comment 2 Milan Kuchtiak 2008-07-21 13:58:07 UTC
Should we still handle jdk1.6 releases prior to update 4?
Another option is to recommend user some workaround for these early JDK1.6 releases (that contain JAX-WS2.0 API). 
Comment 3 Milan Kuchtiak 2008-07-21 14:21:08 UTC
I see the wsimport fails even with latest JDK1.6 versions :
 
java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for
a different type with name "javax/xml/stream/XMLStreamReader"
        at java.lang.ClassLoader.findBootstrapClass(Native Method)
...
Comment 4 Milan Kuchtiak 2008-07-21 15:42:02 UTC
Created attachment 65144 [details]
Dumpstack
Comment 5 Milan Kuchtiak 2008-07-21 17:00:22 UTC
First the issue 139048 should be fixed:
Wsimport ant task still doesn't work with JDK1.6. See the attachment there :
http://www.netbeans.org/nonav/issues/showattachment.cgi/65152/dump_stack.txt
Comment 6 Milan Kuchtiak 2008-07-21 17:48:49 UTC
It's probably related to incorrect separation of JAXB from JAX-WS.
The JAXB module manifest.mf should declare these packages to hide :
OpenIDE-Module-Hide-Classpath-Packages: javax.xml.bind.**, javax.xml.stream.**

See tha API issue 96711.
Comment 7 Milan Kuchtiak 2008-07-21 18:02:05 UTC
Fixed.
Diff:
http://hg.netbeans.org/main?cmd=changeset;node=36f1ccf4f539
Comment 8 Lukas Jungmann 2008-07-22 21:23:09 UTC
v.