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 160039 - IllegalArgumentException: Cannot create a QualIdent for org.netbeans.j2ee.wsdl.newwsdl.NewWSDLPortType
Summary: IllegalArgumentException: Cannot create a QualIdent for org.netbeans.j2ee.wsd...
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 20:16 UTC by rrickell
Modified: 2009-06-23 13:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 23802


Attachments
stacktrace (1.37 KB, text/plain)
2009-03-10 20:17 UTC, rrickell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rrickell 2009-03-10 20:16:14 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments:
ppetitsm: Create webservice from WSDL file

sunbiz: Refresh web service

bleonard: Importing a WSDL file from SalesForce.com

GUEST: New web service from WSDL

GUEST: I did call function "create web service from WSDL".

btw, this version of Netbeans crashes all the time and I found errors also in stub generator (wrong object[] parameter) for j2me to web service . Terrible.

It is better to work on product quality and performance, but not on big amount of buggy functionality !!!

GUEST: Creating web service from wsdl.

GUEST: I am  create web service client

GUEST: CReating a web service froma  wsdl

GUEST: This error happens when I try to create a new WebService from WSDL

rrickell: creating a web service from wsdl

GUEST: I create webservice from a wsdl file

GUEST: Creating a web service from a WSDL

sunbiz: Right-click on the StockService Web Service and clicked Refresh and got the exception

GUEST: Performing the WSDL import step of the tutorial https://open-esb.dev.java.net/kb/v2/fbindctut.html (To create the flight plan web service)

GUEST: SEVERE: Cannot create a QualIdent for com.sfr.sdp.v1.services.MMSV11
java.lang.IllegalArgumentException: Cannot create a QualIdent for com.sfr.sdp.v1.services.MMSV11
        at org.netbeans.modules.websvc.api.support.java.GenerationUtils.createQualIdent(GenerationUtils.java:735)
        at org.netbeans.modules.websvc.api.support.java.GenerationUtils.addImplementsClause(GenerationUtils.java:707)
        at org.netbeans.modules.websvc.core.JaxWsUtils$3.run(JaxWsUtils.java:367)
        at org.netbeans.modules.websvc.core.JaxWsUtils$3.run(JaxWsUtils.java:475)
        at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:915)
        at org.netbeans.modules.websvc.core.JaxWsUtils.generateJaxWsImplClass(JaxWsUtils.java:478)
        at org.netbeans.modules.websvc.core.JaxWsUtils.generateJaxWsImplementationClass(JaxWsUtils.java:175)
[catch] at org.netbeans.modules.websvc.core.jaxws.nodes.JaxWsChildren$6.modelCreated(JaxWsChildren.java:595)
        at org.netbeans.modul



Stacktrace: 
java.lang.IllegalArgumentException: Cannot create a QualIdent for org.netbeans.j2ee.wsdl.newwsdl.NewWSDLPortType
        at org.netbeans.modules.websvc.api.support.java.GenerationUtils.createQualIdent(GenerationUtils.java:735)
        at org.netbeans.modules.websvc.api.support.java.GenerationUtils.addImplementsClause(GenerationUtils.java:707)
        at org.netbeans.modules.websvc.core.JaxWsUtils$3.run(JaxWsUtils.java:367)
        at org.netbeans.modules.websvc.core.JaxWsUtils$3.run(JaxWsUtils.java:475)
        at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:915)
        at org.netbeans.modules.websvc.core.JaxWsUtils.generateJaxWsImplClass(JaxWsUtils.java:478)
Comment 1 rrickell 2009-03-10 20:17:01 UTC
Created attachment 78006 [details]
stacktrace
Comment 2 Milan Kuchtiak 2009-03-11 09:45:46 UTC
The problem is that com.sfr.sdp.v1.services.MMSV11 class is not available at the moment.
You mentioned using Netbeans 6.1, but the Version information has 6.7. From the exception it's evident this is 6.1.

Recently, there were significant changes in code generation mechanism (see the issue 105645 or issue 148976), so the
problem shouldn't occur any more.