cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.ArrayIndexOutOfBoundsException: -1

Former Member
0 Likes
1,317

Hi all,

I implemented a view with 3 filters called Group,Criteria and hits.

On click of search i am getting arry index out of bound exception.

and it is showing error at the point of setting inputs to the function module.

the stack trace is given below

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

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

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsString(DynamicRFCModelClass.java:669)

at com.pwc.servicecenter.sapwai.wdmodel.zclassgetlist.Z_Class_Getlist_Input.setClass_Type(Z_Class_Getlist_Input.java:282)

Earlier it worked fine but now i am not able to find why it is showing Array Index Out of Bound Exception

Can any one please help me out in this

Regards

Padma N

View Entire Topic
Former Member
0 Likes

Hi Padma,

Just check at the backend if the structure of the RFC you are calling is not changed and the configuration settings of the JCOs you are using is not changed.

If yes, then you will need to reimport the model either creating or customizing the JCOs or the unchanged JCOs(if the signature of RFC is changed).

In both the cases you may need to restart the J2EE engine.

Regards.

Rajat

Former Member
0 Likes

Doing as suggested in below link will solve the problem with out server restart.

>>Just ask the ABAP developer to copy the Old RFC in to new one, this definetly resolve the issue

Ask a Question