I am in the need of a solution for this problem. I am attaching the error
message with this. This happens when I try invoking a method from the client
program via WebServices which contains BeanArray as arguments. Is there
any mapping should I do... and where shud i do exactly.?
java.lang.NullPointerException
at
com.ctc.wstx.dom.DOMWrappingReader.getAttributeCount(DOMWrappingReader.java:263)
at
org.codehaus.xfire.util.stax.DepthXMLStreamReader.getAttributeCount(DepthXMLStreamReader.java:40)
at
org.codehaus.xfire.util.stax.DepthXMLStreamReader.getAttributeCount(DepthXMLStreamReader.java:40)
at
org.codehaus.xfire.aegis.stax.ElementReader.hasMoreAttributeReaders(ElementReader.java:213)
at
org.codehaus.xfire.aegis.type.basic.BeanType.readObject(BeanType.java:104)
at
org.codehaus.xfire.aegis.type.basic.ArrayType.readCollection(ArrayType.java:79)
at
org.codehaus.xfire.aegis.type.basic.ArrayType.readObject(ArrayType.java:47)
at
org.codehaus.xfire.aegis.AegisBindingProvider.readParameter(AegisBindingProvider.java:94)
at
org.codehaus.xfire.service.binding.AbstractBinding.read(AbstractBinding.java:208)
at
org.codehaus.xfire.service.binding.WrappedBinding.readMessage(WrappedBinding.java:50)
at
org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)
at
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:110)
at
org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:61)
at
org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
at
org.apache.servicemix.jsr181.Jsr181ExchangeProcessor.process(Jsr181ExchangeProcessor.java:79)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:397)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:42)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:622)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:168)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:226)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context:
http://www.nabble.com/Null-Pointer-exception-while-invoking-webservice-method-tf2458190.html#a6851422
Sent from the ServiceMix - User mailing list archive at Nabble.com.