on 2011 May 11 11:42 AM
Hi Exerts,
I have enhanced one view and did some modification to remove one button. Now when I go to UI and go to transaction then without adding any value if I press Cancel button then I get followin error:
-
Cannot display view TPMOE/VtsEOL of UI Component TPMOE
An exception has occurred Exception Class CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference
Method: CL_TPMOE_VTSEOL_IMPL=>DO_PREPARE_OUTPUT
Source Text Row: 124
-
I checked the code and the entity is empty while calling one of the method. But that piece of code I did not touch.
Any suggestion why is it appearing?
Cheers,
I added check of bound before calling entity methods.
All sorted.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please tell what are the code changes you made.
I believe the code is reading collection of context node TRADE, this must be getting emptied resulting in that exception.
Also please check if by putting the original code back this exception goes.
Thanks,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.