Skip to Content
avatar image
Former Member

JCo Array Index Out of Bounds Exception

HI,Grus:

i install the BI Integration Planning model on our EP Server(NW7.0 sp11),and have completed the defination of following JCo destinations in the Web Dynpro Content Administrator of the J2EE Engine:

BI_MODELDATA

BI_METADATA

WD_ALV_MODELDATA_DEST

WD_ALV_METADATA_DEST

these fours are used by the Integrated Planning,and the status light of these four JCo Dest are green .but when i started use the Integrated Planning MolderWorkbenk, the application was crashed and display the following error message.

java.lang.ArrayIndexOutOfBoundsException: -1

at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:10142)

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:828)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsBoolean(DynamicRFCModelClass.java:527)

at com.sap.ip.bi.plan.model.allmodel.Rspls_Start_New_Rstt_Trace_Input.setI_Switch_On_For_Session(Rspls_Start_New_Rstt_Trace_Input.java:162)

at com.sap.ip.bi.plan.model.maincomp.MainCompInterface.getModel(MainCompInterface.java:176)

at com.sap.ip.bi.plan.model.maincomp.wdp.InternalMainCompInterface.getModel(InternalMainCompInterface.java:127)

at com.sap.ip.bi.plan.model.maincomp.wdp.InternalMainCompInterface$External.getModel(InternalMainCompInterface.java:175)

at com.sap.ip.bi.plan.workbench.Main.init(Main.java:281)

at com.sap.ip.bi.plan.workbench.wdp.InternalMain.init(InternalMain.java:284)

at com.sap.ip.bi.plan.workbench.MainInterfaceView.onPlugDefault(MainInterfaceView.java:96)

at com.sap.ip.bi.plan.workbench.wdp.InternalMainInterfaceView.wdInvokeEventHandler(InternalMainInterfaceView.java:105)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:162)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:375)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:707)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)

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.doGet(DispatcherServlet.java:46)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

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:160)

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)

anyone have idea about this? Helpful answers wil be rewarded for sure. thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 04, 2008 at 02:54 PM

    Please restart your J2EE server.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I have seen this error if there are any changes to RFCs/ BAPIs in ECC(or R3) after importing them into Web Dynpro application. In that case metadata of Web Dynpro application is not same as in ECC.

      Reimport all the models used in application. From NWDS, right click on the model node and "Reimport". If you see any changes(delta changes), continue and fix any errors in application if any. Repeat this process for all the models. Build and Deploy the application. Restart your J2EE server.

      Please update how it goes.

      Cheers

      ~kranthi