axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patricia Doyle" <pdoyle...@hotmail.com>
Subject Error!!!!
Date Thu, 25 Apr 2002 15:06:08 GMT
I am trying to return and java bean which extends other bean but I am 
getting following error while deserializing:
-------------------------------------
- Exception:
java.lang.NullPointerException
        at 
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(Unknown So
urce)
        at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Unkn
own Source)
        at org.apache.axis.message.SAX2EventRecorder.replay(Unknown Source)
        at org.apache.axis.message.MessageElement.publishToHandler(Unknown 
Sourc
e)
        at org.apache.axis.encoding.DeserializerImpl.startElement(Unknown 
Source
)
        at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Unkn
own Source)
        at org.apache.axis.message.SAX2EventRecorder.replay(Unknown Source)
        at org.apache.axis.message.MessageElement.publishToHandler(Unknown 
Sourc
e)
        at org.apache.axis.message.RPCElement.deserialize(Unknown Source)
        at org.apache.axis.message.RPCElement.getParams(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at 
com.example.webservice.MyNewServiceSoapBindingStub.getDocument(MyNewServiceSoapBindingStub.java:160)
        at com.example.test.MyNewServiceTest.main(MyNewServiceTest.ja
va:20)
Exception in thread "main" java.lang.Exception: Remote Exception caught: 
java.la
ng.NullPointerException
        at com.example.test.MyNewServiceTest.main(MyNewTest.ja
va:34)
----------------------------------

Does axis support deserializing bean which inherits other bean???
If yes, do I have to write custom serializer, deserializer?? Please 
explain!!!!






_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


Mime
View raw message