function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
U AnjeneluU Anjenelu 

Getting java.lang.NullPointerException in java sample code "Quickstart Example"

Hi,

 

Downloaded the Java Sample Code from the sforce (i.e. quickstart). And included the quickstart.jar in the classpath.

 

If i run the batch file and try to login as sforce login id

 

i am getting java.lang.NullPointerException

 

Please help me

 

Regards.

U.Anjenelu

ParamParam

Hi

i got the same error, so what i did i downgraded my jdk from jdk142_07 to jdk142,

here is the link

http://java.sun.com/j2se/1.4.2/download.html

install this jdk and try again the same quickstart batch file.

param

U AnjeneluU Anjenelu

Hi,

Thanks for replay,

got the solution .

Regards.

U.Anjenelu