1 Reply Latest reply on Oct 4, 2005 1:18 AM by Joseph Tang

    Problem running Wiki's

    Joseph Tang Newbie

      About: "JBossWSAttachStepByStep" wiki

      (My Env: Jboss 4.0.2, Java: build 1.5.0_02-b09, WinXP SP2, Server and client on same machine.), I also tried running on Redhat linux 9.0 too.

      Hi, I downloaded wsattachment.zip and followed the instructions to deploy and run it. The deployment is successful.
      However when I run it, the following errors occur:


      Please help me! Thanks a lot


      c:\wsattachment>ant run
      Buildfile: build.xml
      
      prepare:
      
      run:
       [java] AxisFault
       [java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
       [java] faultSubcode:
       [java] faultString: java.lang.NullPointerException
       [java] faultActor:
       [java] faultNode:
       [java] faultDetail:
       [java] {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
       [java] at java.util.Hashtable.put(Hashtable.java:396)
       [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Sour
      ce)
       [java] at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContex
      tImpl.java:262)
       [java] at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
       [java] at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
       [java] at org.jboss.axis.Message.getContentType(Message.java:494)
       [java] at org.jboss.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
       [java] at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
       [java] at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
      
       [java] at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       [java] at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       [java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
       [java] at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:3039)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2629)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2538)
       [java] at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:1914)
       [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
       [java] at MyServiceClient.main(MyServiceClient.java:37)
      
      
       [java] org.jboss.axis.AxisFault: java.lang.NullPointerException
       [java] at org.jboss.axis.AxisFault.makeFault(AxisFault.java:99)
       [java] at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:136)
       [java] at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
      
       [java] at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       [java] at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       [java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
       [java] at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:3039)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2629)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:2538)
       [java] at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
       [java] at org.jboss.axis.client.Call.invoke(Call.java:1914)
       [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
       [java] at MyServiceClient.main(MyServiceClient.java:37)
       [java] Caused by: java.lang.NullPointerException
       [java] at java.util.Hashtable.put(Hashtable.java:396)
       [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Sour
      ce)
       [java] at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContex
      tImpl.java:262)
       [java] at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
       [java] at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
       [java] at org.jboss.axis.Message.getContentType(Message.java:494)
       [java] at org.jboss.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
       [java] at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
       [java] ... 12 more
      
      BUILD SUCCESSFUL
      Total time: 11 seconds