cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.NullPointerException

Former Member
0 Likes
2,914

Hi All,

Can Any one tell me abt java.lang.NullPointerException.

when we will get this type of error and how to solve this.

if we get this error where we have to check the error.

View Entire Topic
Former Member
0 Likes

Hi

U will receive NullPointerException when u r trying to address a parameter that holds null value.

For instance if u try to get the value of a context attribute and that value is null u will receive that exception.

In order to understand why does it happen u will have to examine when in the application is it being throwed ( like : when clicking a specific button ) .

And then debug the code of the event to understand when do u point null.

If u will send the complete exception thrown I can tell u at which method it was thrown.

Hope it helps

Nitsan

Ask a Question