on 05-21-2009 12:59 PM
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
Hi ,
In getDescription method , If you initialized any object as null then this error will get.
Remove the null for object initialization.
Thanks
Risha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.