• dada
  • NEWBIE
  • 0 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

When I run the sample code from the sforce website, I succesfully login, but then after that I get an error. The error says:

faultDetail:

{http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException

at java.util.Hashtable.put(Hashtable.java:396)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)

at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)

at org.apache.axis.client.Call.invokeEngine(Call.java:2583)

at org.apache.axis.client.Call.invoke(Call.java:2553)

at org.apache.axis.client.Call.invoke(Call.java:2248)

at org.apache.axis.client.Call.invoke(Call.java:2171)

at org.apache.axis.client.Call.invoke(Call.java:1691)

at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:1142)

at Samples.login(Samples.java:134)

at Samples.run(Samples.java:1226)

at Samples.main(Samples.java:75)

 

java.lang.NullPointerException

at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)

at org.apache.axis.client.Call.invoke(Call.java:2251)

at org.apache.axis.client.Call.invoke(Call.java:2171)

at org.apache.axis.client.Call.invoke(Call.java:1691)

at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:1142)

at Samples.login(Samples.java:134)

at Samples.run(Samples.java:1226)

at Samples.main(Samples.java:75)

Caused by: java.lang.NullPointerException

at java.util.Hashtable.put(Hashtable.java:396)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385)

at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)

at org.apache.axis.client.Call.invokeEngine(Call.java:2583)

at org.apache.axis.client.Call.invoke(Call.java:2553)

at org.apache.axis.client.Call.invoke(Call.java:2248)

Can somebody give me some info on rectifying this problem,

  • July 28, 2004
  • Like
  • 0
I keep getting the following error when running the sample code on http://developers.sun.com/prodtech/portalserver/reference/techart/sfi.html
The error says:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException
Can somebody help me rectify this problem
  • July 27, 2004
  • Like
  • 0
I need to know if there is a jar file and documentation available to connect to salesforce from a solaris based java app ?


I downloaded the quickstart bundle but that throws the following exception:
; nested exception is:
java.net.UnknownHostException: www.salesforce.com


Basically, I'm looking for a jar file that I can setup with my application to make connection and calls to salesforce. I may have to connect to salesforce from a website as well. So, can someone please throw some light on how it can be accomplished.

Thanks,

..Jean
I need to know if there is a jar file and documentation available to connect to salesforce from a solaris based java app ?


I downloaded the quickstart bundle but that throws the following exception:
; nested exception is:
java.net.UnknownHostException: www.salesforce.com


Basically, I'm looking for a jar file that I can setup with my application to make connection and calls to salesforce. I may have to connect to salesforce from a website as well. So, can someone please throw some light on how it can be accomplished.

Thanks,

..Jean