NPE retrieving wsdl -------------------- Key: AXIS2-2521 URL: https://issues.apache.org/jira/browse/AXIS2-2521 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: jaxws Reporter: Nikhil Thaker Assigned To: Nikhil Thaker Attachments: JIRA_2521_wsdl4JWrapper.txt
NPE in WSDL4JWrapper when retriving wsdl with relative path. Exception received: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.ibm.ws.client.applicationclient.launchClient.createContainerAndLa unchApp(launchClient.java:747) at com.ibm.ws.client.applicationclient.launchClient.main(launchClient.ja va:469) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183) at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90) at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct ivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli cation(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec lipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.jav a:321) at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:89) at com.ibm.websphere.client.applicationclient.launchClient.main(launchCl ient.java:240) Caused by: javax.xml.ws.WebServiceException: The following WSDL exception occurr ed: WSDLException: faultCode=WSDL4JWrapper : : java.lang.NullPointerException at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(Exc eptionFactory.java:177) at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(Excep tionFactory.java:79) at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupW sdlDefinition(ServiceDescriptionImpl.java:477) at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init> (ServiceDescriptionImpl.java:127) at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.create ServiceDescription(DescriptionFactoryImpl.java:96) at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDe scription(DescriptionFactory.java:71) at org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.jav a:82) at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.ja va:42) at javax.xml.ws.Service.<init>(Service.java:33) at wasintegration.flows.wsfvt.server.ProxyDocLitWrappedService.<init>(Pr oxyDocLitWrappedService.java:36) at wasintegration.flows.wsfvt.client.FlowsClient.doTwoWaySyncProxy(Flows Client.java:695) at wasintegration.flows.wsfvt.client.FlowsClient.main(FlowsClient.java:1 52) ... 28 more Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : java.lang.NullPointerException at org.apache.axis2.jaxws.util.WSDL4JWrapper.<init>(WSDL4JWrapper.java:2 13) at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupW sdlDefinition(ServiceDescriptionImpl.java:474) ... 37 more Caused by: java.lang.NullPointerException at org.apache.axis2.jaxws.util.WSDL4JWrapper.getURLFromJAR(WSDL4JWrapper .java:221) at org.apache.axis2.jaxws.util.WSDL4JWrapper.<init>(WSDL4JWrapper.java:1 02) ... 38 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]