Skip to Content
Former Member
Jul 20, 2007 at 01:21 PM

problem regarding webdynpro application



I am narendra. I am facing problem when i was exceuting sample webdynpro

application (construting a Recursive and loadable webdynpro tree).

It shows that java.lang.NullPointerException is occured when i click the tree nodes.

There is a parameter mapping in this application which can map the tree node elements selected at run time with the action event parameters.

I think that the node which we select at runtime must not be able to passing to the action event parameters.

Here I am giving code of parameter mapping which might be leads to the problem.

public static void wdDoModifyView(IPrivateTreeView wdThis, IPrivateTreeView.IContextNode wdContext, view, boolean firstTime)


//@@begin wdDoModifyView

if (firstTime) {

IWDTreeNodeType treeNode =

(IWDTreeNodeType) view.getElement("TheNode");

/* parameter mapping from parameter "path" to

  • parameter "selectedElement"





/* parameter mapping from parameter "path" to

  • parameter "element".








can anyone help me?

Thanks in advance,