on 03-19-2008 7:20 AM
Hi Friends,
In my Application when i am trying to execute my Function module i am getting the following exception during Execution.
at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:10161)
at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValue(JcoBaseTypeData.java:503)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getRelatedModelObjects(DynamicRFCModelClass.java:787)
at com.utc.sap.abc.model.Z_Operation_Output.getT_abc(Z_Operation_Output.java:165)
at com.abc.wdp.IPublicCustomContoller$IT_abc_OperationNode.doSupplyElements(IPublicCustomContoller.java:17097)
Can anyone let me know what might be the problem.
Thanks and regards,
Chandrashekar.
Hi experts,
I am also having the same problem so give me some idea for this error.
regarding,
Antony.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
___In Cache administration while I do Live logging to trace the error I get some new lines with a error symbol____ com.sap.xapps.cprxrpm.ptn.fieldprovider.component.FieldService.CC.assignDynamicNodeValueToObjectNode() -1 com.sap.xapps.cprxrpm.ui.ptn.customfield.controller.customfieldsCC.assignDynamicNodeValueToObjectNode() -1 com.sap.xapps.cprxrpm..ui.ptn.customfield.controller.customfieldsCC.readObjectValueToDynamicCustomFieldNode() -1
*When I click on any one I get the text below*
-1 com.sap.mw.jco.JCO$MetaData.getType(JCO.java:10211) com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValue(JcoBaseTypeData.java:503) com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValue(DynamicRFCModelClass.java:233) com.sap.tc.webdynpro.progmodel.context.ModelNodeElement.wdpGetObject(ModelNodeElement.java:135) com.sap.tc.webdynpro.progmodel.context.ModelNodeElement.wdGetObject(ModelNodeElement.java:178) com.sap.xapps.cprxrpm.ui.portfolioitem.details.component.wdp.IPublicItemDetailsCustom$IEs_AttributesElement.wdGetObject(IPublicItemDetailsCustom.java:7969) com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetObject(MappedNodeElement.java:351) com.sap.tc.webdynpro.progmodel.context.NodeElement.getAttributeValue(NodeElement.java:868) com.sap.xapps.cprxrpm.common.util.ViewServices.readObjectValueToDynamicCustomFieldNode(ViewServices.java:1623) com.sap.xapps.cprxrpm.common.util.ViewServices.createDynamicNodeForCustomFields(ViewServices.java:1335) com.sap.xapps.cprxrpm.common.util.ViewServices.createDynamicViewForCustomFields(ViewServices.java:643) com.sap.xapps.cprxrpm.ui.ptn.customfield.controller.CustomFieldsCC.pluginCustomFieldsForDisplay(CustomFieldsCC.java:135) com.sap.xapps.cprxrpm.ui.ptn.customfield.controller.wdp.InternalCustomFieldsCC.pluginCustomFieldsForDisplay(InternalCustomFieldsCC.java:175) com.sap.xapps.cprxrpm.ui.ptn.customfield.component.CustomFieldsCompInterface.pluginCustomFieldsForDisplay(CustomFieldsCompInterface.java:115) com.sap.xapps.cprxrpm.ui.ptn.customfield.component.wdp.InternalCustomFieldsCompInterface.pluginCustomFieldsForDisplay(InternalCustomFieldsCompInterface.java:126) com.sap.xapps.cprxrpm.ui.ptn.customfield.component.wdp.InternalCustomFieldsCompInterface$External.pluginCustomFieldsForDisplay(InternalCustomFieldsCompInterface.java:215) com.sap.xapps.cprxrpm.ui.portfolioitem.details.component.ItemDetailsView.wdDoModifyView(ItemDetailsView.java:469) com.sap.xapps.cprxrpm.ui.portfolioitem.details.component.wdp.InternalItemDetailsView.wdDoModifyView(InternalItemDetailsView.java:6000) com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78) com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337) com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481) com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551) com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148) com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696) com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253) com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73) com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869) com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229) com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344) com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356) com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549) com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:303) com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197) sun.reflect.GeneratedMethodAccessor3676.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139) com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:667) com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:537) com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120) com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694) com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253) com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) javax.servlet.http.HttpServlet.service(HttpServlet.java:760) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) java.security.AccessController.doPrivileged(Native Method) com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Please help me resolve this issue!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi , have u followed what i listed above? if so, then paste ur exceptions for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Problem with the jco and here are some suggestive steps:
1. reimport the models from r/3
2. logon on to the webdynpro administration page and delete the corresponding jco destinations, model and metadata both.
3.logon on to the portal server and into the Visual Administrator, in service:
deploy->webdynpro->your application,
stop and remove it.
4.restart your j2ee engine.
5.after restart, redeploy your new app and create the jcos for it.
then see what happened.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It usually come when we change the model or any change in the RFC; Try to re-import the model and check its working. Restart the J2EE engine is a must after re-importing the model in to your application.
But i don't understand whats the title (Re: java.lang.ArrayIndexOutOfBoundsException: -1) given for?
Regards
- Vinod
*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sekhar
Have you made any changes in your Funtion Module ? if yes have you reimported the Model ?
if you reimported , you need to restart the J2EE Engine
Or else you can do the following
[ Reimporting Model with out restarting the J2EE Engine |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10465350-b4f5-2910-61ba-a58282b3b6df]
Best Regards
Chaitanya.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Friends,
Thanks for the reply.
Yes i had Re-Imported the model,i have done model binding to my custom controller from the new function module,then context-binding to my respective views.
Thus everything is working fine except such that when i click on Execute Button to execute my task i am getting this exception.
Actually in the new function module the name of a structure has been renamed and thus i had Re-Imported the model.
Please help me out on what might be the possible problem.
Thanks and regards,
Chandrashekar.
Hi,
Have u done metadata cache invalidation for ARFC...if not pls do that also
For that u have to login as administrator into ur webdynpro console
Admin menu->invalidate ARFC Cache --select invalidation of ARFC metadata cache.
Once here click on the Get JCO Destinations .This will list all the JCO Destinations. There is a check box in the second column which indicates Dont Cache. This means for that JCO destination which uses the BAPI, checking the box will not cache any metadata and always get it from the backend. Remember this doesnt cache any metadata and always gets all metadata from the backend. This should be used only for the first access of the BAPI after the metadata on the R/3 has been changed (that is running of the actual application). After the Dont Cache has been checked and the actual application is run we now access the changed ARFC metadata. After this you can uncheck the Dont Cache, so that the Caching becomes active. This will help in improved Performance. For Production Scenarios NEVER CHECK THE Dont Cache!
And also reimport the model and bind it properly and redeploy...
xxxxxxxxxxxxxxxxxxxx
Warm Regards
Shanto Aloor
Edited by: Armin Reichert on Apr 26, 2008 7:01 PM
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.