PDA

View Full Version : java.lang.nullpointer exception


uwhiz
03-27-2006, 10:39
Hi All,

I have written a java service which converts stringtodatestring. I'am calling this service from another service Ia'm getting this error "java.lang.nullpointerexception". I have checked the inputs an all possible causes that i can think.

Anyideas,

Thanks,
uwhiz

jaya0313
03-27-2006, 10:46
check your java code some where you are trying to convert null value into string. First try to run the java service seperately instead of calling it from another service. If possible paste your code in the next post.
Thanks
Jay

uwhiz
03-27-2006, 12:05
Hi Jay,

Yeah the problem solved. I was passing null value to the stirng.

once again thanx,

uwhiz

castropb
03-28-2006, 10:26
Just curious: what does your service do exactly? Is it anything that the services in WmPublic/pub.date don't already do?

- Percio