on 08-18-2007 12:32 PM
Hi friends
How to resolve in Nullpointer exception in any application. Give me any causses for raise this exception
Regards
Narain
Hi,
Null Pointer Exception means, there is no value in the context!. So please check whether your context element has some value in or not, it can be come from BAPI or hardcoded value.
Regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narain,
This exception occurs when u try to perform some operation on an object,which is not initialized .send the stack trace to find out the problem,
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The various cases when "null pointer exception" appears have been listed in the above reply.
In the Stack Trace generally you can find the line number in the code, where the null pointer has appeared. Debugging might help.
Regards
Arpita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
<u>Nullpointer exception</u>
This is a typical java error. Some piece of code tries to access an object that does not exist
Thrown when an application attempts to use null in a case where an object is required. These include:
Calling the instance method of a null object.
Accessing or modifying the field of a null object.
Taking the length of null as if it were an array.
Accessing or modifying the slots of null as if it were an array.
Throwing null as if it were a Throwable value.
Check the exception for the stack trace to find out where it happens.
Regards
Chandran S
Message was edited by:
Armin Reichert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.