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

Null pointer exception

Former Member
0 Likes
231

Hi all,

I am not able to create a model object, error displays as Null pointer exception.

Z_51Vj_Rfc_Salesorder_Entry_Input eInput = new Z_51Vj_Rfc_Salesorder_Entry_Input();

Please Help .

Thanks in Advance,

Regards,

CSP

View Entire Topic
Former Member
0 Likes

Could you please paste the code in wdDoInit method of your controller? From the statck trace it looks like the error is occurring at line 106 (SalesOrderComp.java:106). Please double check what you have at this line and see if it is correct. If any additional parameters are added to the RFC after the application is deployed and run once, you need to restart the server to refresh the rfc metadata.

Thanks

Ram