Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

some problem with model connection code

<b>try {



//wdComponentAPI.getMessageManager().reportSuccess("jco client:: "+clientJCO);

mo_ptmng_ov = (M_flightmodel )WDModelFactory.getModelInstance(M_flightmodel.class,WDModelScopeType.APPLICATION_SCOPE);


} catch (Exception e) {

// TODO Auto-generated catch block

wdComponentAPI.getMessageManager().reportSuccess("WDSystemLandscapeException "+e.getMessage());

wdComponentAPI.getMessageManager().reportSuccess("WDSystemLandscapeException cause "+e.getCause());


a null pointer exception is thrown for this code at the runtime.plz help me out,i am not able to find the error

Not what you were looking for? View more on this topic or Ask a question