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.
According to issue 64329, I need a src directory (even though I have no src files) to create a web service client. When I create an empty src directory, I'm able to get past the problem mentioned in 64329, but after I click Finish in the new web service client dialog, I get an NPE and the IDE says its creating web service client with a progress bar, but it stays like that indefinitely.
I improved the wizard validation test yestarday so no source root is necessary if you use JAX-WS. It is required just for JAX_RPC now. It works fine for me, ws client is created, no NPE is thrown. Could you attach the exception, please?
Created attachment 32499 [details] NPE stack trace
Milane, do you think that it could be related to the recent jax-ws.xml changes? The problem is that getXmlArtifactsRoot() method in ProjectJAXWSClientSupport returns null.
Problem is that src/conf directory is missing in project.
Basically the problem is not in missing src/conf directory but in missing property conf.dir in project.properties. Configuration directory can be placed anywhere.
Fixed. conf.dir property must exist in project.properties. It is not set now but in the future it would be nice to set it in the wizard. Checking in WebProjectUtilities.java; /cvs/web/project/src/org/netbeans/modules/web/project/api/WebProjectUtilities.java,v <-- WebProjectUtilities.java new revision: 1.2.2.5.2.13; previous revision: 1.2.2.5.2.12 done
One small enhancement - it tries to guess conf directory in case there could be any. Checking in ui/wizards/FileSearchUtility.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/FileSearchUtility.java,v <-- FileSearchUtility.java new revision: 1.1.54.2; previous revision: 1.1.54.1 done Checking in api/WebProjectUtilities.java; /cvs/web/project/src/org/netbeans/modules/web/project/api/WebProjectUtilities.java,v <-- WebProjectUtilities.java new revision: 1.2.2.5.2.15; previous revision: 1.2.2.5.2.14 done
I just tried the scenario with build 200608090000,jdk1.6.0,WinXP and it failed,although the exception was different: *********** Exception occurred ************ at 3:04 PM on Aug 9, 2006 java.lang.ArrayIndexOutOfBoundsException: 0 at org.netbeans.modules.websvc.core.client.wizard.WebServiceClientCreato r.generate14Client(WebServiceClientCreator.java:298) at org.netbeans.modules.websvc.core.client.wizard.WebServiceClientCreato r.access$100(WebServiceClientCreator.java:68) at org.netbeans.modules.websvc.core.client.wizard.WebServiceClientCreato r$1.run(WebServiceClientCreator.java:114) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java :932) Reopening.
Decribed behaviour is restricted for web project without src folder, created from existing J2EE 1.4 sources, but in the wizard set to JavaEE5 and glassfish. Otherwise it works,so decreasing priority to P3.
I still can't get this to work, even though I have the latest Daily and I have the project set to Java EE 5. After I go through the dialog to create the web service client, I get an AssertionException. I will attach stack trace.
Created attachment 33049 [details] stack trace
Did you create your project with your latest daily build? From the stack trace it seems that you are working with a project created before my fix on Aug 7 and in that project is not defined conf.dir property. Could you attach your project.properties, please?
OK. It works now with a Java EE 5 project. Sorry for false alarm.
Jarda's exception fixed. Checking in WebServiceClientWizardDescriptor.java; /cvs/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/WebServiceClientWizardDescriptor.java,v <-- WebServiceClientWizardDescriptor.java new revision: 1.5.2.2.2.6; previous revision: 1.5.2.2.2.5 done Checking in ClientInfo.java; /cvs/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/ClientInfo.java,v <-- ClientInfo.java new revision: 1.20.8.3.2.40; previous revision: 1.20.8.3.2.39 done Checking in Bundle.properties; /cvs/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/Bundle.properties,v <-- Bundle.properties new revision: 1.24.2.4.2.17; previous revision: 1.24.2.4.2.16 done Checking in WebServiceClientCreator.java; /cvs/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/Attic/WebServiceClientCreator.java,v <-- WebServiceClientCreator.java new revision: 1.1.2.27; previous revision: 1.1.2.26 done