Skip to Content
0
Apr 27, 2009 at 10:40 AM

Java Null Pointer Exception

51 Views

Hi,

Scenario 1:- I am creating a simple web dynpro project. I inserted a label. Made a Node say N_Label & its attribute say A_label context for that label. I done the mapping. In implementation, I wrote the following code: wdContext.currentN_LabelElement().setA_Label("MyName");

Problem:- It is throwing javaNullPointer Exception.

Scenario 2:- If I create only attribute without node, it work fine.

Please suggest what could be the reason.

Regards

Chander Kararia