Java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 1 is
I have two drop down. If i change value in 1st drop down, the 2nd drop down value list changes( i am using using autoSubmit and partialTriggers ).
But when i try to change the value in 2nd drop down list, and again change the value in the 1st dropdown, i get the below error. Please help me.
<tr:selectOneChoice autoSubmit="true" value="#{addbean.accountFeature}" id="selectAccountFeatures" size="1">
<f:selectItems value="#{inputMap}" />
</tr:selectOneChoice>
<tr:selectOneChoice partialTriggers="selectAccountFeatures" value="#{addbean.cardOrCheckTitle}" id="selectCardOrCheckType" size="1">
<f:selectItems value="#{checkTypeMap}" />
</tr:selectOneChoice>
java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 1 is out of bounds. It should be between 0 and 0
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.__getIndex(SimpleSelectOneRenderer.java:423)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:214)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:181)
at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:65)
at org.apache.myfaces.trinidad.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:422)
at org.apache.myfaces.trinidad.component.UIXEditableValue.validate(UIXEditableValue.java:164)
at org.apache.myfaces.trinidad.component.UIXEditableValue._executeValidate(UIXEditableValue.java:488)
at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:270)
at javax.faces.component.UIForm.processValidators(UIForm.java:74)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:709)
at javax.faces.component.UIViewRoot.access$101(UIViewRoot.java:43)
at javax.faces.component.UIViewRoot$2.process(UIViewRoot.java:97)
at javax.faces.component.UIViewRoot.process(UIViewRoot.java:206)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:93)
at org.apache.myfaces.lifecycle.ProcessValidationsExecutor.execute(ProcessValidationsExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148)
at arch.jsf.JsfResource.process(JsfResource.java:145)
at arch.presentation.beans.WebApplication._doServletFilterForRequest(WebApplication.java:564)
at arch.presentation.beans.WebApplication.processResource(WebApplication.java:1368)
at arch.presentation.beans.WebApplication.processRequest(WebApplication.java:2531)
at arch.service.beans.ServiceContainer.processRequest(ServiceContainer.java:3913)
at arch.no.engine.Context.processRequest(Context.java:68)
at arch.no.engine.HttpConnector.processRequest(HttpConnector.java:58)
at arch.no.http.Response.prepare(Response.java:563)
at arch.no.http.Response._execute(Response.java:1975)
at arch.no.http.Response.execute(Response.java:1910)
at arch.no.http.HttpThreadPool._run(HttpThreadPool.java:32)
at arch.util.ThreadPool._runLoopBody(ThreadPool.java:215)
at arch.util.ThreadPool._runForThread(ThreadPool.java:232)
at arch.util.ThreadPool.access$000(ThreadPool.java:5)
Then either you did it wrong, or it is a bug in Trinidad.
I've explored the Google results of the in the subject mentioned exception message and I noticed suggestions such as setting the value with an empty String. This is a nasty bug. Report it to the Trinidad boys over there at Apache.org. This problem is not related to the JSF core API.
Similar Messages
-
Hi All,
See First Method
Lov code in .jspx file
selectOneChoice
<af:selectOneChoice value="#{bindings.vwDmsApplMapDocType.inputValue}"
label="" showRequired="true"
binding="#{docDownload.selectOneChoice3}"
autoSubmit="true" immediate="true" id="selectOneChoice3"
valueChangeListener="#{docDownload.getApplMapDocType}"
partialTriggers="selectOneChoice2" inlineStyle="width:50%">
<f:selectItems value="#{bindings.vwDmsApplMapDocType.items}"/>
</af:selectOneChoice>
valu change listener
getApplMapDocType(ValueChangeEvent valueChangeEvent)
public void getApplMapDocType(ValueChangeEvent valueChangeEvent){
FacesContext fctx = FacesContext.getCurrentInstance();
setAppKey(JSFUtils.getProcessAttribute("appid").toString());
System.out.println("\n value of doc type == "+selectOneChoice3.getValue());
Integer rowKey = null;
String docAppId = null;
try
ValueBinding vbinding = fctx.getApplication().createValueBinding("#{bindings.vwrDMSDocTypeIterator}");
DCIteratorBinding doctypeIterBinding = (DCIteratorBinding)vbinding.getValue(fctx);
if (valueChangeEvent != null && valueChangeEvent.getNewValue() != null) {
System.out.println("\n valueChangeEvent is not null then value is == "+valueChangeEvent.getNewValue());
rowKey = ((Integer)valueChangeEvent.getNewValue()).intValue();
//rowKey = Integer.parseInt(valueChangeEvent.getNewValue().toString());
//rowKey = ((Integer)selectOneChoice3.getValue()).intValue();
//rowKey = Integer.parseInt(selectOneChoice3.getValue().toString());
System.out.println("\n Value of rowKey == "+rowKey);
if (appKey != null) {
Row[] rw = doctypeIterBinding.getAllRowsInRange();
System.out.println("\n Row Value == "+rw);
System.out.println("\n value of doc DocType == "+rw[rowKey].getAttribute("DocType"));
System.out.println("\n value of doc AppId == "+rw[rowKey].getAttribute("AppId"));
System.out.println("\n value of doc DocTypeDesc == "+rw[rowKey].getAttribute("DocTypeDesc"));
System.out.println("row key value means doc type: = "+rowKey);
docType = (String)rw[rowKey].getAttribute("DocType");
docAppId = (String)rw[rowKey].getAttribute("AppId");
docTypeDesc = (String)rw[rowKey].getAttribute("DocTypeDesc");
JSFUtils.putOnProcessScope("jsfdoctype", docType);
this.setDocType(docType);
this.setDocTypeDesc(docTypeDesc);
}else{
JSFUtils.addFacesWarningMessage("Document type is Required");
catch (Exception e)
e.printStackTrace();
FacesContext fc = FacesContext.getCurrentInstance();
FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_WARN, "Its in getMap Doc Type", null);
fc.addMessage(null, fm);
System.out.println("Error Occurs in " +
e.getMessage());
I am using JDeveloper10.3.2 Application is already developed and running on production, i am doing some changes in this application. I have a lov which is populated from from DB. After choosing these love when i am changing other fields then i am getting below error. Here i am used valuePass=true then also i its not working. Actually its working some time but most of the time is getting below error.
Console Error
13/10/24 11:11:24 [16901] Bind params for ViewObject: vwrShops
13/10/24 11:11:24 [16902] $$added root$$ id=-2
Oct 24, 2013 11:11:24 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
SEVERE: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.__getIndex(SimpleSelectOneRenderer.java:347)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:189)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:157)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:42)
at oracle.adf.view.faces.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:455)
13/10/24 11:11:24 [16903] Resolving VO:vwrDmsDocMandField for iterator binding:vwrDmsDocMandFieldIterator
13/10/24 11:11:24 [16904] Resolving VO:vwrDMSParamType for iterator binding:vwrDMSParamTypeIterator
13/10/24 11:11:24 [16905] *** DCDataControl.sync() called from :DCBindingContainer.refresh
13/10/24 11:11:24 [16906] *** DCDataControl.sync() called from :DCBindingContainer.refresh
at oracle.adf.view.faces.component.UIXEditableValue.validate(UIXEditableValue.java:198)
at oracle.adf.view.faces.component.UIXEditableValue._executeValidate(UIXEditableValue.java:522)
at oracle.adf.view.faces.component.UIXEditableValue.processDecodes(UIXEditableValue.java:272)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXForm.processDecodes(UIXForm.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:171)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at amgdms.view.utils.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:70)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
13/10/24 11:11:24 javax.servlet.ServletException: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
13/10/24 11:11:24 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:225)
13/10/24 11:11:24 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
13/10/24 11:11:24 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
13/10/24 11:11:24 Exception in ApplicationSessionExpiryFilter.doFilter:javax.servlet.ServletException: SelectOne submittedValue's index 4 is out of bounds. It should be between 0 and -1
13/10/24 11:11:24 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
13/10/24 11:11:24 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:171)
13/10/24 11:11:24 at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
13/10/24 11:11:24 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
13/10/24 11:11:24 at amgdms.view.utils.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:70)
13/10/24 11:11:24 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
13/10/24 11:11:24 at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
13/10/24 11:11:24 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
13/10/24 11:11:24 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
13/10/24 11:11:24 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
13/10/24 11:11:24 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
13/10/24 11:11:24 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
13/10/24 11:11:24 at java.lang.Thread.run(Thread.java:595)
Oct 24, 2013 11:11:24 AM oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
INFO: Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: D:\c\Oracle\Middleware\JDeveloper10.1.3.2\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\default-web-app\DMSTimeOut.jspx (The system cannot find the file specified)
13/10/24 11:11:40 [16907] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
For Screen Please Click Here To See Screen Shot
Whats the wrong? How can i fix it,
MaroofAny Update?
-
Hi Experts,
Through protal I am changing Other Bank details (IT0009 subtype 0001) for US employee.
I get the error java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 when I am edditing the other bank details.
Please help me out in this.
PrasadHi,
java.lang.IndexOutOfBoundsException occurs when the runtime environment tries to access the index of an array which doesn't exist. (Index 2 = third entry, you only seem to have 2 entries though).
Are you certain, the Pernr's Infotype is maintained correctly?
Could you post the entire error log from NWA so we can see the JAVA Stack? Maybe the error is nested.
Check Notes 1356222 and 1359671 as well. They might solve your error right away.
best regards, Lukas
Edited by: Lukas Weigelt on Jul 14, 2011 9:36 AM -
Java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
We have upgraded from Crystal 10 to 2008. We are able to run all reports from the admin console but when trying to connect and run from a java based application to the crystal server, we encounter the following error:
[0000TvbEgjI3QkQAR-cNXc83c5x:-1]2010-06-28 17:13:23,797] [AUDIT]: - Reports - Attempt to schedule - [EXPORT] - Activity_Tag_Change_DB:_E0002046A_PLDB:_LUKETEST_SS:_NEW-V#1-5/06_ACT_RPT-5/6/10 8:37 AM_to_SS:_NEW-V#1-6/26_ACT_RPT-6/26/10 1:17 PM_Run_On:[6-28-2010][17:13:23.797] -- Failed -- Index: 0, Size: 0
[0000TvbEgjI3QkQAR-cNXc83c5x:-1]2010-06-28 17:13:24,579] [ERROR]: - Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.util.ArrayList.RangeCheck(ArrayList.java)
at java.util.ArrayList.get(ArrayList.java)
at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.get(InfoObjects.java:530)
at com.acnielsen.arch.crystalreports.ReportManager.scheduleReport(ReportManager.java)
at com.acnielsen.espec.web.action.activity.ReportParametersAction.export(ReportParametersAction.java:697)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
The query value is: Select SI_PROCESSINFO.SI_PROMPTS From CI_INFOOBJECTS Where SI_NAME = 'Export_Activity_Tag_Change.rpt' AND SI_PARENT_FOLDER IN (1109,1928,2383) AND SI_INSTANCE = 0
The code that generates this error is:
IInfoObjects infoObjects = infoStore.query(query);
IInfoObject infoObject = (IInfoObject) infoObjects.get(0);
Com.crystaldecisions.sdk.occa.infostore.iinfoobject is the class that I'm calling.
Any help would be greatly appreciated.
Thank youHi,
We need more information from your side to understand this issue better :
First where from are you trying to connect is it client machine or server machine ?
What is the Application server you are using.. ?
On which server you are trying to configure ?
Before upgrade was it working perfectly ?
Thanks
Shakeel -
Java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Hi,
I am using Jdeveloper 11.1.1.5.
When we are trying to create a new row in the table through EO, we have overrided the default Create method in EOImpl.
protected void create(AttributeList attributeList) {
DBTransaction trans = getDBTransaction();
SequenceImpl seq = new SequenceImpl("CONTACT_INFO_ID_Q", trans);
DBSequence dbSeq = new DBSequence(seq.getSequenceNumber());
System.out.println("dbseq is "+dbSeq);
this.setContactInformationId(new Long(dbSeq.toString()));
super.create(attributeList);
We are getting Index 1 size 1 error at the point where we are trying to set the key attribute (ContactInformationId) for this EO. We are setting this key attribute through a sequence. Detailed log shows:
[2012-08-25T09:11:17.933-04:00] [DefaultServer] [TRACE:32] [] [] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 284928cbeaee1f83:4f86d3a2:1395de4e125:-8000-0000000000000044,0] [SRC_CLASS: oracle.adf.model.binding.DCBindingContainer] [APP: Prism#V2.0] [SRC_METHOD: reportException] [23459] oracle.jbo.RowCreateException: JBO-25017: New entity row of type PhoneXEO cannot be created.[[
at oracle.jbo.server.ViewRowStorage.processRowCreateExceptions(ViewRowStorage.java:3872)
at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1155)
at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:472)
at org.adr.prism.account.model.view.AccountPhoneVORowImpl.create(AccountPhoneVORowImpl.java:1264)
at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:489)
at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5568)
at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1937)
at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2458)
at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2499)
at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2480)
at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:10857)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1364)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at oracle.jbo.server.QueryCollection.getRowInitValues(QueryCollection.java:1859)
at oracle.jbo.server.ViewObjectImpl.createRowWithEntity(ViewObjectImpl.java:15132)
at oracle.jbo.server.ViewObjectImpl.createNewRowInQC(ViewObjectImpl.java:15467)
at oracle.jbo.server.ViewObjectImpl.afterRowUpdate(ViewObjectImpl.java:13573)
at oracle.jbo.server.ViewObjectImpl.sourceChanged(ViewObjectImpl.java:13839)
at oracle.jbo.server.EntityCache.sendEvent(EntityCache.java:1498)
at oracle.jbo.server.EntityCache.deliverEntityEvent(EntityCache.java:1514)
at oracle.jbo.server.EntityCache.notifyColumnAndBlgChange(EntityCache.java:1570)
at oracle.jbo.server.EntityImpl.notifyAttributesChanged(EntityImpl.java:7384)
at oracle.jbo.server.EntityImpl.notifyAttributesChanged(EntityImpl.java:7365)
at oracle.jbo.server.EntityImpl.notifyAttributesAndBlgChanged(EntityImpl.java:7374)
at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3642)
at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3203)
at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1971)
at org.adr.prism.contact.model.entity.ContactInformationEOImpl.setContactInformationId(ContactInformationEOImpl.java:267)
* at org.adr.prism.contact.model.entity.ContactInformationEOImpl.create(ContactInformationEOImpl.java:521)*
* *at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1163)
at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1151)
... 81 more
## Detail 0 ##
Thanks,
Ankit BhatiaCan someone suggest me what can be done to fix this issue.
When we are trying to create a new row in the table through EO, we have overrided the default Create method in EOImpl. We are getting this error only in a particular scenario. It is working fine for the other VOs created for this EO and also working for a particular scenario in the same VO.
I would also like to mention if "Application module pooling" is turned off in AM configurations, it is working fine although it is bringing new errors. So turning this configuration off will not help and is also not an ideal solution.
Will creating a seperate VO for this scenario be any help? -
Hi all,
I'm sending this thread on behalf my colleague Vishnupriya.
He is facing an issue when clicking on Leave Request link it throws an exception:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
They have recently installed Business Package for XSS.
Please kindly help this colleague.
Best regards,
Márcio LeoniThis occurs due to misconfiguration, please check:
Please can you check if the Pernr used
has correct information like It0105 etc, also the rules are
correctly defined.
For the Employee, First of all check the Period Work Schedule also
the Quotas of the pernr needs to maintained in 2006, Please do
this customisation and it should solve the issue.
Maintain the absence quota in the IT2006 and then try once.
Also make sure that the Settings in Webmo and PTARQ etc all is done
The pernr belongs to the a Rule and have absences defined for him. -
Hi All,
I am getting error java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
when i am accessing the salary slip link show overview.
Where i am missing. Is this related to some Configurations in R/3.
If yes then where to apply this setting and what parameters to set.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:512)
at java.util.ArrayList.get(ArrayList.java:329)
at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2034)
at com.sap.tc.webdynpro.progmodel.context.Node$MappedElementList.getElement(Node.java:2399)
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.rem2.selection.SelectionView.wdDoModifyView(SelectionView.java:141)
at com.sap.xss.hr.rem2.selection.wdp.InternalSelectionView.wdDoModifyView(InternalSelectionView.java:433)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
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.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Please Help me asap.
Thanks & Regards,
Dhruv ShahHi Suresh,
I have same type of problem.I have checked ex_filtered_rgdir itab in debug mode. I have only one enty. but still iam getting Java exception error. Please let me know do i need to do any thing.
see my code below under following method: IF_EX_XSS_REM_INTERFACE~PROVIDE_FILTERED_RGDIR
loop AT IM_IN_RGDIR into wa_rgdir .
if wa_rgdir-PAYDT le sy-datum.
append wa_RGDIR TO EX_FILTERED_RGDIR.
endif.
ENDLOOP.
But when i click on Show Overview Link then below error is coming.
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.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2034)
at com.sap.tc.webdynpro.progmodel.context.Node$MappedElementList.getElement(Node.java:2399)
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.rem2.selection.SelectionView.wdDoModifyView(SelectionView.java:141)
at com.sap.xss.hr.rem2.selection.wdp.InternalSelectionView.wdDoModifyView(InternalSelectionView.java:433)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
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.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Thanks and Regards,
Raju
Edited by: Vamsi K on May 20, 2009 10:20 AM
Edited by: Vamsi K on May 20, 2009 10:21 AM
Edited by: Vamsi K on May 20, 2009 10:22 AM -
Has anybody ever experience this type of exception?
Would really appreciate some comments.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.entry(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at sun.net.www.protocol.http.PathMap.get(Unknown Source)
at sun.net.www.protocol.http.AuthenticationInfo.getAuth(Unknown Source)
at sun.net.www.protocol.http.AuthenticationInfo.getServerAuth(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getHeaderField(Unknown Source)
at java.net.URLConnection.getHeaderFieldInt(Unknown Source)
at java.net.URLConnection.getContentLength(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source)The linked list function is being called internally, I have
no control over that. I get this exception when I call
sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength().
Thanks for the reply. -
Hi Experts,
I am getting dump when I tried to edit or delete the family dependents details in my case only for china employee.I can add family dependents but when I tried to edit or delete the added record from the overview screen it is throwing the dump.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:539)
at java.util.ArrayList.get(ArrayList.java:356)
at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2034)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementAt(Node.java:628)
... 64 more
See full exception chain for details.
Any one please help me out in solving this issue.
Thanks in advance,
Harish.K.Hi Harish
Please check the SP landscape matches the recommendations in the following link
https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/marcio+leoni
--->HOW TO GET RID OF SP STACK MISMATCH ISSUES
Best wishes
Stuart -
Java.lang.IndexOutOfBoundsException Index:244 Size:244
Hi!
I m working on an application built entirely on servlet technology. My problem is that I m getting a "java.lang.IndexOutOfBoundsException Index:244 Size:244" . when I m running my servlet. But the strange part of this exception is that my servlet is running perfectly alright when the size of ArrayList is small but gives the above exception when its size is large.
Plz! help me outYou realize that the indexes in Java generally go from 0 to size-1, right? Other than that, I don't know what kind of help you are expecting.
-
I am having problems using a custom view handler with my JSF 2.0 web application. The custom view handler worked fine under JSF 1.2, but now when the application is configured to use this handler, I get an IndexOutOfBoundsException as soon as I click a link or a button in my application. I have also tried the view handler in an simple example web application from the Core JSF book that works without the handler, but stops working as soon as I add the custom view handler.
I am using:
Tomcat 7.0.10
Mojarra 2.0.4 FCS
Here is the exception:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at javax.faces.component.AttachedObjectListHolder.restoreState(AttachedObjectListHolder.java:165)
at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1432)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1207)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1222)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1222)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1222)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1222)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1222)
at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1222)
at javax.faces.component.UIViewRoot.processRestoreState(UIViewRoot.java:872)
at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:201)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:448)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:148)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288)
at myapp.CustomLocaleViewHandler.restoreView(CustomLocaleViewHandler.java:76)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:187)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
Here is the view handler configuration in faces-config.xml:
<application>
<message-bundle>myapp.bundles.Resources</message-bundle>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>fr</supported-locale>
</locale-config>
<view-handler>myapp.CustomLocaleViewHandler</view-handler>
</application>
</faces-config>You can swith off partial state saving. It is not reccomended(partial state saving have better performance, it not update every request all JSF model), but it solve problem.
<context-param>
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
<param-value>false</param-value>
</context-param> -
Java.lang.IndexOutOfBoundsException while using lexicals
Hi,
I am trying to use a dynamic where clause with the described mechanism.
- all report parameters defined as global variables in default package
- whereclause defined as global variable in default package
- defaultPackage defined in DataTemplate
- before Report Trigger defined as function in default package which sets the where clause
- Trigger executed in datatemplate (this works fine so far unless I try to use the &whereclause in a sqlStatement)
When I try to use the whereclause variable from the default package in one of my statements in the data template I get an Error like
" The report cannot be rendered because of an error, please contact the administrator. "
in the UI and on the console log I get
[070606_031501966][][EXCEPTION] java.lang.IndexOutOfBoundsException: Index: 0, S
ize: 0
at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492
at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(Dat
aTemplateParser.java:1449)
at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:298
at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:2
64)
at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:229)
at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.ja
va:336)
at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataP
rocessor(AdvancedQueryBoundValue11.java:126)
at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(
AdvancedQueryBoundValue11.java:79)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportC
ontextImplV11.java:335)
at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:227)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:4
6)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
er.java:52)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:629)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:376)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
estHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:451)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
stHandler.java:218)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:119)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Any Ideas??I solved the issue ...
since I am using the standalone version of XML Publisher with the UIs the declaration of the lexical in the dataTeamplate was the problem.
If I define
<sqlStatement name="Unterlagen"><![CDATA[select id,bezeichnung from AJS_UNTERL_CHECKLISTE where ANFORDERER = 1 and [b]&whereclause ]]>
instead of
<sqlStatement name="Unterlagen"><![CDATA[select id,bezeichnung from AJS_UNTERL_CHECKLISTE where ANFORDERER = 1 and [b]&whereclause ]]>
it works fine!
Regards,
Lars -
I am trying to deploy the allocation calc scripts in HPCM and ran into the indexoutofboundsexception. Does anyone know how I resolve this?
I have successfully deployed the calculation database. This is version 11.1.1.2.
Cheers,
Below is the relevant section of the hpm.log file.
2009-04-07 21:02:06,645 [Thread-16] ERROR com.hyperion.profitability.business.integration.ces.jobs.ProcessCalcscriptsJob: Error processing calc scripts
com.hyperion.profitability.common.ProfitabilityRuntimeException: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at com.hyperion.profitability.data.dao.AllocationDAOImpl.loadAllocations(AllocationDAOImpl.java:129)
at com.hyperion.profitability.business.mdb.deployment.calcscriptgeneration.CalcScriptGenerationHelper.getInterCellLevelAllocations(CalcScriptGenerationHelper.java:145)
at com.hyperion.profitability.business.mdb.deployment.calcscriptgeneration.CalculationScriptGenerator.generateCalcScripts(CalculationScriptGenerator.java:397)
at com.hyperion.profitability.business.service.GenerateCalcScript.generateCalcScript(GenerateCalcScript.java:49)
at com.hyperion.profitability.business.service.ServiceFacade.calcScriptGenerate(ServiceFacade.java:724)
at com.hyperion.profitability.business.integration.ces.jobs.ProcessCalcscriptsJob.start(ProcessCalcscriptsJob.java:47)
at com.hyperion.profitability.business.integration.ces.TaskHandler$AgentThread.run(TaskHandler.java:128)
Caused by: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.hyperion.profitability.data.dao.AllocationDAOImpl.extractAllocationDriver(AllocationDAOImpl.java:403)
at com.hyperion.profitability.data.dao.AllocationDAOImpl.extractAllocationDriver(AllocationDAOImpl.java:352)
at com.hyperion.profitability.data.dao.AllocationDAOImpl.loadAllocations(AllocationDAOImpl.java:91)
... 6 moreI am working on first profitability application creation. I have performed the following steps till now:
1. Creating Dimension Library for the Profitability Application. (I haven't put any details in the AllocationType Dimension)
2. Validate and Deploy the Profitability Application.
3. Created Staging Table (HPM_STG_STAGE, HPM_STG_ASSIGNMENT...) in Database. These are blank staging tables.
My question is:
1. How the data load happens in the Profitability Application.
2. After creating stages, does it get populated when you create stages? How are you going to populate the same.
3. Are you able to open the application in Essbase? I can see this through Shared Services but am unable to open the same in Essbase.
Let me know if you have done things differently than this. -
Java.lang.IndexOutOfBoundsException during InvokeApplicationPhase
Hello,
I'm developing JSF 1.1_01 application and during page submit have this stack trace:
[04.12.15 10.26.43:875 EET] 554fd8f WebGroup E SRVE0026E: [Servlet Error]-[Index: 0, Size: 0]: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java(Inlined Compiled Code))
at java.util.ArrayList.remove(ArrayList.java(Compiled Code))
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:271)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1006)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:589)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:209)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:121)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:280)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
Anything wrong with application configuration?
Thank you,
AndrejusDid you check if you are triggering multiple threads to execute at the same time ?
-
Recon error - java.lang.IndexOutOfBoundsException
While running recon for an AIX server in SUn IDM 8.1, I am getting the following error:
Error iterating accounts for resource sys1:
java.lang.IndexOutOfBoundsException: Index: 229, Size: 229
and the recon goes into Failed status. What could be the reason for this error?hi,
i thnik u need to check Resource file Attribute list index number or otherwise u chk ur Resource Adapter.
Maybe you are looking for
-
Hello, I am trying a scenario file--> xi ---> RFC , does anybody know what this message means. The problem appear when I send a flat file to XI. My question is, do I need to make some extra settings ? This is the error am getting. <?xml version="1.0
-
My laptop was stolen but "Find My Mac" has located it. Now how do I get it back?
Hi All, Early this morning, a friend of mine called me to tell me her laptop was stolen. She asked me to help her track it using iCloud find my mac. The theives also stole her wallet and other things from her car so this isn't something that was just
-
Can I exchange my white iPhone 5 without a reciept?
Can I exchange my white iPhone 5 without a reciept? It's only 1 month and a week old, I have the box, and all the accessories with it, the iPhone has no scratches, as you can say, its New. I'm not liking white, i prefer a Black one instead.
-
How do you switch to forms mode on a officejet pro 8600
I just set up a new officejet pro 8600 and printed a paper from laptop across the middle of page a message printed saying screen reader userslease switch to forms mode for this link can anyone help?
-
Purchasing and transferring a movie to ipad
I bought a movie through itunes but have not been able to transfer it to a first generation ipad. There are various attempts on this list serve to address this problem and none of the solutions worked for me. For example, the suggestion was made t