JAVA Gurus: Aawo fellas seer takaraye!: Technical help needed:

gheewalabhai888

Registered Users (C)
march02485info posts:

I'm trying to make the kashmir work on my PC , if it does then i will scan for all ranges randomly for many dates.

Any java Gurus.. Please solve
Here is the error i get :

Exception in thread "main" java.lang.NullPointerException
at kashmir.Kashmir3.<init>(Kashmir3.java:19)
at kashmir.Kashmir3.main(Kashmir3.java:127)
 
Here is the Zip file
java ,class anf manifest.

Java Gurus,
Please debug the error in the first post by Ghee----

C:\> java -jar kashmir3.zip

-- error pops up

Any help appreciated.
 
can someone help on this

your few minutes of volunteer will greatly help. our friend
march02485info is ready to pump out bunch of data that will be useful for all of us. please look into it, all java experts.
 
just to be sure....are u entering just the following or LIN number after it.

C:\> java -jar kashmir3.zip

C:\> java -jar kashmir3.zip LIN********** 100
 
I did entered the LIN******* and Number to query
Command Used : java -jar kashmir3.zip LIN0210050001 100

Error Out : Exception in thread "main" java.lang.NullPointerException
at kashmir.Kashmir3.<init>(Kashmir3.java:19)
at kashmir.Kashmir3.main(Kashmir3.java:127)
It is something that it was not able to find the LIN in that range and raising null exception... and i tired for many dates same exception..

Help appreciated.
 
Not sure what OS you are running this under. Hope it is Windows.

Make sure JRE bin ( Java Run Environment is set in your path ).

I ran the same from command line with the exact same params and it ran fine.
 
Looks like there is a problem in connection. The reason for the error is, the cookie is not set properly.

I tried and got the same error. While debugging, I found that I am getting 403 forbidden error for the URL. I don't know why. I will check and let you know asap.



Originally posted by march02485info
I did entered the LIN******* and Number to query
Command Used : java -jar kashmir3.zip LIN0210050001 100

Error Out : Exception in thread "main" java.lang.NullPointerException
at kashmir.Kashmir3.<init>(Kashmir3.java:19)
at kashmir.Kashmir3.main(Kashmir3.java:127)
It is something that it was not able to find the LIN in that range and raising null exception... and i tired for many dates same exception..

Help appreciated.
 
Let me know

what version of java u r using. I fixed the problem I had. It was due to the SSL implementation.

I can help you to fix and run the code in ur environment (though I am *not* a java guru)

u can find the version by the following command

java -version


let me know. u can send me a private message if u don't want to post in this forum.

Good luck
 
C:\WINDOWS>java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

C:\WINDOWS>
 
same errors running kashmir3.zip

Hi,
Did you solve your problem ?
I do have the same, what did you do to solve it ?
Thanks
:D
 
this is what i am getting when i tried.

java -jar kashmir3.zip LIN0312752028 100
Exception in thread "main" java.net.MalformedURLException: unknown protocol: htt
ps
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at kashmir.Kashmir3.<init>(Kashmir3.java:17)
at kashmir.Kashmir3.main(Kashmir3.java:127)
 
Top