cancel
Showing results for 
Search instead for 
Did you mean: 

Array index out of range error in PCR!

Former Member
0 Kudos
118

Hi All,

I am trying to test the PCR forms in MSS in portal.

When I click the "Edit Form" button in step 2, I am getting the following error.

"java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1"

I tried all the forms(Change Emp Group/SubGroup, Change Emp Sub Area,...).

I am getting the same error.

What could be the reason for this error?

How do I resolve it?

Thanks

Sundar

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Hi Sundar,

Check whether the user has proper data. Try to execute the RFC in R/3 if it is working fine or not. For ESS/MSS, most of the times this error comes when the data is not available.

Regards,

Siva

Former Member
0 Kudos

Hi Siva,

I am getting below error code.

It looks like what you said.

java.lang.ArrayIndexOutOfBoundsException

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

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.pcui_gp.isr.isrprocessevent.model.Isr_Get_Form_Url_Input.setI_Append_Cache_Info(Isr_Get_Form_Url_Input.java:162)

at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrGetFormUrl(FcISRProcessEvent.java:1029)

at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.setTemplateSource(FcISRProcessEvent.java:459)

at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:798)

at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callIsrProcessEvent(FcISRProcessEvent.java:380)

Thanks

Sundar

Former Member
0 Kudos

Hi,

any rfc reimported ?

Regards,

ramesh

Former Member
0 Kudos

Hi Ramesh,

No.

I am just trying this for the first time.

I didn't make any changes in DC.

Thanks

Sundar

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sundar:

1- Reimport your model

2- Flush the WAS cache (from WD administration page) or restart the instance.

This must solve your problem.

Good luck!

Rocío.

Former Member
0 Kudos

Hi Sundar,

You will get this error if your metadata is not consistant with Backend function module interface.try to reimport the model and clear the cache(for EP7.0 only) in portal or restart J2EE Engine.

Hope this helps

Thanks,

Naidu