on 2007 Apr 13 11:36 AM
Hi,
I am getting below error when i am calling RFC in webdynpro
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:220)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:186)
at com.bajaj.ess.test.Zrfc_Sopbdc1_Input.<init>(Zrfc_Sopbdc1_Input.java:51)
at com.bajaj.ess.TestCust.wdDoInit(TestCust.java:99)
at com.bajaj.ess.wdp.InternalTestCust.wdDoInit(InternalTestCust.java:154)
... 43 more
Thanks & Regards
muna
hi,
check in WdDoInit() method,
if Zrfc_Sopbdc1_Input is your model node, then you must initialise it properly like,
Zrfc_Sopbdc1_Input newObj = new Zrfc_Sopbdc1_Input();
if this is proper then please post the complete trace.
hope it helps
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Please check in your code TestCust.java at line number 99 because this statement is causing Null pointer.
May be you are accessing an object which is not initialized or is null.
Note:Your input is not sufficient to tell exactly where is the error.
Thanks.
Best Regards,
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it mayb b'coz some context variable that u r using is being set as null.
try debugging the application and chk if any value/ context variable being used has null value
regards,
prasy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.