Steve,

The getSocket code calls org.apache 
axis.components.net.SocketFactoryFactory.getFactory(), which creates either a 
SocketFactory or a SecureSocketFactory.  I know that changes have been made to the 
SSL/SecureSockets code post 1.0, are you using an https URL?

I would debug the calls that getFactory() is going and see what is going wrong.  Then 
post a patch and file a bug.


--
Tom Jordahl
Macromedia Server Development



-----Original Message-----
From: Steve Pannier [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 06, 2002 4:39 PM
To: [EMAIL PROTECTED]
Subject: 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
[EMAIL PROTECTED]
http://www.jacada.com

Reply via email to