Skip to Content
0
Former Member
Feb 15, 2012 at 11:25 AM

Critical error while clicking on "Approve Another Absence" in UWL

40 Views

Hi,

We have this problem in the Time management portal. After a manager approves a leave request from u201CMy Worklistu201D link, when he clicks on u201CApprove Another Absenceu201D he is getting critical error. This happens only when he does not have any other leave pending for approval. Could you please help me to resolve this error. Thanks in Advance!!

Below is the error

Critical Error

A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.

Please contact your system administrator.

Index: 0, Size: 0

Index: 0, Size: 0:java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.RangeCheck(ArrayList.java:507)

at java.util.ArrayList.get(ArrayList.java:324)

at com.sap.aii.proxy.framework.core.JcoBaseList.get(JcoBaseList.java:272)

at com.sap.aii.proxy.framework.core.AbstractList.get(AbstractList.java:230)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCList.get(DynamicRFCList.java:281)

at com.sap.tc.webdynpro.progmodel.context.Node$ModelElementList.getElement(Node.java:2543)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)

at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:753)

at com.sap.xss.hr.lea.form.FcForm.setLeadSelectionForSubtype(FcForm.java:719)

at com.sap.xss.hr.lea.form.FcForm.setVisibility(FcForm.java:965)

at com.sap.xss.hr.lea.form.FcForm.prepareCommand(FcForm.java:321)

at com.sap.xss.hr.lea.form.wdp.InternalFcForm.prepareCommand(InternalFcForm.java:2042)

at com.sap.xss.hr.lea.form.FcFormInterface.prepareCommand(FcFormInterface.java:116)

at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface.prepareCommand(InternalFcFormInterface.java:1887)

at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface$External.prepareCommand(InternalFcFormInterface.java:1983)

at com.sap.xss.hr.lea.form.edit.VcFormEdit.onInit(VcFormEdit.java:303)

at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onInit(InternalVcFormEdit.java:1084)

at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onInit(VcFormEditInterface.java:165)

at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onInit(InternalVcFormEditInterface.java:204)

at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface$External.onInit(InternalVcFormEditInterface.java:280)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)

at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)