on 09-25-2008 1:12 PM
Hi All,
I am getting a dump when I test my application in web dynpro. The dump message I'm getting is "Access via 'NULL' object reference not possible"
Kindly let me know the reason behind it.
Thanks in Advance
Murli
Hi Arun,
Actually this method 'get_attribute_external' is a method called by the system itself. I tried putting a break point in my method, the program never gets processed till my break point. So can u tell me how to put the break point in the method 'get_attribute_external'.
Thanks n Regards.
Murli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I did try to debug, the source code extract from ST22 says a problem with the method 'get_attribute_external', which I have not used in the code. The method which i have written is never getting executed.
Pls reply..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
The run time error suggests that object reference is not assigned. It says that reference has not been created. But in my code i have created reference for the node (using code wizard).
Will there be a problem bcoz of the view name?(Many webdynpro applications having the same view name).
Or do we need a patch to be intsalled in the server to avoid this error?
Pls reply.. Thanks In advance..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murali,
Welcome to SDN.
This null object reference error comes when you have a node or element which is initial or not instantiated.
Put a breakpoint and find out the place of dump.
Regards..
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are probably trying to access a node or element that has not been created or instantiated yet,look at the dump in ST22 in more detail it should tell you the object that is null.
Regards
Carl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.