IndexOutOfBoundsException in ApplyRequestValuesPhase

ive an application built using JSF. My problem is simple if I click on any link and then quickly click on other link before the first operation is completed or even if I click on the same lick it gives me exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.remove(ArrayList.java:389)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:271)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.salesgene.common.filters.UserSessionFilter.doProcessing(UserSessionFilter.java:209)
at com.salesgene.common.filters.UserSessionFilter.doFilter(UserSessionFilter.java:160)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
15:05:43,470 ERROR [Engine] StandardWrapperValve[FacesServlet]: Servlet.service() for servlet FacesServlet threw excep
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.remove(ArrayList.java:389)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:271)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.salesgene.common.filters.UserSessionFilter.doProcessing(UserSessionFilter.java:209)
at com.salesgene.common.filters.UserSessionFilter.doFilter(UserSessionFilter.java:160)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)

Please open an issue here: https://javaserverfaces.dev.java.net/servlets/ProjectIssues

Similar Messages

  • Issue 377:  IndexOutOfBoundsException in ApplyRequestValuesPhase

    https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=377
    I don't seem to be able to add comments to this issue, so I'm putting this here instead. Let me know if I'm being slow and could have commented on the issue.
    We've also seen this bug using 1.1_01 on JBoss 3.2.6 and 3.2.8. We haven't tested 1.1_02 yet.
    We see it on the live servers every now and then, and I've reproduced it a few times on a dev box by starting a long running query in one action method, then hitting the action link again before the query has completed.
    If it helps, I could only reproduce it in IE -- Firefox didn't resubmit the form on the second click so the second request never hit the server.

    I've been struggling with this same problem for some time (not in the same environment, though). It's been reported several times and commented on, usually by someone who wants a workaround rather than a fix. There's several workarounds.
    To recreate in Firefox: submit a page with a long-running query, then click a link to another page, click a link to come back to the submitted page, then submit the page again.
    What I did to workaround was set the id on every component. This was suggested by the vendor when I complained. Now that I've done this the error rarely occurs. Obviously, this is far from ideal. A non-obvious problem I ran into is that f:verbatim calls createUniqueId but doesn't allow you to set the id. Luckily it's easy create a component that works the same as f:verbatim but allows you to set the id. To make sure I'd set the id on every component I extended UIViewRoot, overriding createUniqueId to print out a message.
    Another workaround I tried was extending UIViewRoot and synchronizing its methods.
    Another one I've seen mentioned is to use JavaScript to disable the form.
    I've been thinking of another workaround where I'd implement my own Lifecycle and synchonize on the UIViewRoot for the length of the lifecycle.
    I think that multiple submits of a form will cause problems if JSF doesn't ignore subsequent submits for the same request. Maybe JSF could put a requestId on each form and ignore any but the first one received. Application developers shouldn't have to handle this.

  • Com.sun.faces.lifecycle.ApplyRequestValuesPhase java.lang.IndexOutOfBoundsE

    Dear Members,
    I have a page developed in Oracle ADF Version 10.1.3
    In the page I have a query and results region.
    I am entering the values in the query region and clicking on the search button to populate the results region.
    The results region is getting populated perfectly. But after that when I click on any other button or tab in the page, I am getting the below error. Can any one please help me in resolving this issue. Many thanks in advance.
    4/10/2012 05:57:22 com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
    SEVERE: Index: 1, Size: 1
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
         at java.util.ArrayList.RangeCheck(ArrayList.java:546)
         at java.util.ArrayList.get(ArrayList.java:321)
         at oracle.adf.view.faces.component.StampState.restoreChildStampState(StampState.java:119)
         at oracle.adf.view.faces.component.UIXTable.restoreStampState(UIXTable.java:428)
         at oracle.adf.view.faces.component.UIXCollection._restoreStampState(UIXCollection.java:1069)
         at oracle.adf.view.faces.component.UIXCollection.postRowDataChange(UIXCollection.java:695)
         at oracle.adf.view.faces.component.UIXCollection.setRowIndex(UIXCollection.java:380)
         at oracle.adf.view.faces.component.UIXTable._processStamps(UIXTable.java:499)
         at oracle.adf.view.faces.component.UIXTable.processFacetsAndChildren(UIXTable.java:379)
         at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:142)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:137)
         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 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:233)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi.
    the error occur always? only when the appmodule is in passivate state?

  • Simple java.lang.IndexOutOfBoundsException Question

    Hi, I'm trying to be able to put data into a vector or arraylist without filling the previous spots. Take this for example:
    ArrayList temp=new ArrayList(10);
    temp.ensureCapacity(10);
    temp.set(5, new Integer(5));
    I declaired the size to be 10 twice, why can't I input into the 5th element directly? Is there a way to? I would use normal arrays, but I need to be able to dynamically change the size. I'm having this exact same problem with vectors also. Any ideas? Thank you!

    according to the API specification, the set method of ArrayList:
    Throws:
    IndexOutOfBoundsException - if index out of range (index < 0 || index >= size()).
    size() is the number of elements already inserted.
    Size is not the same as capacity.
    With temp.ensureCapacity(10) you ensure that your ArrayList will be
    able to fit 10 elements without resizing the internal Array, but the
    actual size of the List remains as it was (in your case 0 because you
    haven't inserted anything yet).
    the set method is intended to allow you to change the element at the
    specified index, provided that it has already been inserted in the list.

  • IndexOutOfBoundsException

    Hello Every body,
    Iam getting IndexOutOfBoundsException, Is there any way to avoid this
    error other than using Iterator.
    I am using get() method.
    Thanks in advance for the responses....

    It might help if you tell us what you are doing, maybe post some code.
    I'm guessing you are Iterating over an ordered collection (List maybe).
    Now you could use the size() method, and check if you are past the end of the collection. But I'd use the Iterator (or in 1.5, new for loop, if you are not modifing the collection).

  • Reading from text file gives IndexOutOfBoundsException error

    Dear All
    I really need your help in doing my assignment as soon as possible
    I am reading from a text file the following data
    4231781,Ali,AlAli
    4321790,Adnan,AlAli
    using two classes first one is
    public class Student
    private String studFName;
    private String studLName;
    private String studID;
    private double assignment1;
    private double assignment2;
    private double final_exam;
    private double total;
    public String getstudfName() {
    return studFName;
    public void setstudfName(String studFName) {
    this.studFName = studFName;
    public String getstudlName() {
    return studLName;
    public void setstudlName(String studLName) {
    this.studLName = studLName;
    public String getstudid() {
    return studID;
    public void setStudID(String studID){
    this.studID = studID;
    public double getAssignment1() {
    return assignment1;
    public void setAssignment1(double Assignment1) {
    this.assignment1 = assignment1;
    public double getAssignment2() {
    return assignment1;
    public void setAssignment2(double Assignment2) {
    this.assignment2 = assignment2;
    public double getFinal_exam() {
    return final_exam;
    public void setFinal_exam(double final_exam) {
    this.final_exam = final_exam;
    public double getTotal() {
    return total;
    public void setTotal(double total) {
    this.total = total;
    Student[] students = new Student[30];
    the second is manager one which is:
    import java.io.*;
    import java.io.IOException;
    import java.util.Arrays;
    import java.util.ArrayList;
    public class manager {
    public static Student[] students = new Student[30];
    public static void main(String args[]) {
    // We want to let the user specify which file we should open
    // on the command-line. E.g., 'java TextIO TextIO.java'.
    if(args.length != 1) {
    System.err.println("usage: java manager (file_name)");
    System.exit(1);
    // We're going to read lines from 'input', which will be attached
    // to a text-file opened for reading.
    BufferedReader input = null;
    try {
    FileReader file = new FileReader(args[0]); // Open the file.
    input = new BufferedReader(file); // Tie 'input' to this file.
    catch(FileNotFoundException x) { // The file may not exist.
    System.err.println("File not found: " + args[0]);
    System.exit(2);
    // Now we read the file, line by line, echoing each line to
    // the terminal.
    try {
    String line;
    // Student[] students = new Student[30];
    while( (line = input.readLine()) != null ) {
    // System.out.println(line);
    int m = line.indexOf(",");
    int j = line.lastIndexOf(",");
    String sID = line.substring(0,m);
    String sfn = line.substring(m+1,j) ;
    String sln = line.substring(j+1);
    int n = 0;
    students[n] = new Student();
    students[n].setStudID(sID);
    students[n].setstudfName(sfn);
    students[n].setstudlName(sln);
    students[n].setAssignment1(0.0);
    students[n].setAssignment2(0.0);
    students[n].setFinal_exam(0.0);
    students[n].setTotal(0.0);
                        ++n;
    catch(IOException x) {
    x.printStackTrace();
    // Arrays.sort(Student.students);
         int length = args.length;
    System.out.println();
    // System.out.println("Sorted by stuID");
    for (int i=0; i<length; i++) {
    System.out.print("Student ID "+students.getstudid() + "|||");
    System.out.print("Student Fname "+students[i].getstudfName() + "|||");
    System.out.print("Student name "+students[i].getstudlName());
    when I comile progrma it doesn't give any error but when I run it gives me the following exception:
    java.lang.String.substring. IndexOutOfBoundsException string index out of range : -1
    as can be seen from the manager class I form the read line from readline method as follows:
    int m = line.indexOf(",");
    int j = line.lastIndexOf(",");
    String sID = line.substring(0,m);
    String sfn = line.substring(m+1,j) ;
    String sln = line.substring(j+1);
    Therefore, student ID should be read from the beggining tel the character before the comma (,) then from the character after first comma tel that before second comma will be firstname, finally the rest after second comma will be last name.
    I want my program to read all lines in the text file and put them in order as above forming the array like database record and print them all.
    Could you please Help me in this matter friends as soon as possible.
    Regards,
    Java_Hobby

    please, format you code first (select your java code and hit the code button), then post all the error log message.

  • Publish to weblogic aborts with IndexOutOfBoundsException

    Hi,
    I'm having some trouble deploying OSB Configuration projects to my weblogic app server. Here's my scenário:
    I have two separate OSB Configuration projects (let's call them A and B). I currently have project A deployed on weblogic. When I try to undeploy (remove) project A I get the error described below. I get the same error when I try to deploy project B.
    I have tried cleaning, restarting and even removing and adding the server in eclipse but the error keeps re-ocurring.
    Error
    Runtime exception occurred during publish. The publish is aborted. Please report the bug with the stack trace. The stack can be found on the log and the Error Log view.
    Stack Trace
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at com.bea.alsb.server.publish.ALSBPublishOperation.checkModuleStatus(Unknown Source)
         at com.bea.alsb.server.publish.ALSBPublishOperation.execute(Unknown Source)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.performTasks(WeblogicServerBehaviour.java:1253)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:804)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:660)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:526)
         at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
         at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2731)
         at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:278)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Session Data
    eclipse.buildId=unknown
    java.version=1.6.0_17
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    Further Details
    Eclipse
    Version: 3.5.2
    Build id: M20100211-1343
    Weblogic
    Oracle WebLogic Server 11gR1 PatchSet 2
    Any help is much appreciated.
    Thanks,
    Adel.

    I recreated the osb project, moved all projects from old osb project to new osb project. When I remove the old osb project from the server the error shows up. None-the-less I tried to deploy the new osb project and the error shows up again with a slight difference, Index and Size are 6 rather than 0. I have exactly 6 projects in my osb configuration project.
    Stack Trace
    java.lang.IndexOutOfBoundsException: Index: 6, Size: 6
    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    at java.util.ArrayList.get(ArrayList.java:322)
    at com.bea.alsb.server.publish.ALSBPublishOperation.checkModuleStatus(Unknown Source)
    at com.bea.alsb.server.publish.ALSBPublishOperation.execute(Unknown Source)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.performTasks(WeblogicServerBehaviour.java:1253)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:804)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:660)
    at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:526)
    at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
    at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2731)
    at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:278)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

  • IndexOutOfBoundsException with BPEL FTP adapter

    I am running SOA Suite 10.1.3.4 on WebLogic Server 9.2, and have deployed a simple test BPEL process that is using the FTP adapter to poll for files on a remote SFTP server, retrieve the opaque payload, then copy it to a destination file on another SFTP server. For small files this works fine. For larger files (e.g., a 3.5MB file with ~25000 fixed-length records) I get the following in my OracleSOAServer.log file:
    ===========================================
    java.lang.IndexOutOfBoundsException
         at java.io.ObjectInputStream.read(ObjectInputStream.java:822)
         at oracle.xml.comp.CXMLStream.ensureReadCapacity(CXMLStream.java:1673)
         at oracle.xml.comp.CXMLStream.readChars(CXMLStream.java:1324)
         at oracle.xml.comp.CXMLStream.readUTF(CXMLStream.java:870)
         at oracle.xml.parser.v2.XMLText.readExternal(XMLText.java:905)
         at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2853)
         at oracle.xml.parser.v2.XMLNode.readChildNodes(XMLNode.java:2843)
         at oracle.xml.parser.v2.XMLDocument.readExternal(XMLDocument.java:3394)
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:345)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    <2009-03-06 00:12:12,931> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
         at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDom(SDOMHelper.java:355)
         at com.collaxa.cube.xml.dom.SDOMHelper.load(SDOMHelper.java:135)
         at com.collaxa.cube.xml.dom.DOMUtil.loadDocument(DOMUtil.java:2580)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.loadParts(DeliveryHelper.java:933)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:526)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean_yt19iq_ELOImpl.handleInvoke(CubeDeliveryBean_yt19iq_ELOImpl.java:931)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Exception: ORABPEL-09222
    Cannot deserialize DOM element.
    Failed to deserialize the DOM element from binary format, the document id c4ee9a6854f6381d:-649649f8:11fda9c39f2:-7fcb. The exception reported is
    Handled As: com.collaxa.cube.CubeException
    ORABPEL-00000
    ===========================================
    This happens immediately after the polling FTP adapter picks up the file. The IndexOutOfBoundsException is particularly troubling...is this error solely a function of memory (no OutOfMemory exception is being thrown), or is some other factor at work here? Any insights are appreciated.
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Anirudh,
    Thanks for the response. To clarify: my BPEL process starts with a Receive activity (with "createInstance" set to "yes"), which is receiving from an FTP Adapter PartnerLink. This PartnerLink is polling for a file on an SFTP server. When this file is present, and is relatively small, the whole BPEL process completes successfully. When it is of a larger size, I get the error described in my original post. The cause of the indexOutOfBoundsException is what I'm trying to determine. Here is the source for my BPEL process:
    ===================================
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Tue Mar 03 17:01:11 GMT-07:00 2009
    Author: Gary
    Purpose: Empty BPEL Process
    -->
    <process name="KFS_CNV_OpaqueFileRouting"
    targetNamespace="http://xmlns.oracle.com/KFS_CNV_BPEL_OpaqueFileRouting"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"
    abstractProcess="no" enableInstanceCompensation="no"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns7="http://xmlns.oracle.com/pcbpel/adapter/ftp/ReceiveInputFile/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:client="http://xmlns.oracle.com/KFS_CNV_BPEL_FileRouting"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns8="http://xmlns.oracle.com/pcbpel/adapter/ftp/WriteOutputFile/">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <partnerLinks>
    <partnerLink myRole="GetFile_role" name="ReceiveInputFile"
    partnerLinkType="ns7:GetFile_plt"/>
    <partnerLink name="WriteOutputFile" partnerRole="PutFile_role"
    partnerLinkType="ns8:PutFile_plt"/>
    </partnerLinks>
    <variables>
    <variable name="ReceiveFileContents_GetFile_InputVariable"
    messageType="ns7:GetFile_msg"/>
    <variable name="FtpHeaderData" messageType="ns3:InboundHeader_msg"/>
    <variable name="DestFileHeader" messageType="ns3:OutboundHeader_msg"/>
    <variable name="OutboundFileContents" messageType="ns8:PutFile_msg"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="ReceiveFileContents" partnerLink="ReceiveInputFile"
    portType="ns7:GetFile_ptt" operation="GetFile"
    variable="ReceiveFileContents_GetFile_InputVariable"
    createInstance="yes" bpelx:headerVariable="FtpHeaderData"/>
    <assign name="AssignDestFileHeader">
    <copy>
    <from variable="FtpHeaderData" part="inboundHeader"
    query="/ns3:InboundFTPHeaderType/ns3:fileName"/>
    <to variable="DestFileHeader" part="outboundHeader"
    query="/ns3:OutboundFTPHeaderType/ns3:fileName"/>
    </copy>
    </assign>
    <assign name="AssignDestFileContents">
    <copy>
    <from variable="ReceiveFileContents_GetFile_InputVariable" part="opaque"
    query="/ns2:opaqueElement"/>
    <to variable="OutboundFileContents" part="opaque"
    query="/ns2:opaqueElement"/>
    </copy>
    </assign>
    <invoke name="PushFileContents" partnerLink="WriteOutputFile"
    portType="ns8:PutFile_ptt" operation="PutFile"
    inputVariable="OutboundFileContents"/>
    </sequence>
    </process>
    ===================================
    Thanks,
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Portal error : java.lang.IndexOutOfBoundsException: Index: 2, Size: 2

    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.
    Prasad

    Hi,
    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

  • IndexOutOfBoundsException  from FIS.read() method

    I am trying to read 8 bytes from a FIS
    According to the API for this method I should be able to read bytes 3 - 11 by using an offset of 3 and a length of 8 which is what
    fin.read(l_data_array, i_offset, i_length); is supposed to do but if my offset is >0 then it fails.
    Any ideas what is wrong?
    ( My file is approx 3KB so this is not the prob and the first method call does read 8 bytes )
        byte [] x = readBytesFromFile(0, 8); //ok
        byte [] x = readBytesFromFile(3, 8); //IndexOutOfBoundsException  thrown
       private byte [] readBytesFromFile( int i_offset, int i_length){
          byte[] l_data_array = new byte[i_length];
          try {
             File fd = new File(m_db);
             FileInputStream fin = new FileInputStream(fd);
             fin.read(l_data_array, i_offset, i_length);
             fin.close();
          catch (FileNotFoundException fnf) {
             System.out.println("File not found Exception");
          catch (IOException ioe) {
             System.out.println("IO Exception");
          return l_data_array;
       }error :
    java.lang.IndexOutOfBoundsException
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:194)
         at Rule109_Automation_Package.Rule_109_Processor.readBytesFromFile(Rule_109_Processor.java:224)

    Thanks for the replies folks.
    The file I will be reading in will, for the first part of the development phase, serve as a a Database. So it is liable to become > 1MB.
    Each record will be 1KB long, stored sequentially. So you are saying that if I want to read record No 999 I have to have a byte [] which can hold 999 * 1000 bytes. Seems a waste of resources ( Even though temporary ) that I can't move a pointer along the FIS and read say, bytes 9,000 to 10,000 into an array like ( byte[1000] ) instead of needing an array like ( byte [10,000] )
    What kind of kinky reason do sun have for this?

  • 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]&amp;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

  • IndexOutOfBoundsException and invokeAction

    Hello,
    I have an IndexOutOfBoundsException when trying to rollback and editable table. In my use case, I don't want to see "no data found", so I must createInsert a row if there is no data found. I use an involeAction with a refreshCondition for this.
    The use case is simple to reproduce :
    In HR schema, create an editable table on Jobs. Drag n drop the rollback action as commandButton. In pageDef, add an invokeAction "createInsert" with refresh if needed :
    <invokeAction id="createInsert" Binds="CreateInsert" Refresh="ifNeeded"
                      RefreshCondition="#{bindings.JobsView1Iterator.currentRow==null}"/>When editing a row, if user click on rollback button, the exception is raised :
    java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3055)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2906)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:81)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:236)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:327)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
         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:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         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:139)
         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)What could it be?
    Without the invokeAction it works well. I use jdevelopper 11.1.2.3.0.

    Hi,
    hi can you try and remove the refresh condition to verify this comes from the refresh EL? If so then first of all I suggest to use $ instead of # form the EL expression because # is resolved upon rendering of the UI which is too late for the condition you need. Second, if using $ doesn't solve the problem, try RefreshCondition="${bindings.JobsView1Iterator.estimatdRowCount == 0}"/>
    Frank

  • IndexOutOfBoundsException in deamon thread

    Today on on of our internal builds I am getting these exceptions. My first thought is data corruption in a specific log file. If so how do I go about finding which logfile is corrupt? This is not bad the data will be regenerated tomorrow any way. And access to most of the data in the bdb/je seems ok. Actually I have not been able to find an corrupt record.
    Regards,
    Jerven
    <DaemonThread name="Checkpointer (BDB/je at uniprot)"/> caught exception: java.lang.IndexOutOfBoundsException
    java.lang.IndexOutOfBoundsException
    at com.sleepycat.bind.tuple.TupleInput.readBoolean(TupleInput.java:186)
    at com.sleepycat.je.cleaner.PackedObsoleteInfo.countObsoleteInfo(PackedObsoleteInfo.java:60)
    at com.sleepycat.je.log.LogManager.serialLogInternal(LogManager.java:671)
    at com.sleepycat.je.log.SyncedLogManager.serialLog(SyncedLogManager.java:40)
    at com.sleepycat.je.log.LogManager.multiLog(LogManager.java:388)
    at com.sleepycat.je.recovery.Checkpointer.logSiblings(Checkpointer.java:1285)
    at com.sleepycat.je.recovery.Checkpointer.flushIN(Checkpointer.java:970)
    at com.sleepycat.je.recovery.Checkpointer.flushDirtyNodes(Checkpointer.java:709)
    at com.sleepycat.je.recovery.Checkpointer.doCheckpoint(Checkpointer.java:476)
    at com.sleepycat.je.recovery.Checkpointer.onWakeup(Checkpointer.java:266)
    at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:161)
    at java.lang.Thread.run(Thread.java:619)

    I've been looking at this and my preliminary conclusion is that it is a rare concurrency bug in JE, it has been in existence for quite a while, but it has not been previously reported. It is not a persistent problem (no corruption or invalid data is stored), but once it occurs in an open Environment it will occur repeatedly -- at each checkpoint and perhaps during cache eviction. When the Environment is closed and reopened, checkpoints and eviction should then work normally, and no permanent damage will have been done.
    It will take some time to reproduce this in a unit test and fix it. We will do that, and we'll be sure to resolve this before the next patch release. In the mean time, I suggest that you consider this to be an extremely rare occurrence and unlikely to occur again.
    If you are seeing this repeatedly after shutting down the environment, then please let me know -- this would mean that my diagnosis is incorrect.
    Thanks,
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Duplicate Submit with one click / IndexOutOfBoundsException

    Hello all,
    When I submit a form to insert data to the database with one button click, the form has been submitted twice. I can see the behavoirs from my debug statements. Sometimes, two records are inserted to database. Sometimes, the "IndexOutOfBoundsException" is throwed. I have downloaded the latest jsf RI. I have tested these many times.
    Any help will be appreciated. Thanks in advance.
    David

    Hi Sergey,
    The javascript:
    function checkPassword(form )
         var password = form["editSelfRegister:loginPassword"].value;
         var confirmedPassword = form["editSelfRegister:confirmedPassword"].value;
         if(password != confirmedPassword)
              alert("Login Password and Password Confirm fields do not match ");
              return false;
         else
              form.submit();
              return true;
    The command:
    <h:commandButton id="saveEditingCommand" value="#{Message.saveEditing}"
    actionListener="#{userBean.saveEditingSelfRegisterUser}" onclick="return checkPassword(this.form);" />
    <h:commandButton id="cancelCommand" value="#{Message.logout}" action="cancel" immediate="true" />
    Even I removed the form.submit(), the form is still submitted twice.
    Thank you much for your help.
    David

  • IndexOutOfBoundsException When Creating Web Service Client

    Hello,
    I am getting the following error when I try to create a Web Service Client in JDeveloper 10.1.3. Any ideas why this occurs?
    Thanks,
    Kevin Scott
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0     
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)     
         at java.util.ArrayList.get(ArrayList.java:324)     
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.updateNavigatorImpl(ProxyGenerator.java:574)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.access$1000071(ProxyGenerator.java:71)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator$2.run(ProxyGenerator.java:525)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog$1.run(Dialog.java:540)
         at java.awt.Dialog.show(Dialog.java:561)
         at java.awt.Component.show(Component.java:1133)
         at java.awt.Component.setVisible(Component.java:1088)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:275)
         at oracle.jdeveloper.webservices.model.GeneratorUI.start(GeneratorUI.java:189)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.generate(ProxyGenerator.java:195)
         at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.saveEdit(WebServiceProxy.java:1066)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.ProxyWizard.runWizard(ProxyWizard.java:263)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.ProxyGalleryWizard.invoke(ProxyGalleryWizard.java:84)
         at oracle.ide.WizardManager.invokeWizard(WizardManager.java:488)
         at oracle.ide.WizardManager$1.run(WizardManager.java:542)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1143)
         at oracle.ide.WizardManager$2.run(WizardManager.java:550)
         at oracle.ide.util.IdeUtil$4.run(IdeUtil.java:1123)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    the web service is the specification for whatever functionality you wish to provide
    there are a few artifacts you can auto-generate using the WSDL, but you still need to create a client and server application
    the web service is simply exposing the application remotely and the WSDL is the contract
    http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html

Maybe you are looking for

  • Acrobat 7.0 printing letters not there

    I have Adobe Acrobat 7.1.0 running on Mac OSX (10.6.3).  I downloaded a form which I turned into a printable form, saved it and filled it in.  However, when I go to print it, it prints letters not there.  It will change letter like the letter "P" and

  • Installing Mavericks Failed

    Hello to everyone. I need all your help, i`m trying to install Mavericks on my Macbook Pro late 2008. But my problem is this: Once I download Mavericks  the computer started installing it but then it`s and got message saying installation failed.  any

  • Displaying web page in kannada language

    Hi iam not sure whether this question related to java or not. we are designing a web (html)page how to display that page in kannada language we downloaded "brhknd.ttf" font file. if this file is available in SYSTEMS-Control Panel-Font folder it is wo

  • Install Order  EBS+OBIEE+OBIA+Informatica+DAC+Windows2003Server32Bit VMWare

    PreScript : [rtm=done] But as the old Brazilian saying goes, "'Na prática, a teoria è outra'" - In practice, the theory is different. This involving EBS, I am posting here to get the assisatance I can't otherwise get at OBIEE/OBIA forum. hi EBS exper

  • So I cant talk to support on a phone

    I was just charged $60 for a yearly calling plan to call Germany from the US. Problem is I forgot about the recuring charges and they just wacked my paypal for the money without even a heads up e-mail saying that it would be renewed soon. Since I liv