[ 
https://issues.apache.org/jira/browse/AXIS2-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikhil Thaker updated AXIS2-2330:
---------------------------------

    Attachment: JIRA_2330_NPEinSchemaReaderImpl.txt

> NPE in SchemaReaderImpl
> -----------------------
>
>                 Key: AXIS2-2330
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2330
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Nikhil Thaker
>         Attachments: JIRA_2330_NPEinSchemaReaderImpl.txt
>
>
> Detailed description 
> Heres the stack trace for the issue:
> ERROR: javax.xml.ws.WebServiceException: java.lang.NullPointerException
>       at 
> org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:179)
>       at 
> org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:79)
>       at 
> org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:133)
>       at 
> org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMethodMarshaller.marshalRequest(DocLitBareMethodMarshaller.java
> :316)
>       at 
> org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createRequest(JAXWSProxyHandler.java:308)
>       at 
> org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:159)
>       at 
> org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:142)
>       at $Proxy9.echoAnySimpleTypeTest(Unknown Source)
>       at 
> com.sun.ts.tests.jaxws.ee.w2j.document.literal.marshalltest.Client.MarshallAnySimpleTypeTest(Client.java:749)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:615)
>       at com.sun.ts.lib.harness.EETest.run(EETest.java:495)
>       at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:112)
>       at 
> com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:30)
>       at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102)
>       at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:392)
>       at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
>       at com.sun.ts.lib.harness.EETest.run(EETest.java:204)
>       at 
> com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:27)
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.axis2.jaxws.wsdl.impl.SchemaReaderImpl.readSchemaBindingPackageName(SchemaReaderImpl.java:166)
>       at 
> org.apache.axis2.jaxws.wsdl.impl.SchemaReaderImpl.processSchema(SchemaReaderImpl.java:103)
>       at 
> org.apache.axis2.jaxws.wsdl.impl.SchemaReaderImpl.processImport(SchemaReaderImpl.java:142)
>       at 
> org.apache.axis2.jaxws.wsdl.impl.SchemaReaderImpl.processSchema(SchemaReaderImpl.java:135)
>       at 
> org.apache.axis2.jaxws.wsdl.impl.SchemaReaderImpl.processImport(SchemaReaderImpl.java:142)
>       at 
> org.apache.axis2.jaxws.wsdl.impl.SchemaReaderImpl.processSchema(SchemaReaderImpl.java:135)
>       at 
> org.apache.axis2.jaxws.wsdl.impl.SchemaReaderImpl.readPackagesFromSchema(SchemaReaderImpl.java:88)
>       at 
> org.apache.axis2.jaxws.runtime.description.marshal.impl.PackageSetBuilder.getPackagesFromSchema(PackageSetBuilder.ja
> va:123)
>       at 
> org.apache.axis2.jaxws.runtime.description.marshal.impl.MarshalServiceRuntimeDescriptionBuilder.init(MarshalServiceR
> untimeDescriptionBuilder.java:123)
>       at 
> org.apache.axis2.jaxws.runtime.description.marshal.impl.MarshalServiceRuntimeDescriptionBuilder.create(MarshalServic
> eRuntimeDescriptionBuilder.java:59)
>       at 
> org.apache.axis2.jaxws.runtime.description.marshal.MarshalServiceRuntimeDescriptionFactory.get(MarshalServiceRuntime
> DescriptionFactory.java:42)
>       at 
> org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.getMarshalDesc(MethodMarshallerUtils.java:988)
>       at 
> org.apache.axis2.jaxws.marshaller.impl.alt.DocLitBareMethodMarshaller.marshalRequest(DocLitBareMethodMarshaller.java
> :277)
>       ... 17 more
> I will provide fix for this issue.
>  
>  

-- 
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]

Reply via email to