cancel
Showing results for 
Search instead for 
Did you mean: 

OVS Error

Former Member
0 Kudos

Hi all,

i deployed wedbdynpr_OVS_Valuehelp .It is giving null pointer exception at



	WDValueServices.addOVSExtension("Data Selection",ovsStartUpAttributes,
									wdThis.wdGetCustOVSController().getOVSInputNode(),
									wdThis.wdGetCustOVSController().getOVSOutputNode(),listener);
	                                  


 public void wdDoInit()
  {
    //@@begin wdDoInit()
	IWDAttributeInfo[] ovsStartUpAttributes = { wdContext.nodePOData() .getNodeInfo().getAttribute("Ebeln")};
	IWDOVSContextNotificationListener listener = wdThis.wdGetCustOVSController().getOVSListener();
		
	WDValueServices.addOVSExtension("Data Selection",ovsStartUpAttributes,
									wdThis.wdGetCustOVSController().getOVSInputNode(),
									wdThis.wdGetCustOVSController().getOVSOutputNode(),listener);
	                                  
    //@@end
  }

Can u plz tell me y this error is comming

Regards

Padma N

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you put a message and check the following

IWDAttributeInfo[] ovsStartUpAttributes = { wdContext.nodePOData() .getNodeInfo().getAttribute("Ebeln")};

<b> wdComponentAPI.getMessageManager().reportSuccess(ovsStartUpAttributes);</b>

Regards

Ayyapparaj

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Padma,

Comment this code

WDValueServices.addOVSExtension("Data Selection",ovsStartUpAttributes,

wdThis.wdGetCustOVSController().getOVSInputNode(),

wdThis.wdGetCustOVSController().getOVSOutputNode(),listener);

print the size of ovsStartUpAttributes & check.

Apart from that send the complete stack trace of ur error.

P.S. - Please close ur previous treads related to this problem.One thread per problem is more than enough.

regards

Sumit

Former Member
0 Kudos

Hi,

Thanks for ur help...Now it is working...But the GUI of my appication is getting disturbed.Actually i kept 3 inputfields in my QueryInputNode which has to be dispalyed..

So much space is comming between each pair of label and Inputfield..and horizantal scroll bar is comming

Can u plz tell me how to correct my GUI

Regards

Padma N

Former Member
0 Kudos

Hi padma,

Its working with the commented line or ur problem is solved??

regards

Sumit