You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Steve Pannier <St...@jacada.com> on 2002/12/06 22:38:34 UTC

NullPointerException using AXIS 1.1Beta with UDDI4J

I'm using AXIS 1.0 as the SOAP transport for UDDI4J registry access
operations, and everything
was working fine.  When I upgraded to AXIS 1.1Beta, I got the
NullPointerException shown below
(taken from the UDDI4J debug output):


TransportFactory: Using transport
name:org.uddi4j.transport.ApacheAxisTransport

Request message:
<get_authToken cred="myCred" generic="2.0" userID="myUserid" xmlns
="urn:uddi-org:api_v2"/>

Response message:
<ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
   <faultcode>soapenv:Server.userException</faultcode>
   <faultstring>java.lang.NullPointerException</faultstring>
   <detail>
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/
">java.lang.NullPointerException
     at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
     at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
     at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2376)
     at org.apache.axis.client.Call.invoke(Call.java:2365)
     at org.apache.axis.client.Call.invoke(Call.java:1490)
     at org.uddi4j.transport.ApacheAxisTransport.send(Unknown Source)
     at org.uddi4j.transport.TransportBase.send(Unknown Source)
     at org.uddi4j.client.UDDIProxy.send(Unknown Source)
     at org.uddi4j.client.UDDIProxy.get_authToken(Unknown Source)
     .
     .
     .


Has anyone else seen this behavior?


Steve Pannier
Jacada, Inc.
(763) 201-0002 Ext. 219
spannier@jacada.com
http://www.jacada.com