0 Replies Latest reply on Feb 13, 2011 7:27 AM by Marcin Bednarek

    Exceptions during perfomance testing

    Marcin Bednarek Newbie

      Hello,

       

      In my application I invoke external webservices. During performance tests when application is under heavy load I am receiving below exceptions:

       

      Caused by: SystemUnavailableException_Exception: unknown exception caught

              at sun.reflect.GeneratedConstructorAccessor368.newInstance(Unknown Source)

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

              at java.lang.reflect.Constructor.newInstance(Constructor.java:501)

              at org.jboss.ws.metadata.umdm.FaultMetaData.toServiceException(FaultMetaData.java:383)

              at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:143)

              at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107)

              at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579)

              at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381)

              at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:291)

              at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)

              at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)

              at $Proxy622.append(Unknown Source)

       

      ----------------------------------------------------------------------------------------------------------------------------------

       

      Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException

              at org.jboss.ws.core.jaxws.JAXBDeserializer.handleUnmarshallException(JAXBDeserializer.java:110)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:78)

              at org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:58)

              at org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:179)

              at org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:96)

       

      ----------------------------------------------------------------------------------------------------------------------------------

       

      Caused by: java.lang.NullPointerException

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:274)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)

              at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)

              at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:314)

       

      ----------------------------------------------------------------------------------------------------------------------------------

       

      Caused by: java.lang.NullPointerException

              at org.apache.xerces.dom.ParentNode.nodeListItem(Unknown Source)

              at org.apache.xerces.dom.ParentNode.item(Unknown Source)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)

              at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)

              at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)

              at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:314)

              at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:293)

              at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:244)

              at org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:71)

              ... 413 more

       

       

      This looks like issue with deserialization however I see it only during perfomance tests for random requests.

       

      I am using jboss 4.2.2 with JBossWS 3.0.5.

       

      Could you give me any hint what I should do to handle those exceptions?

       

      Thanks,

       

      Marcin