This content has been marked as final.
Show 1 reply
-
1. Re: hi guys how do i fix java.lang.NullPointerException
sreemanth Sep 5, 2011 11:56 AM (in response to onesleo)Hi Leonado,
You have not mentioned context info or atleast stacktrace.Please provide perfect answer. Any how please find the causes of null pointer exception.
- You are trying to acess the reference without assigning an object(created object).
eg: String s = null;
s.length();// null pointer exception.
I think u might know this concepts. For your scenario provide detail steps.