You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nikhil Thaker (JIRA)" <ji...@apache.org> on 2007/03/29 02:14:25 UTC
[jira] Created: (AXIS2-2421) NPE in PropertyDescriptorPlus
NPE in PropertyDescriptorPlus
------------------------------
Key: AXIS2-2421
URL: https://issues.apache.org/jira/browse/AXIS2-2421
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Reporter: Nikhil Thaker
We are seeing a NPE in PropertyDescriptorPlus when trying to get the readMethod for the PropetyDescriptor when the propery
type is Boolean. In this test case the wsdl schema uses jaxb:property customization. I will attach the fix for this
issue.
javax.xml.ws.WebServiceException: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException:
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.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
odMarshaller.java:262)
at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:350)
at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:274)
at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:142)
at $Proxy7.wrapperBooleanTest(Unknown Source)
at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.BooleanTest(Client.java:483)
at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.MarshallPrimitiveTest(Client.java:207)
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: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException: java.lang.NullPointerException
at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:85)
at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
odMarshaller.java:189)
... 18 more
Caused by: java.lang.NullPointerException
at org.apache.axis2.jaxws.utility.PropertyDescriptorPlus.get(PropertyDescriptorPlus.java:70)
at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:79)
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Closed: (AXIS2-2421) NPE in PropertyDescriptorPlus
Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Thaker closed AXIS2-2421.
--------------------------------
> NPE in PropertyDescriptorPlus
> ------------------------------
>
> Key: AXIS2-2421
> URL: https://issues.apache.org/jira/browse/AXIS2-2421
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Nikhil Thaker
> Assigned To: Nikhil Thaker
> Attachments: JIRA_2421_propertyDescriptorPlus.txt
>
>
> We are seeing a NPE in PropertyDescriptorPlus when trying to get the readMethod for the PropetyDescriptor when the propery
> type is Boolean. In this test case the wsdl schema uses jaxb:property customization. I will attach the fix for this
> issue.
> javax.xml.ws.WebServiceException: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException:
> 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.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:262)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:350)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:274)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:142)
> at $Proxy7.wrapperBooleanTest(Unknown Source)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.BooleanTest(Client.java:483)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.MarshallPrimitiveTest(Client.java:207)
> 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: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException: java.lang.NullPointerException
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:85)
> at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:189)
> ... 18 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.jaxws.utility.PropertyDescriptorPlus.get(PropertyDescriptorPlus.java:70)
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:79)
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-2421) NPE in PropertyDescriptorPlus
Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Thaker updated AXIS2-2421:
---------------------------------
Attachment: JIRA_2421_propertyDescriptorPlus.txt
> NPE in PropertyDescriptorPlus
> ------------------------------
>
> Key: AXIS2-2421
> URL: https://issues.apache.org/jira/browse/AXIS2-2421
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Nikhil Thaker
> Attachments: JIRA_2421_propertyDescriptorPlus.txt
>
>
> We are seeing a NPE in PropertyDescriptorPlus when trying to get the readMethod for the PropetyDescriptor when the propery
> type is Boolean. In this test case the wsdl schema uses jaxb:property customization. I will attach the fix for this
> issue.
> javax.xml.ws.WebServiceException: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException:
> 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.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:262)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:350)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:274)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:142)
> at $Proxy7.wrapperBooleanTest(Unknown Source)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.BooleanTest(Client.java:483)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.MarshallPrimitiveTest(Client.java:207)
> 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: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException: java.lang.NullPointerException
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:85)
> at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:189)
> ... 18 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.jaxws.utility.PropertyDescriptorPlus.get(PropertyDescriptorPlus.java:70)
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:79)
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-2421) NPE in PropertyDescriptorPlus
Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Thaker resolved AXIS2-2421.
----------------------------------
Resolution: Fixed
revision #524796
> NPE in PropertyDescriptorPlus
> ------------------------------
>
> Key: AXIS2-2421
> URL: https://issues.apache.org/jira/browse/AXIS2-2421
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Nikhil Thaker
> Assigned To: Nikhil Thaker
> Attachments: JIRA_2421_propertyDescriptorPlus.txt
>
>
> We are seeing a NPE in PropertyDescriptorPlus when trying to get the readMethod for the PropetyDescriptor when the propery
> type is Boolean. In this test case the wsdl schema uses jaxb:property customization. I will attach the fix for this
> issue.
> javax.xml.ws.WebServiceException: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException:
> 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.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:262)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:350)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:274)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:142)
> at $Proxy7.wrapperBooleanTest(Unknown Source)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.BooleanTest(Client.java:483)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.MarshallPrimitiveTest(Client.java:207)
> 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: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException: java.lang.NullPointerException
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:85)
> at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:189)
> ... 18 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.jaxws.utility.PropertyDescriptorPlus.get(PropertyDescriptorPlus.java:70)
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:79)
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-2421) NPE in PropertyDescriptorPlus
Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Thaker reassigned AXIS2-2421:
------------------------------------
Assignee: Nikhil Thaker
> NPE in PropertyDescriptorPlus
> ------------------------------
>
> Key: AXIS2-2421
> URL: https://issues.apache.org/jira/browse/AXIS2-2421
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Nikhil Thaker
> Assigned To: Nikhil Thaker
> Attachments: JIRA_2421_propertyDescriptorPlus.txt
>
>
> We are seeing a NPE in PropertyDescriptorPlus when trying to get the readMethod for the PropetyDescriptor when the propery
> type is Boolean. In this test case the wsdl schema uses jaxb:property customization. I will attach the fix for this
> issue.
> javax.xml.ws.WebServiceException: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException:
> 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.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:262)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:350)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:274)
> at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:142)
> at $Proxy7.wrapperBooleanTest(Unknown Source)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.BooleanTest(Client.java:483)
> at com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.MarshallPrimitiveTest(Client.java:207)
> 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: org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperException: java.lang.NullPointerException
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:85)
> at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedPlusMethodMarshaller.demarshalResponse(DocLitWrappedPlusMeth
> odMarshaller.java:189)
> ... 18 more
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.jaxws.utility.PropertyDescriptorPlus.get(PropertyDescriptorPlus.java:70)
> at org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap(JAXBWrapperToolImpl.java:79)
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org