Recently I encountered with similar problem and Deepal suggested to use latest 
from trunc or use latest nightly build. Good Luck!

-----Original Message-----
From: Eric Chow [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 25, 2007 12:14 AM
To: Axis User List
Subject: [RPCMessageReceiver] Exception occurred while trying to invoke
service


Hello,

Anyone can teach me what cause the following exception, and how to solve it?

Or if this is a bug in Axis-1.1.1

My Environment:
Axis2-1.1.1, Tomcat-5.5.23, Java 1.5.x
Invoking the web service from C#.



23:58:57,937 ERROR [RPCMessageReceiver] Exception occurred while
trying to invoke service method getAllUsersArray
org.apache.axiom.om.OMException: java.lang.NullPointerException
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:194)
        at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:318)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:632)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElementImpl.java:599)
        at 
org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:117)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:249)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:202)
        at 
org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:169)
        at 
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
        at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
        at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:328)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:254)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
        at 
org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:78)
        at 
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.processProperties(ADBXMLStreamReaderImpl.java:948)
        at 
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.next(ADBXMLStreamReaderImpl.java:821)
        at 
org.apache.axis2.databinding.utils.reader.WrappingXMLStreamReader.next(WrappingXMLStreamReader.java:45)
        at 
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.next(ADBXMLStreamReaderImpl.java:824)
        at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:68)
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:111)
        ... 28 more

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This message and any attachment are confidential and may be privileged 
or otherwise protected from disclosure. If you are not the intended 
recipient please telephone or e-mail the sender and delete this message 
and all attachments from your system. If you are not the intended 
recipient you must not copy this message or any attachment or disclose 
the contents to any other person.

Use of E-mails can involve substantial risks, including but not limited 
to lack of confidentiality and potential manipulation of contents and/or 
sender's address. E-mail transmission therefore cannot be guaranteed to 
be secure, error-free or virus-free. UBS therefore does not accept 
liability for any errors, omissions or consequences which arise as a 
result of e-mail transmission. If you choose to send sensitive 
information via e-mail, this will be done at your own risk.

This message is provided for informational purposes and is not intended 
to nor will it create any binding legal relations. If verification is 
required please request a hard-copy version.

This message should not be construed as a solicitation or offer to buy 
or sell any securities or related financial instruments.

UBS AG does not accept Instructions via e-mail unless specifically 
authorised in writing and agreed to by UBS AG.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to