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 140876 - STS wizard is not working properly
Summary: STS wizard is not working properly
Status: RESOLVED DUPLICATE of bug 139048
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-19 13:47 UTC by shyam_rao
Modified: 2008-07-22 13:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
STS project to reproduce this issue (21.88 KB, text/plain)
2008-07-21 15:59 UTC, shyam_rao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shyam_rao 2008-07-19 13:47:07 UTC
I am using NetBeans IDE Build 200807170007.

I tried to create a STS project. 
1) selected Files -> New Project -> gave the STS project name
2) Right clicked on STS project -> selected Security Token Service (STS)... wizard -> gave class name and package name.
When i clicked on finish button, i see the following exception.

============================================
init:
wsimport-init:
Created dir: C:\shyam\workspace\DEV\WSIT\Metro_Guide\new_doc_sample\Doc_STS_1\build\generated\wsimport\binaries
wsimport-service-check-STSImpl_1:
wsimport-service-STSImpl_1:
Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation
command line: wsimport -d
C:\shyam\workspace\DEV\WSIT\Metro_Guide\new_doc_sample\Doc_STS_1\build\generated\wsimport\binaries -extension
-Xnocompile -keep -s C:\shyam\workspace\DEV\WSIT\Metro_Guide\new_doc_sample\Doc_STS_1\build\generated\wsimport\service
-catalog C:\shyam\workspace\DEV\WSIT\Metro_Guide\new_doc_sample\Doc_STS_1\catalog.xml -verbose
C:\shyam\workspace\DEV\WSIT\Metro_Guide\new_doc_sample\Doc_STS_1/src/conf/xml-resources/web-services/STSImpl_1/wsdl/STSImpl_1Service.wsdl
parsing WSDL...


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)
        at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at org.apache.tools.ant.module.bridge.AntBridge$MaskedClassLoader.loadClass(AntBridge.java:671)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1425)
        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1084)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at com.sun.xml.ws.api.addressing.AddressingVersion.<init>(AddressingVersion.java:436)
        at com.sun.xml.ws.api.addressing.AddressingVersion.<init>(AddressingVersion.java:67)
        at com.sun.xml.ws.api.addressing.AddressingVersion$1.<init>(AddressingVersion.java:146)
        at com.sun.xml.ws.api.addressing.AddressingVersion.<clinit>(AddressingVersion.java:69)
        at
com.sun.tools.ws.wsdl.parser.MemberSubmissionAddressingExtensionHandler.getNamespaceURI(MemberSubmissionAddressingExtensionHandler.java:65)
        at com.sun.tools.ws.wsdl.parser.WSDLParser.register(WSDLParser.java:129)
        at com.sun.tools.ws.wsdl.parser.WSDLParser.<init>(WSDLParser.java:119)
        at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:109)
        at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:182)
        at com.sun.tools.ws.ant.WsImport2.execute(WsImport2.java:665)
        at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:55)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:485)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 0 seconds)
Comment 1 Martin Grebac 2008-07-21 13:15:20 UTC
I'm not able to reproduce. Am I missing something in the reproduction steps?
Comment 2 shyam_rao 2008-07-21 15:59:16 UTC
Created attachment 65147 [details]
STS project to reproduce this issue
Comment 3 shyam_rao 2008-07-21 16:01:25 UTC
I have attached a STS project in zip format. Unzip it and build it. You will see this exception. The reproduction steps
are correct. I have verified these steps and able to reproduce this issue.

My configuration is : NetBeans IDE Build 200807170007 + jdk1.6.0_06
Comment 4 Lukas Jungmann 2008-07-21 16:58:01 UTC
I believe this is related to issue 139048
Comment 5 Martin Grebac 2008-07-22 13:37:43 UTC

*** This issue has been marked as a duplicate of 139048 ***