none
Connectivity Exception: [NullReferenceException] Object reference not set to an instance of an object. When forwarding request to app server. RRS feed

  • Question

  • I'm using Project Server 2013 & trying to checkout the project using a valid project ID, Session ID and an appropriate Comment.

    When doing the above with the Java Clients as generated out of the WSDL in the endpoint, I ended up with the below exception.

    due to the error Unhandled Communication Fault occurred

    javax.xml.ws.soap.SOAPFaultException: Unhandled Communication Fault occurred

            at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156) ~[cxf-rt-frontend-jaxws-2.5.9.jar:2.5.9]

            at com.sun.proxy.$Proxy106.checkOutProject(Unknown Source) ~[?:?]

    .....

    Caused by: org.apache.cxf.binding.soap.SoapFault: Unhandled Communication Fault occurred

            at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75) ~[cxf-rt-bindings-soap-2.5.9.jar:2.5.9]

            at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46) ~[cxf-rt-bindings-soap-2.5.9.jar:2.5.9]

            at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35) ~[cxf-rt-bindings-soap-2.5.9.jar:2.5.9]

            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) ~[cxf-api-2.5.9.jar:2.5.9]

            at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:114) ~[cxf-rt-core-2.5.9.jar:2.5.9]

            at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:139) ~[cxf-rt-frontend-jaxws-2.5.9.jar:2.5.9]

            at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:70) ~[cxf-rt-frontend-jaxws-2.5.9.jar:2.5.9]

            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) ~[cxf-api-2.5.9.jar:2.5.9]

            at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:801) ~[cxf-rt-core-2.5.9.jar:2.5.9]

    When further tracing the event at the server level, found the error message as in the title.

    EventData 

      string0 [NullReferenceException] Object reference not set to an instance of an object. 
      string1 http://ABC-PROJECTSERVER-2013:5478/pwa/_vti_bin/psi/project.asmx 

    Tuesday, July 17, 2018 4:39 PM