Skip to Content
0
Former Member
Dec 04, 2008 at 07:02 AM

java.lang.ArrayIndexOutOfBoundsException: -1 Error

235 Views

Hi @,

I am using Adaptive RFC model and have made some changes in it. I have added a new import parameter and on reimporting and completeing the changes I am running the application . On running the application I am getting error:

java.lang.ArrayIndexOutOfBoundsException: -1

java.lang.ArrayIndexOutOfBoundsException: -1

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

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

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

at com.hsbc.paymentmonitor.model.paymentref.Z_Pymntrefdtls_Get_Input.setPaymentdocno(Z_Pymntrefdtls_Get_Input.java:222)

at com.hsbc.paymentmonitor.paymentmonitorcomp.PymntMonitorComp.executeZ_READ_TRAN_PYMNTREFDTLS(PymntMonitorComp.java:302)

... 66 more

Now the trace field is showing the new field added int he import parameter. I dont know why this is hapeneing. I have already invalidated the cache for the dictionary.

How can I solve this?

Regards,

Amit