cancel
Showing results for 
Search instead for 
Did you mean: 

Callable object error

Former Member
0 Kudos

Hi All,

I am using CE 7.1. I have created an application in WD Java and am now trying to create a callable object of type Webdynpro Component (GP Interface). However, after selectig the type and entering the details I am getting the following error:

The initial exception that caused the request to fail, was:

java.lang.NullPointerException

at com.sap.caf.eu.gp.co.impl.GPTechnicalDescription$TechnicalDesc.resolveText(GPTechnicalDescription.java:422)

at com.sap.caf.eu.gp.ui.co.config.wd.VSelect.selectApplication(VSelect.java:706)

at com.sap.caf.eu.gp.ui.co.config.wd.VSelect.onActionSelectApplication(VSelect.java:251)

at com.sap.caf.eu.gp.ui.co.config.wd.VSelect.onActionApplicationSelected(VSelect.java:330)

at com.sap.caf.eu.gp.ui.co.config.wd.VSelect.initializeCreate(VSelect.java:482)

... 73 more

This error is only when i try to create a callable object of Webdynpro Component (GP Interface) type. The other types do not cause any error.

I need this working urgently. Any help will be appreciated.

Thanks in advance,

Malita

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

In getDescription method , If you initialized any object as null then this error will get.

Remove the null for object initialization.

Thanks

Risha

Former Member
0 Kudos

Hi Mallita,

The problem is in getDescription() of the webdynpro callable object. Check the line number 422. There you are trying to access an object's attribute or method whereas the object itself is not present.

Regards,

Srinivasan Subbiah

ankur_garg5
Active Contributor
0 Kudos

Hi Malita,

First thing I would like to say is that you should not be bothered about the other type of Callable objects which are not giving this error. They are not giving error because they are not callable objects of type Web Dynpro. This callable object is giving error because this is a callable object of type Web Dynpro and your Web Dynpro application is throwing an error.

As far as the NullPointerException is concerned, can you please copy the code you have written in getDescription() method of your interface controller of your web dynpro component? After seeing the code, I might be able to tell you what is going wrong.

Bye

Ankur