Skip to Content
Former Member
Dec 04, 2008 at 03:47 PM

Java Crystal Reports client working on Tomcat 5.0 not on Sun 8.1, AxisFault


Hi Experts,

I am given this task of integrating Crystal Reports in our Sun 8.1 applications. I am using the jars that come with the Business Objects cd (like dsws-session.jar, dsws-publish.jar, axis 1.1.jar etc). I am able to run this on Tomcat 5.0 but not on Sun java Application Server 8.1. The exception I am getting is as follows:

Cause Detail --->>>AxisFault

faultCode: Server.userException


faultString: java.lang.NullPointerException




stackTrace: java.lang.NullPointerException

at java.util.Hashtable.put(


at org.apache.axis.encoding.DeserializationContextImpl.parse(

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(

at org.apache.axis.Message.getSOAPEnvelope(

at org.apache.axis.client.Call.invokeEngine(

at org.apache.axis.client.Call.invoke(

at org.apache.axis.client.Call.invoke(

at org.apache.axis.client.Call.invoke(

at org.apache.axis.client.Call.invoke(

at com.businessobjects.dsws.session.SessionSoapStub.login(Unknown Source)

at com.businessobjects.dsws.session.Session.login(Unknown Source)

I tried to replace axis 1.1 with axis 1.4, but then I get another exception

Cause Detail --->>>java.lang.NoSuchFieldError: WRAPPED

at com.businessobjects.dsws.session.SessionSoapStub.<clinit>(Unknown Source)

at com.businessobjects.dsws.session.SessionLocator.getSessionSoap(Unknown Source)

at com.businessobjects.dsws.session.Session.createStub(Unknown Source)

at com.businessobjects.dsws.Consumer.<init>(Unknown Source)

at com.businessobjects.dsws.session.Session.<init>(Unknown Source)

I guess this is because the dsws-session.jar is not compatible with any axis other than 1.1. How should I proceed? Should I be continuing with axis 1.1 and apply some fix or should I go with axis 1.4 and get the dsws jars that work with axis 1.4? Why is it working with Tomcat 5.0/JDK 1.5? PLEASE HELP ASAP!!!!