on 09-26-2006 12:47 PM
Hello all,
I am trying to add a value help dropdown list an interactive form. My intention is to get search help for the field directly from sap system, Not through hard coded values.But when i click on drop down box, its giving me the following exception. Can any one figure out the problem and give the solution?
java.lang.NullPointerException
at com.sap.tc.webdynpro.clientserver.event.PDFValueHelpServiceEventHandler.handleServerEvent(PDFValueHelpServiceEventHandler.java:125)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleServiceEvents(WebDynproMainTask.java:495)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:643)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:252)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
Hi Deepti,
How did you implemented value Help Drop Down box ?
Please provide us with the implementation code and the context varaiable details so that i can give clear idea .
Sample code for implementing value Help Drop Down box .
==========================================
IWDAttributeInfo manuInfo =
wdContext.nodeMaterialData().getNodeInfo().getAttribute("ManuName");
ISimpleTypeModifiable manuType = manuInfo.getModifiableSimpleType();
IModifiableSimpleValueSet manuValueSet = manuType.getSVServices().getModifiableSimpleValueSet();
manuValueSet.put("1","Val1");
Please let check this and let me know.
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepti,
Did you allready solved this problem?
I have the same problem now.
Or does anyone else know how to solve this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.