on 02-22-2012 4:54 PM
Hi All,
I am unable to trace where this error is being thrown. please help me.
java.lang.IllegalArgumentException:
at com.sap.tc.webdynpro.clientserver.data.DataContainer.createLocalPath(DataContainer.java:1350)
at com.sap.tc.webdynpro.clientserver.data.DataContainer.updateAttribute(DataContainer.java:454)
at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateAttribute(AbstractAdapter.java:653)
at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter$FilterField.onINPUTFIELDCHANGE(TableAdapter.java:4231)
at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter.onINPUTFIELDCHANGE(TableAdapter.java:10597)
... 46 more
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:981)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.updateEventQueue(HtmlClient.java:380)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.prepareTasks(AbstractClient.java:93)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:308)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1257)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:826)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:331)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:973)
... 41 more
Caused by: java.lang.IllegalArgumentException:
at com.sap.tc.webdynpro.clientserver.data.DataContainer.createLocalPath(DataContainer.java:1350)
at com.sap.tc.webdynpro.clientserver.data.DataContainer.updateAttribute(DataContainer.java:454)
at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateAttribute(AbstractAdapter.java:653)
at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter$FilterField.onINPUTFIELDCHANGE(TableAdapter.java:4231)
at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter.onINPUTFIELDCHANGE(TableAdapter.java:10597)
... 46 more
Thanks
Uday
Hi,
Have you initialized lead selection? Looks to me lead selection is not set
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes robin,
i initialized the node.
I am also getting another error just now.
java.lang.ArrayIndexOutOfBoundsException: -1
at com.sap.mw.jco.JCO$Record.getString(JCO.java:12780)
at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValueAsString(JcoBaseTypeData.java:669)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValueAsString(DynamicRFCModelClass.java:427)
at com.sap.tc.webdynpro.tests.Zhr_Ess_Fm_Quarter_Grouping_Output.getQ1_Ratext(Zhr_Ess_Fm_Quarter_Grouping_Output.java:299)
at com.sap.wdp.IPublicPMS_New$IOutput_countElement.wdGetString(IPublicPMS_New.java:2841)
Thanks
uday
Hi
while re import the RFC u will get some error. By cache invalidation and Re Start the J2EE Engine Server you can solve the problem.
After Re-Import the model you can do cache invalidation
There is a need to restart the portal system to clear the cache. Once its done your application would work fine.
Another thing that you can try to clear the cache is
1. Go to link http://<servername>; : <portname> /webdynpro/dispatcher/sap.com/tcwdtools/WebDynproConsole
2. Click on the last link in detail navigation "Invalidation of ARFC Metadata Cache"
3. From "Adaptive RFC Metadata Cache Invalidation " tray, choose the JCO that you are using
4. From " Dictionaries Cache Invalidation" tray, choose the dictionary(model) whose cache you want to clear.
The above option saves time but in case it doesnu2019t work, you can go in for Portal restart. It would surely work.
If you have more clarification please read the [Document|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3b6df]
Hope this helps!!
Best Regards
Vijay K
Thanks Vijay,
I do know this procedure. But I feel that the error I am getting is because of some problem with TableFilter.java files I am using or may be the source node I am trying to bind to the table has some problem.
Thanks anyway to one and all. My functional consultant changed requirement and i am doing this in a different way.
Regards
Uday
Hi Uday,
I am also stuck in the same condition, in my case I am not getting any error but still there is no filter in the table.
1. My table is dynamically created and I dont have any properties of table in the context which I can set.
2. Still I set some parameters using methods to the nodes but still it does not seem to work.
3. What was the requirement your functional changed and were you able to achieve filtering in some other way ?
Please help me my mail id: gaurav.jss@gmail.com
Thanks.
Hi Uday,
Thanks for teh quick response.
There is no error, but no filtering as well and no filter row as well. I also need to implement just filtering and no sorting. But my table is not bound to the model like normal, only code is there for table creation no layout view is available. I think the node bindings are not proper in my case, I dont figure out what should be the correct names of properties in my nodes.
Please help.
Regards,
Gaurav.
Hi Gaurav,
Because you have mentioned that your table is dynamically created, there may not likely be any view in your case. However, you do need to figure out in which node you are storing those table values and to that node you can apply table filter. I am quite not sure how it works with dynamic table creation. Please wait for others responses or post separate thread for the same.
Regards
Uday
Hi Uday,
Even i had same issue when i was developing this first time.
This may cause because of cardinality for that node. This cardinality must be 1..1.after changing this value this was working fine for me
Thanks & Regards,
Channa Mallaiah.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.