Skip to Content
0
Jan 23, 2009 at 05:41 AM

java.lang.NullPointerException

20 Views

hI,

i M facing java.lang.NullPointerException problem wen i run my webdynpro application

see, here is the code

in component controller,

doinit method

wdContext.nodeYfmess_Payslip_Java_Input().bind(new Yfmess_Payslip_Java_Input());

executemodel

IWDMessageManager manager = wdComponentAPI.getMessageManager();

try {

wdContext.currentYfmess_Payslip_Java_InputElement().modelObject().execute();

wdContext.nodeOutput().invalidate(); }

catch(WDDynamicRFCExecuteException e) {

manager.reportException(e.getMessage(), false); }

In View,

wen i click on submit button

wdThis.wdGetSalaryStatementController().executeYfmess_Payslip_Java_Input();

What might b the probelm. Wen its not at all going to execute method in controller

is it probelm with model? her my export parameter type is XSTRING in my RFC. Can i use type XSTRING