ArrayIndexOutOfBoundsException help

I dont' know why I'm getting this error msg.
java.lang.ArrayIndexOutOfBoundsException: 10000
     at basicquickSort.findPartition(basicquickSort.java:43)
     at basicquickSort.sort(basicquickSort.java:16)
     at SortTester.main(SortTester.java:28)
Exception in thread "main"
here is my code...
import java.util.*;
* <p>Title: basicquickSort </p>
* @author Ennio Bozzetti
* @version 1.0
public class SortTester {
  public static void main(String[] args) {
    //Creat a random array
    int SIZE = 10000;
    Integer randomArray[] = new Integer[SIZE];
    int mrv = (int)(Math.random()*99);
    for(int i = 0; i < SIZE; i++){
      randomArray[i] = new Integer(mrv);
      mrv = (int)(Math.random()*99);
    System.out.println("Sort Tester");
    System.out.println();
    //Basic Quick SOrt
    System.out.println();
    final long start = System.currentTimeMillis();
    basicquickSort.sort(randomArray, 0, 9999);
    final long stop = System.currentTimeMillis();
    System.out.println("Time test, basic quicksort: ");
    System.out.println(stop-start + "msec");
    System.out.println();
* <p>Title: basicquickSort </p>
* @author Ennio Bozzetti
* @version 1.0
public class basicquickSort {
  public static void sort (Comparable[] data, int min, int max){
    int indexOfPartition;
    if(max - min > 0){
      //Creat partitions
      indexOfPartition = findPartition (data, min, max);
      //Sort the left side
      sort(data, min, indexOfPartition -1);
      //Sort the right side
      sort(data, indexOfPartition +1, max);
  public static int findPartition(Comparable[] data, int min, int max){
    int left, right;
    Comparable temp, partitionelement;
    //Use the first element as the partition element
    partitionelement = data[min];
    left = min;
    right = max;
    while(left < right){
      //Search for an element that is > the partition element
      while(data[left].compareTo(partitionelement) <= 0 && left < right)
        left++;
      //Search for an element that is < the partition element
      while(data[right].compareTo(partitionelement) > 0)
        right++;
      //Swap the elements
      if(left < right){
        temp = data[left];
        data[left] = data[right];
        data[right] = temp;
    //move partition element to partition index
    temp = data[min];
    data[min] = data[right];
    data[right] = temp;
    return right;
}

I think that the problem is in findPartition, you return rigth wich can contain 9999 and you after add +1 so it will be 10000 then the exception will be thrown
hope this will help!

Similar Messages

  • ArrayIndexOutOfBoundsException help please.

    Ok so I know what an index out of bounds exception is and I have this hash function that is returning one to me for i dont know what reason!
    this is the code for the function : \
    public int hash(String word) {
    word = word.toLowerCase();
    int h = 0;
    for(int i = 0; i < word.length(); i++){
    int top = (i + 11) * (i + 11);
    int bot = (i + 1) * ( word.charAt(i) - 'a' + 1);
    h = top / bot;
    h %= size;
    It takes the word in from this function:
    public void getData(String filename){
         String word;
         SimpleIFStream Read = new SimpleIFStream(filename);
         while(!Read.eof()){
              word = Read.readString();
              put(word);
    This is the error I get
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
         at HashTable.put(HashTable.java:62)
         at HashTable.getData(HashTable.java:53)
         at TestProgram1.main(TestProgram1.java:8)
    I'm thinking that I'm getting this error because my program is suppose to only take in letters a-z but it might be taking in periods and commas. The thing is I have this file StreamInFile to do my input/output already given to me and I don't know how to put in delimiters to make the program disregard periods and commas. But I'll ask you guys first what you think the problem is then maybe I can show you the StreamInFile code and you can tell me what to do with it because I'm a little lost!
    Thanks for all the help!
    PS: please please help!

    The code you posted wasn't even the right code.
    The stack trace shows you that you also need topost
    the methods in HashTable.java that include lines62
    (put() ) and the main() method fromTestProgram1.java.
    Well, there's no point in posting code from
    HashTable.java, as that's a standard class. The
    problem started with what he passed to it.Given that its HashTable and not
    java.util.Hashtable I'm not so sure.Let me rephrase that: The problem may still be with what's passed to it, but I think it's a hand-rolled HashTable.

  • ArrayIndexOutOfBoundsException - help debug ?

    Can someone help me debug this? I keep getting the out of bounds exception and I've tried adding 1 to the length....
         public int[] AscendingSort(int[] Students)
                   int temp = 0;
                   for(int i = 0 ; i < Students.length ; i++)
                             if(Students[i] > Students[i + 1])
                                  temp = Students[i] ;
                                  Students[i] = Students[i + 1];
                                  Students[i + 1] = temp;
              return Students;
              }

    Suppose your array is like this
    3,2,1.
    So
    for(int i = 1 ; i > Students.length ; i++)this line evaluates to
    for(int i = 1 ; i > 3 ; i++)which is true.So the control enters the loop.
    Now the next line is
    if(Students[i] < Students[i - 1])which inturn evaluates to
    if(Students[1] < Students[0])i.e
    if(2<3)which again evaluates to true.So the control now enters the if block
    Now the block of code that follows i.e
    temp = Students[i] ;     
    Students[i] = Students[i + 1];
    Students[i + 1] = temp;evaluates to
    temp = Students[1] ;     
    Students[1] = Students[2];
    Students[2] = temp;which inturn evaluates to
    temp = 2;     
    Students[1] = 1;
    Students[2] = 2;So instead of swaping 3 and 2 (Students[0] and Students[1]) your code is swapping 2 and 1 (Students[1] and Students[2])
    So what you need to do is to swap only those array variables that you are checking
    Again if you are going for sorting then you probably would be needing another nested loop
    which would look something like this
    for(int i = 0 ; i <Students.length-1 ; i++)
             for(int j = i+1;j < Students.length;j++)
                             if(Students[j] < Students) { temp=Sutdents[i];     
                                  Students[i] = Students[j];
                                  Students[j] = temp;
    Now I believe it would sort the array
    Edited by: phoenix_frm_ashes on Feb 10, 2009 11:36 PM
    Edited by: phoenix_frm_ashes on Feb 10, 2009 11:39 PM
    Edited by: phoenix_frm_ashes on Feb 10, 2009 11:40 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error while deploying on Weblogic 12c

    Hi all,
    I got an error while trying to deploy my WAR on Weblogic 12c. However, deployment on 11g for the same WAR is successful. Here is the error I got:
    [ERROR] Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:deploy (default-cli) on project pilot-web: weblogic.deploy.api.tools.deployer.DeployerException: Task 4 failed: [Deployer:149026]deploy application pilot-web on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException: InvocationTargetException: weblogic.deploy.api.tools.deployer.DeployerException: Task 4 failed: [Deployer:149026]deploy application pilot-web on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
    -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:deploy (default-cli) on project pilot-web: weblogic.deploy.api.tools.deployer.DeployerException: Task 4 failed: [Deployer:149026]deploy application pilot-web on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:585)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:324)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
    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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    Caused by: org.apache.maven.plugin.MojoExecutionException: weblogic.deploy.api.tools.deployer.DeployerException: Task 4 failed: [Deployer:149026]deploy application pilot-web on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.tools.maven.plugins.deploy.DeployerMojo.handleDeployerException(DeployerMojo.java:459)
    at weblogic.tools.maven.plugins.deploy.DeployAppMojo.execute(DeployAppMojo.java:177)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:577)
    ... 14 more
    Caused by: java.lang.reflect.InvocationTargetException
    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 weblogic.tools.maven.plugins.ClasspathMojo.invokeMain(ClasspathMojo.java:41)
    at weblogic.tools.maven.plugins.deploy.DeployAppMojo.execute(DeployAppMojo.java:174)
    ... 16 more
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 4 failed: [Deployer:149026]deploy application pilot-web on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.Deployer.run(Deployer.java:76)
    at weblogic.Deployer.mainWithExceptions(Deployer.java:63)
    ... 22 more
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 4 failed: [Deployer:149026]deploy application pilot-web on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:543)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:74)
    ... 23 more
    Any ideas?
    Thanks,
    Bassam

    Hi all,
    Any help?
    Thanks

  • Trouble with a matrix constructor

    im trying to make a constructor that creates a matrix based on a matrix that the user inputs, so i have this so far
    public Matrices(int matriz[][])
            int numElements1 = matriz.length;
            int numElements2 = matriz[0].length;
            matrix = new int[numElements1][numElements2];
            for (int i = 0; i < numElements1; i++){
                for (int j = 0; j < numElements2; j++){
                matrix[i][j] = matriz[i][j];
        }im sure the problem is in the for but dunno what
    when i try creating one, it says ArrayIndexOutOfBoundsException
    help please

    public Matrices(int matriz[][])
            int numElements1 = matriz.length;
            int numElements2 = matriz[0].length;
            matrix = new int[numElements1][numElements2];
            if (numElements1>numElements2)
                for (int i = 0; i < numElements1; i++){
                    for (int j = 0; j < numElements2; j++){
                        matrix[i][j] = matriz[i][j];
            }else{
                for (int i = 0; i < numElements2; i++){
                    for (int j = 0; j < numElements1; j++){
                        matrix[i][j] = matriz[i][j];
        }would this work??'

  • JList flicker + ArrayIndexOutOfBoundsException(Urgent, please help)

    Hi all,
    I'm trying to update a list of items every 10 seconds (the list of items change) , I've got the flicker problem when the application repaint the JList and output the java.lang.ArrayIndexOutOfBoundsException .
    The method I use to set the JList content is just :
    m_list.setListData(m_vItems); // where m_vItems is a vector of items .
    This problem only happens for me when the number of items > 200 items. The exception details as below:
    Exception in thread "AWT-EventQueue-2" java.lang.ArrayIndexOutOfBoundsException: 49 >= 12
         at java.util.Vector.elementAt(Unknown Source)
         at javax.swing.JList$5.getElementAt(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
         at javax.swing.JComponent.getPreferredSize(Unknown Source)
         at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
         at java.awt.Container.layout(Unknown Source)
         at java.awt.Container.doLayout(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validate(Unknown Source)
         at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.lang.ArrayIndexOutOfBoundsException: 69 >= 5
         at java.util.Vector.elementAt(Unknown Source)
         at javax.swing.JList$5.getElementAt(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
         at javax.swing.JComponent.getPreferredSize(Unknown Source)
         at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
         at java.awt.Container.layout(Unknown Source)
         at java.awt.Container.doLayout(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validate(Unknown Source)
         at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.lang.ArrayIndexOutOfBoundsException: 52 >= 0
         at java.util.Vector.elementAt(Unknown Source)
         at javax.swing.JList$5.getElementAt(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
         at javax.swing.JComponent.getPreferredSize(Unknown Source)
         at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
         at java.awt.Container.layout(Unknown Source)
         at java.awt.Container.doLayout(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validate(Unknown Source)
         at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    Any suggestion is appreciated . Thanks.

    The exception seems to come from a java standard event class, not in my class codes . There're a thread that keep querying data from a servlet and feeds the vector of data into the JList to display . I catch the exception right below the JList code but nerver caught anything , look like the java thread that paint the JList is blocked sometimes cause flicking , and the exceptions I don't know where it comes from .

  • ArrayIndexOutOfBoundsException problem, PLEASE HELP, anyone

    when i try to run the main method on this code i get this error: java.lang.ArrayIndexOutOfBoundsException on: sortedNum[i] = tempNumStorage;          
    Any idea of the problem? import java.io.*;
    public class StringCheck
    public static int[] stringToArray(String s)
    //split the string into tokens
    String[] unsorted = s.split(" ");
    //Temporary storage for
    int[] tempNumStorage = new int[unsorted.length];
    int size = 0;//to determine to size of THE array
    int integers;//for valid numbers
    for(int i = 0; i < unsorted.length; i++)
    try
    integers = Integer.parseInt(unsorted[i]);
    tempNumStorage[i] = integers;
    size ++;
    }catch (NumberFormatException nfe){}
    //sorted numbers storage array
    int[] sortedNum = new int[size];
    for (int i = 0; i < tempNumStorage.length; i++)
    if (tempNumStorage[i] != 0)
    sortedNum[i] = tempNumStorage[i];
    return sortedNum;
    public static boolean containSameElements(int[] a, int[] b)
    int countOfTruths = 0; // to return true if a == b
    if (a.length != b.length)
    return false;
    else
    for(int i = 0; i < a.length; i++)
    int aValue = a[i];//Value of A to be checked
    for(int j = 0; j < a.length; j++)
    //// int noChecker = 0;//to check if a != b
    if(aValue == b[j])
    countOfTruths ++;
    if(countOfTruths == 0)//Value not in A
    return false;
    return true;
    public static void main(String[] args)
    int[] firstArray = stringToArray("jdf 556 787 55 tt yuu 457");
    int[] secondArray = stringToArray("jef 556 yhh yt tu 787 457 55");
    System.out.println("The strings: ");
    System.out.println(" 1. \"jdf 556 787 55 ttt yuu 457\"");
    System.out.println(" AND ");
    System.out.println(" 2. \"jef 556 yhh yt tu 787 457 55\"");
    System.out.print("will return ");
    System.out.print(containSameElements(firstArray, secondArray));
    System.out.println(" when checked");
    Edited by: deyiengz on Jun 18, 2009 4:06 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Chicon, it needs to be lover because some of the strings that were not valid when i parsed them to integers were thrown away. Furthermore, on this code
    for(int i = 0; i < unsorted.length; i++)
                try
                    integers = Integer.parseInt(unsorted);
    tempNumStorage[i] = integers;
    size ++;
    }catch (NumberFormatException nfe){}
    //sorted numbers storage array
    int[] sortedNum = new int[size];
    for (int i = 0; i < tempNumStorage.length; i++)
    if (tempNumStorage[i] != 0)
    sortedNum[i] = tempNumStorage[i];
    }my aim is to create an array with sorted valid integers.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • OID can not display some users - java.lang.ArrayIndexOutOfBoundsException:0

    We have set up AD to OID synchronization for users and groups using Import connector, and it worked fine. The users in OID can log into applications protected by OAM. But recently I found that some users that could be displayed in OID before can not be displayed now. If I click on the DN in Oracle Directory Manager, a error window pops up. It is a long error message, and the first a few lines are as follows :
    0
    java.lang.ArrayIndexOutOfBoundsException:0
    at oracle.ldap.admin.AttrOptions.<init>(entry.jave:3151)
    at Oracle.ldap.admin.Entry.getProp(entry.java:457)
    I don't see any error message in the integration profile or log files. I am testing things on an account that is having this trouble, and the strange thing is that it can not log into application protected by OAM any more, but it can log into OAM console.
    We use OID 10.1.2.3 on Windows, and OAM 10.1.4.0.1.
    I searched in Metalink but didn't find anything helpful. Any help is appreciated. Thanks for your time.
    Hailie

    Pramod,
    Thank you for your reply. Please see below my answers to your questions:
    -> Do you see any pattern in the users (DN) that are unable to be displayed/login?
    Yes I do see some pattern. There is one change on the problem user's dn - the "\" after the last name is gone.
    Before: cn=smith\, john, cn=users,dc=abc,dc=com
    Now: cn=smith, john, cn=users,dc=abc,dc=com
    However I check in Active directory "\" is presented. In OID if I right click on cn=smith, john and try to delete it, I got a error message "LDAP: error code 34 - Error in DN Normalization". Is that caused by the missing of "\"?
    -> Does ldapsearch on these users (with all attributes) show something (special chars, etc)?
    ldapsearch on cn=cn=smith, john,cn=users,dc=abc,dc=com returns no objects:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    ldap_search: No such object
    ldap_search: matched: cn=Users, dc=abc,dc=com
    Ldap search on cn=smith\, john,cn=users,dc=abc,dc=com:
    $ldapsearch -L -D "cn=orcladmin" -w "*****" -h host -p 389 -b "cn=smith\, john,cn=users,dc=abc,dc=com" -s sub "objectclass=*"
    dn: cn="smith, john",cn=users,dc=abc,dc=com
    uid: [email protected]
    employeenumber: 916963
    cn: smith, john
    registeredaddress: 512
    krbprincipalname: [email protected]
    orclsamaccountname: ABC.COM$JSmith
    sn: johnsmith
    displayname: John
    orclobjectguid: lJO0N+8H4UW/30yHukSfsw==
    orclobjectsid: AQUAAAAAAAUVAAAAohxTYWIV3XFeP55cYjwAAA==
    orcluserprincipalname: [email protected]
    objectclass: oblixorgperson
    objectclass: inetorgperson
    objectclass: orcluserv2
    objectclass: person
    objectclass: orcladuser
    objectclass: organizationalPerson
    objectclass: top
    obver: 10.1.4.0
    -> Do you see the same behavior when you use any generic LDAP browser (Ex: Apache Directory Studio) instead of ODM?
    I don't have Apache Directory Studio installed yet. I will try that later.
    -> Does the changelog for the particular synch (for the affected users) show something?
    Here is what I found in ActiveChgImp.aud
    (weeks ago)
    97426524 : Success : MODIFY : cn=smith\, john,cn=users,dc=abc,dc=com
    (Recently change - The back slach after smith was gone, and "" showed up)
    97469970 : Success : MODIFY : cn="smith, john",cn=users,dc=abc,dc=com
    -> If login to OAM is possible, can the user modify his/her profile, and does it save the changes? If it does, can you try logging in to apps?
    This user can log into OAM identity system, but when I click on "My profile" under "User manager", I got a error message "You do not have sufficient access rights".
    If I log into identity system as orcladmin, I was able to modify it and save the changes. But in OID the user is still not displayed. Same error message. When I tried to add it as administrator, I could search on it, add it, but when I press "done", it didn't show up on the admin list. The users that can be displayed in OID can be added to admin list without a problem.
    Thanks,
    Hailie

  • Java.lang.ArrayIndexOutOfBoundsException

    I got java.lang.ArrayIndexOutOfBoundsException
    in the method find(). But why?
    /**Class CDRack represents collections of compact discs.
    Discs are located in the rack in slots numbered from zero upwards.
    The discs are represented by Record objects and empty slots by null values. */
    public class CDRack extends Object {
      private Record[] collection;
    /**Creates a new, empty CD rack.
    Parameters:
    size - the size of the new rack, i.e. the number of slots it has */
    public CDRack(int size) {
    collection = new Record[size];   
    this.size = size;
    /**Determines if the given disc object is stored in the rack.
    Parameters:
    disc - a disc to be located in the rack
    Returns:
    the slot number of the given cd if it is in the rack or
    a negative number if it is not */
    public int find(Record disc) {
         if (collection[slot]==null)
            return -1;
         else {
            disc = collection[slot];
            return slot;
    }

    Thanks for help to everyone. I works out now :)
    like this:
          public int find(Record disc) {
              for(int slot=0; slot<collection.length; slot++) {
                 if (collection[slot] == disc) {
                 return slot;
              return -1;
               

  • Checking Account and help with code ?

    Hi all..my computer hung up on me, so I'm not sure if my last post went through. First of all thank you all for helping me out the other day with my question on the Bank Account. It continues :)
    I'm trying to work on each class one by one..when I test my Checking Account, it isn't printing out the correct balance. The string method to print this is coming from the Withdrawal class...so I know it has to be somewhere in there but I can't seem to figure out why it isn't totalling the balance...or how to get it too.
    Then when I test my MyBank class, it hangs up on line 63..which I could swear I have written correctly. Again I am getting a NullPointerException and I honestly think I have the line of code written right, but I'm guessing I dont.
    Any help would be appreciated.
    public abstract class BankAccount {
        public static final String bankName = "BrianBank";
        protected String custName;
        protected String pin;
        protected Transaction[] history;
        private double balance;
        private double amt, amount;
        private double bal, initBal;
        private int transactions;
        private final int MAX_HISTORY = 100;
        private int acct;
        protected BankAccount(String cname, String cpin, double initBal) {
         custName = cname;
         pin = cpin;
         balance = initBal;
         history = new Transaction[MAX_HISTORY];
         transactions =0;
        public double getBalance() {
         return balance;
        public void withdraw(double amt) {
         history [transactions] = new Withdrawal (bal, amt);
       balance = bal;
         amount = amt;
         balance -= amt;
       transactions = transactions + 1;     
        public void deposit(double amt) {     
         history [transactions] = new Deposit (bal, amt);
         balance = bal;
         amount = amt;
         balance += amt;
         transactions = transactions +1;
        // abstract method to return account number
        public abstract int getAcctNum();
        // abstract method to return a summary of transactions as a string
        public abstract String getStatement();
    public class CheckingAccount extends BankAccount implements IncursFee
          private int transactions;
          private double balance, initBal, amt;
          private static final int NOFEE_WITHDRAWALS = 10;
          private static final double TRANSACTION_FEE = 5.00;
          public static final String bankName = "iBank";
          public static final int STARTING_ACCOUNT_NUMBER = 10000;
          private int checkingAccountNumber = STARTING_ACCOUNT_NUMBER;
          private static int accountNumberCounter = STARTING_ACCOUNT_NUMBER;
          private String custName;
          private String pin;
          public CheckingAccount (String cname, String cpin, double initBal)
             super (cname, cpin, initBal);
              custName = cname;
              pin = cpin;
             balance = initBal;
             accountNumberCounter++; 
             checkingAccountNumber = accountNumberCounter;
          //initialize a count of transactions
             transactions = 0;          
           public double getBalance()
             return balance;
           public void withdraw(double amt)
            super.withdraw (amt);
             transactions ++;
           public void deposit(double amt)
           super.deposit (amt);
             transactions ++;
           public int getAcctNum ()
             return checkingAccountNumber;     
           public String getStatement ()
             int i = 0;
             String output = "";
             while ( i < history.length && history[i] != null )
                output += history.toString () + "\n";
    i++;
    return output;     
    public void deductFee(double fee)
    if (transactions > NOFEE_WITHDRAWALS)
    {  fee = TRANSACTION_FEE *(transactions - NOFEE_WITHDRAWALS);
    super.withdraw(fee);
    balance -=fee;
    transactions = 0;
    public interface IncursFee {
    public abstract void deductFee(double fee);
    public abstract class Transaction {
    protected double initBal;
    protected double tranAmt;
    // constructor
    protected Transaction(double bal, double amt) {
         initBal = bal;
         tranAmt = amt;
    abstract public String toString();
    public class Withdrawal extends Transaction
         private double initBal;
         private double amount;
         private static NumberFormat fmt = NumberFormat.getCurrencyInstance();
         public Withdrawal (double bal, double amt)
              super (bal, amt);
              initBal = bal;
              amount = amt;
         public String toString ()
         return "Balance : " + fmt.format(initBal) + "\n" + "Withdrawal : " + fmt.format(amount);
    import java.text.NumberFormat;
    public class Deposit extends Transaction
         private double initbal, balance;
         private double amount;
         private static NumberFormat fmt = NumberFormat.getCurrencyInstance();
         public Deposit (double bal, double amt)
         super (bal, amt);
         initbal = bal;
         amount = amt;
         public String toString ()
         return "Balance : " + fmt.format(initbal) + "\n" + "Deposit : " + fmt.format(amount);
    public class TestCheckingAcct {
    public static void main(String[] args) {
         BankAccount b1 = new CheckingAccount("Harry", "1234", 500.0);
         System.out.println (b1.getBalance ());
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(50);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(10);
         b1.withdraw(1);
         System.out.println(b1.getStatement());
    // This interface specifies the functionality requirements of a bank
    public interface Bank {
    public abstract int openNewAccount(String customerName, String customerPIN, String accType, double initDepAmount);
    public abstract void processWithdrawal(int accNum, String pin, double amount);
    // executes a deposit on the specified acct by the amount
    public abstract void processDeposit(int accNum, String pin, double amount);
    // returns the balance of acct
    public abstract double processBalanceInquiry(int accNum, String pin);
    // returns summary of transactions
    public abstract String processStatementInquiry(int accNum, String pin);
    import java.util.ArrayList;
    public class MyBank implements Bank
    private ArrayList<BankAccount> savAccounts = new ArrayList<BankAccount>(); //dynamically grows
    private ArrayList<BankAccount> chkAccounts = new ArrayList<BankAccount>(); //dynamically grows
    private SavingsAccount sav;
    private CheckingAccount chk;
    private int accNum;
    private String customerName, customerPIN, accType, pin;
    private double initDepAmount, amount, balance;
    public int openNewAccount(String customerName, String customerPIN, String accType, double initDepAmount)
    this.customerName = customerName;
    this.customerPIN = customerPIN;
    this.accType = accType;
    this.initDepAmount = initDepAmount;
    if ( accType.equals("Savings"))
    BankAccount savAcct = new SavingsAccount(customerName, customerPIN, initDepAmount);
    try
    savAccounts.add(savAcct);
    catch (ArrayIndexOutOfBoundsException savAccounts)
    return savAcct.getAcctNum();
    else
    CheckingAccount chkAcct = new CheckingAccount(customerName, customerPIN, initDepAmount);
         try
    chkAccounts.add(chkAcct);
    catch (ArrayIndexOutOfBoundsException chkAccounts)
    return chkAcct.getAcctNum();
    public void processWithdrawal (int accNum, String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.withdraw (amount);
    if (accNum >50000 && accNum <60000)
         sav.withdraw (amount);
    public void processDeposit (int accNum, String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.deposit (amount);
    if (accNum >50000 && accNum <60000)
         sav.deposit (amount);
    public double processBalanceInquiry (int accNum, String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.balance = 0;
    if (accNum >10000 && accNum <20000)
         balance = chk.getBalance ();
    if (accNum >50000 && accNum <60000)
         balance = sav.getBalance ();
    return balance;
    public String processStatementInquiry(int accNum, String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.statement = "";
    if (accNum >10000 && accNum <20000)
    statement = chk.getStatement ();
    if (accNum >50000 && accNum <60000)
    statement= sav.getStatement ();
         return statement;

    Here's some quick code review:
    public abstract class BankAccount {
    public static final String bankName =
    me = "BrianBank";
    protected String custName;
    protected String pin;
    protected Transaction[] history;
    private double balance;
    private double amt, amount;
    private double bal, initBal;
    private int transactions;// make MAX_HISTORY private static final, too.
    private final int MAX_HISTORY = 100;
    private int acct;
    protected BankAccount(String cname, String cpin,
    pin, double initBal) {
         custName = cname;
         pin = cpin;
         balance = initBal;
         history = new Transaction[MAX_HISTORY];
         transactions =0;
    public double getBalance() {
         return balance;
    public void withdraw(double amt) {
         history [transactions] = new Withdrawal (bal, amt);
    balance = bal;
         amount = amt;
         balance -= amt;// ++transactions above would be elegant.
    transactions = transactions + 1;     
    public void deposit(double amt) {     
         history [transactions] = new Deposit (bal, amt);
         balance = bal;
         amount = amt;
         balance += amt;
         transactions = transactions +1;
    // abstract method to return account number// why abstract?
    public abstract int getAcctNum();
    // abstract method to return a summary of
    y of transactions as a string// why abstract?
    public abstract String getStatement();
    public class CheckingAccount extends BankAccount
    implements IncursFee
    private int transactions;
    private double balance, initBal, amt;
    private static final int NOFEE_WITHDRAWALS =
    WALS = 10;
    private static final double TRANSACTION_FEE =
    _FEE = 5.00;
    public static final String bankName = "iBank";
    public static final int STARTING_ACCOUNT_NUMBER
    NUMBER = 10000;
    private int checkingAccountNumber =
    mber = STARTING_ACCOUNT_NUMBER;
    private static int accountNumberCounter =
    nter = STARTING_ACCOUNT_NUMBER;// BankAccount has a custName attribute; why does CheckingAccount need
    // one if it extends BankAccount?
    private String custName;
    private String pin;
    public CheckingAccount (String cname, String
    String cpin, double initBal)
    super (cname, cpin, initBal);
    custName = cname;
    pin = cpin;
    balance = initBal;
    accountNumberCounter++;
    checkingAccountNumber =
    tNumber = accountNumberCounter;
    //initialize a count of transactions
    transactions = 0;          
    // same as BankAccount - why rewrite it?
    public double getBalance()
    return balance;
    // same as BankAccount - why rewrite it?
    public void withdraw(double amt)
    super.withdraw (amt);
    transactions ++;
    // same as BankAccount - why rewrite it?
    public void deposit(double amt)
    super.deposit (amt);
    transactions ++;
              // same as BankAccount - why rewrite it?
    public int getAcctNum ()
    return checkingAccountNumber;     
    public String getStatement ()
    int i = 0;
    String output = "";
    while ( i < history.length && history[i] !=
    ory[i] != null )
    output += history.toString () + "\n";
    i++;
    return output;     
    public void deductFee(double fee)
    if (transactions > NOFEE_WITHDRAWALS)
    {  fee = TRANSACTION_FEE *(transactions -
    ansactions - NOFEE_WITHDRAWALS);
    super.withdraw(fee);
    balance -=fee;
    transactions = 0;
    public interface IncursFee {
    public abstract void deductFee(double fee);
    public abstract class Transaction {
    protected double initBal;
    protected double tranAmt;
    // constructor
    // why protected? make it public.
    protected Transaction(double bal, double amt) {
         initBal = bal;
         tranAmt = amt;
    abstract public String toString();
    public class Withdrawal extends Transaction
         private double initBal;
         private double amount;
    private static NumberFormat fmt =
    = NumberFormat.getCurrencyInstance();
         public Withdrawal (double bal, double amt)
              super (bal, amt);
              initBal = bal;
              amount = amt;
         public String toString ()
    return "Balance : " + fmt.format(initBal) + "\n" +
    + "Withdrawal : " + fmt.format(amount);
    import java.text.NumberFormat;
    public class Deposit extends Transaction
         private double initbal, balance;
         private double amount;
    private static NumberFormat fmt =
    = NumberFormat.getCurrencyInstance();
         public Deposit (double bal, double amt)
         super (bal, amt);
         initbal = bal;
         amount = amt;
         public String toString ()
    return "Balance : " + fmt.format(initbal) + "\n" +
    + "Deposit : " + fmt.format(amount);
    public class TestCheckingAcct {
    public static void main(String[] args) {
    BankAccount b1 = new CheckingAccount("Harry",
    , "1234", 500.0);
         System.out.println (b1.getBalance ());
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(50);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.withdraw(1);
         b1.deposit(10);
         b1.withdraw(1);
         System.out.println(b1.getStatement());
    // This interface specifies the functionality
    requirements of a bank
    public interface Bank {
    public abstract int openNewAccount(String
    String customerName, String customerPIN, String
    accType, double initDepAmount);
    public abstract void processWithdrawal(int
    (int accNum, String pin, double amount);
    // executes a deposit on the specified acct by
    t by the amount
    public abstract void processDeposit(int accNum,
    Num, String pin, double amount);
    // returns the balance of acct
    public abstract double processBalanceInquiry(int
    (int accNum, String pin);
    // returns summary of transactions
    public abstract String
    ring processStatementInquiry(int accNum, String
    pin);
    import java.util.ArrayList;
    public class MyBank implements Bank
    private ArrayList<BankAccount> savAccounts =
    unts = new ArrayList<BankAccount>(); //dynamically
    grows
    private ArrayList<BankAccount> chkAccounts =
    unts = new ArrayList<BankAccount>(); //dynamically
    grows
    private SavingsAccount sav;
    private CheckingAccount chk;
    private int accNum;
    private String customerName, customerPIN,
    erPIN, accType, pin;
    private double initDepAmount, amount, balance;
    public int openNewAccount(String customerName,
    erName, String customerPIN, String accType, double
    initDepAmount)
    this.customerName = customerName;
    this.customerPIN = customerPIN;
    this.accType = accType;
    this.initDepAmount = initDepAmount;
    if ( accType.equals("Savings"))
    BankAccount savAcct = new
    vAcct = new SavingsAccount(customerName, customerPIN,
    initDepAmount);
    try
    savAccounts.add(savAcct);
    catch (ArrayIndexOutOfBoundsException
    Exception savAccounts)
    return savAcct.getAcctNum();
    else
    CheckingAccount chkAcct = new
    hkAcct = new CheckingAccount(customerName,
    customerPIN, initDepAmount);
         try
    chkAccounts.add(chkAcct);
    catch (ArrayIndexOutOfBoundsException
    Exception chkAccounts)
    return chkAcct.getAcctNum();
    public void processWithdrawal (int accNum,
    accNum, String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.withdraw (amount);
    if (accNum >50000 && accNum <60000)
         sav.withdraw (amount);
    public void processDeposit (int accNum, String
    String pin, double amount)
         this.accNum = accNum;
         this.pin = pin;
         this.amount = amount;
    if (accNum >10000 && accNum < 20000)
         chk.deposit (amount);
    if (accNum >50000 && accNum <60000)
         sav.deposit (amount);
    public double processBalanceInquiry (int accNum,
    String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.balance = 0;
    if (accNum >10000 && accNum <20000)
         balance = chk.getBalance ();
    if (accNum >50000 && accNum <60000)
         balance = sav.getBalance ();
    return balance;
    public String processStatementInquiry(int accNum,
    m, String pin)
         this.accNum = accNum;
         this.pin = pin;
         this.statement = "";
    if (accNum >10000 && accNum <20000)
    statement = chk.getStatement ();
    if (accNum >50000 && accNum <60000)
    statement= sav.getStatement ();
         return statement;
    Very bad style with those brace placements. Pick a style and stick with it. Consistency is the key.
    Your code isn't very readable.
    You don't have a SavingsAccount here anywhere, even though your MyBank uses one.
    You use JDK 1.5 generics yet you've got ArrayList as the static type on those declarations. Better to use the interface type List as the compile time type on the LHS.
    You have a lot of compile time problems, and some incomprehensible stuff, but I was able to change it enough to my TestCheckingAcct run to completion. No NPE exceptions.
    I'm not sure I agree with your design.
    No SavingsAccount. The accounts I have ALL incur fees - no need for a special interface there. Savings accounts are usually interest bearing. That's the way they behave differently from checking accounts. Where do you have that?
    You rewrite too much code. If you put behavior in the abstract BankingAccount class (a good idea), the whole idea is that concrete classes that extend BankingAccount don't need to overload any methods whose default behavior is correct for them.
    I don't know that I'd have separate Deposit and Withdrawal to implement Transaction. I'd make Transaction concrete and have starting balance, ending balance, and a transaction type String (e.g., "DEPOSIT", "WITHDRAWAL")
    It'd be good to see some thought put into exception handling. I don't see an OverdrawnException anywhere. Seems appropriate.
    No transfer methods from one account to another. I often do that with my bank.
    That's enough to get started.

  • I got ArrayIndexOutOfBoundsException when I tried to generate the gif image

    I just upgrade JDK from 1.5 to 1.6. Then I want to save my image as a gif file. ( I used to save it as png file which was working perfect. ). I got ArrayIndexOutOfBoundsException at the time I am trying to save the image file:
    java.lang.ArrayIndexOutOfBoundsException: 0
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:267)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.insertNode(PaletteBuilder.java:274)
    at com.sun.imageio.plugins.common.PaletteBuilder.buildPalette(PaletteBuilder.java:237)
    at com.sun.imageio.plugins.common.PaletteBuilder.createIndexedImage(PaletteBuilder.java:76)
    at com.sun.imageio.plugins.gif.GIFImageWriter.write(GIFImageWriter.java:564)
    at com.sun.imageio.plugins.gif.GIFImageWriter.write(GIFImageWriter.java:492)
    at javax.imageio.ImageWriter.write(ImageWriter.java:598)
    at javax.imageio.ImageIO.write(ImageIO.java:1479)
    at javax.imageio.ImageIO.write(ImageIO.java:1521)
    at xxx.xxx.xxx.clusterImage.ClusterImageMaker.saveImage(ClusterImageMaker.java:863)
    The code that caused exception in ClusterImageMaker.java is as following:
    try {
    857 //if (!imageExist(atrgtr, list)) {
    858 //return;
    859 //}
    860 String gifname = findImageFileName( atrgtr, somNum,list);
    861 String fullname = gifpath + gifname;
    862 log.info("file name = " + fullname);
    863 ImageIO.write(im_out, "GIF", new File( fullname ));
    864 } catch (Exception ex) {
    865 log.error("error" + ex.getMessage());
    866 ex.printStackTrace();
    867 throw new SMDException( "fail to save image file ", ex );
    868 }
    It took me quite a time trying to figure it out. Now I am desperate. Please help.

    Post a SSCCE .

  • Dynamic poplist in a table not working..Any help here is appreciated

    I've a Search Region which renders a table based results region.
    The table has 2 poplists. One dependent on the other.
    I've PPR attached to the first poplist on which the second is dependent.
    I've the following code in the process request
    OATableBean peerTable = (OATableBean)webBean.findIndexedChildRecursive("ResultsTable");
    OAMessageChoiceBean peerVP1 = (OAMessageChoiceBean)peerTable.findIndexedChildRecursive("Peer1");
    if (peer1 != null)
    peer1.setListVOBoundContainerColumn(0,peerTable,"Type");
    I've a VO which gets executed when the poplist value changes based on the PPR action.
    However when I first render the page the second poplist shows all values and changing values in poplist one results in an error.
    Any working example on dynamic poplist on a table will greatly help. I've gone through the earlier threads on this topic but none of the suggestions there solve my issue.
    Thanks

    Pg Definition:
    QueryRN for Search Page.
    Results of the search displayed in a table with id 'ResultsTable'
    The Table has many messageStyled Tests and 2 poplists.
    Poplist1 is rendered based on One VO: This VO queries data from lookup.
    Has the Picklist View Def defined having the whole directory structure with dots and the Vo name.
    Picklist View Instance: Given the instance name
    Picklist Display Attribute: Meaning
    Picklist Value Attribute: LookupCode
    Action Type: firePartialAction
    Event: poplist_update
    Poplist2 values should be dependent on the above poplist:
    It has the Picklist View Def, Picklist Display Attribute and Picklist Value Attribute.
    There is no value specified for Picklist View Instance.
    Code in Controller:
    Process Request:
    OATableBean pTable = (OATableBean)webBean.findIndexedChildRecursive("ResultsTable");
    OAMessageChoiceBean peer1 = (OAMessageChoiceBean)pTable.findIndexedChildRecursive("Peer1");
    if (peer1 != null)
    peer1.setListVOBoundContainerColumn(0,pTable,"Type");
    Process Form Request:
    if ("poplist_update".equals(pageContext.getParameter(EVENT_PARAM)))
    OAMessageChoiceBean type = (OAMessageChoiceBean)pTable.findIndexedChildRecursive("Type");
    String test = (String)type.getValue(pageContext);
    Serializable[] parameters = { test };
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("PoplistRenderer",parameters);
    Code in AMImpl
    public void PoplistRenderer(String bindVar)
    PeerTestVOImpl peerVO = getPeerTestVO();
    PeerTypeVOImpl typeVO = getPeerTypeVO();
    //String bindVar = "AE";
    if (peerVO == null)
    MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "PeerTestVO") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    peerVO.initQuery(bindVar);
    VO Query:
    select person_id, full_name, type
    from mvl_peer_test
    Code in VOImpl
    public void initQuery(String type)
    setWhereClause("TYPE = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, type);
    executeQuery();
    } // end initQuery()
    The first time the search is conducted, the 2nd poplist shows all values. So the initial bind itself does no seem to work okay.
    When I try to change the value of the first poplist, i get this error:
    ## Detail 0 ##
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.jdbc.dbaccess.DBDataSetImpl._getDBItem(DBDataSetImpl.java:379)
         at oracle.jdbc.dbaccess.DBDataSetImpl._createOrGetDBItem(DBDataSetImpl.java:784)
         at oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:2473)
         at oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:1204)
         at oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1624)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:2846)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:3234)
         at oracle.jbo.server.ViewRowSetImpl.bindParameters(ViewRowSetImpl.java:1424)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:582)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
         at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.createListDataObject(OAWebBeanPickListHelper.java:973)
         at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getListDataObject(OAWebBeanPickListHelper.java:818)
         at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:462)
         at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:403)
         at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getList(OAMessageChoiceBean.java:762)
         at oracle.apps.fnd.framework.webui.OADataBoundValuePickListData.getValue(OADataBoundValuePickListData.java:86)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
         at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(OADataBoundValuePickListSelectionIndex.java:61)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
         at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
         at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
         at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
         at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
         at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
         at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
         at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
         at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
         at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.laf.base.desktop.table.NormalTableCell.render(Unknown Source)
         at oracle.cabo.ui.laf.base.desktop.table.NormalTableCell.render(Unknown Source)
         at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderSingleRow(Unknown Source)
         at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderTableRows(Unknown Source)
         at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
         at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:635)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
         at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3209)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2888)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
         at OA.jspService(OA.jsp:48)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • ArrayIndexOutOfBoundsException error while executing template in planning

    Hi all,
    I am executing a planning function but I always get this Array error message. The planning function works fine but something is not happening in the web interface....
    Below is the error message..much appreciated if anyone could help.
    The initial exception that caused the request to fail was:
    3
    java.lang.ArrayIndexOutOfBoundsException: 3
    at com.sap.ip.bi.webapplications.ui.items.buttongroup.ButtonGroup.setButton(ButtonGroup.java:155)
    at com.sap.ip.bi.webapplications.ui.items.buttongroup.ButtonGroup.getParameters(ButtonGroup.java:301)
    at com.sap.ip.bi.webapplications.ui.items.buttongroup.ButtonGroup.getElementToRender(ButtonGroup.java:184)
    at com.sap.ip.bi.webapplications.ui.items.UiItem.getLocalRootUrNode(UiItem.java:466)
    at com.sap.ip.bi.webapplications.ui.items.UiItem.getRootUrNode(UiItem.java:428)
    Log ID     001E0B6F0A56006B000006C80000338800045F5564534868
    Details: Full Exception Chain
    Messages
    INFO: Planning function Copy Previous New Positions into Official Plan ( S executed without errors
    INFO: 378 records read, 72 generated, 0 changed, 0 deleted
    System Environment
    Server
    BI Java     Release: 7 - Patch level: 0000000014 - Description: BI Web Applications Java - Additional info:  - Production mode: true
    BI ABAP     Release: 700 - Patch level: 0016 - Description: SAP NetWeaver BI 7.0 (SAP_BW) - Additional info:  - Production mode: true
    Java Virtual Machine     Java HotSpot(TM) 64-Bit Server VM - Sun Microsystems Inc. - 1.4.2_15-b02
    Operating System     Windows 2003 - amd64 - 5.2
    Context
    ACCESSIBLE     false
    CACHE     true
    CONTENT_PADDING     true
    COUNTRY     
    DEBUG     false
    DEBUG_LEVEL     0
    DEBUG_MESSAGES     false
    DEBUG_TEXTS     false
    DISPLAY_STACK_TRACE_IN_ERROR_PAGES     true
    LANGUAGE     en
    Master System Alias     SAP_BW
    NAVIGATION_NODE_LAUNCHER_URL     pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex
    PROFILING     false
    Query String (Current Browser Request)     BI_COMMAND=&BI_COMMAND-BI_ADVANCED=OVERVIEW_TABSTRIP_t_OVERVIEW_TABSTRIP&BI_COMMAND-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND-PASSIVE_ID=OVERVIEW_TABSTRIP_t_OVERVIEW_TABSTRIP_tc&BI_COMMAND-PASSIVE_VALUE=false&BI_COMMAND-TARGET_ITEM_REF=OVERVIEW_TABSTRIP&BI_COMMAND_1=&BI_COMMAND_1-BI_ADVANCED=DROPDOWN_POSITION_AcDDLBase&BI_COMMAND_1-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_1-PASSIVE_ID=DROPDOWN_POSITION_AcDDLBase_combobox&BI_COMMAND_1-PASSIVE_VALUE=SELECT_ALL&BI_COMMAND_1-TARGET_ITEM_REF=DROPDOWN_POSITION&BI_COMMAND_2=&BI_COMMAND_2-BI_ADVANCED=DROPDOWN_SEQNO_AcDDLBase&BI_COMMAND_2-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_2-PASSIVE_ID=DROPDOWN_SEQNO_AcDDLBase_combobox&BI_COMMAND_2-PASSIVE_VALUE=SELECT_ALL&BI_COMMAND_2-TARGET_ITEM_REF=DROPDOWN_SEQNO&BI_COMMAND_3=&BI_COMMAND_3-BI_ADVANCED=DROPDOWN_EMPLOYEE_AcDDLBase&BI_COMMAND_3-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_3-PASSIVE_ID=DROPDOWN_EMPLOYEE_AcDDLBase_combobox&BI_COMMAND_3-PASSIVE_VALUE=SELECT_ALL&BI_COMMAND_3-TARGET_ITEM_REF=DROPDOWN_EMPLOYEE&BI_COMMAND_4=&BI_COMMAND_4-BI_ADVANCED=DETAILS_TABSTRIP_t_DETAILS_TABSTRIP&BI_COMMAND_4-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_4-PASSIVE_ID=DETAILS_TABSTRIP_t_DETAILS_TABSTRIP_tc&BI_COMMAND_4-PASSIVE_VALUE=false&BI_COMMAND_4-TARGET_ITEM_REF=DETAILS_TABSTRIP&BI_COMMAND_5=&BI_COMMAND_5-BI_ADVANCED=PLANNING_QUERY_1_interactive_pivot_left_top&BI_COMMAND_5-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_5-PASSIVE_ID=PLANNING_QUERY_1_interactive_pivot_left_top_paginator&BI_COMMAND_5-PASSIVE_VALUE=1&BI_COMMAND_5-TARGET_ITEM_REF=PLANNING_QUERY_1&BI_COMMAND_6=&BI_COMMAND_6-BI_ADVANCED=PLANNING_QUERY_1_interactive_pivot_right_top&BI_COMMAND_6-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_6-PASSIVE_ID=PLANNING_QUERY_1_interactive_pivot_right_top_paginator&BI_COMMAND_6-PASSIVE_VALUE=1&BI_COMMAND_6-TARGET_ITEM_REF=PLANNING_QUERY_1&BI_COMMAND_7=&BI_COMMAND_7-BI_ADVANCED=PLANNING_QUERY_1_interactive_pivot_left_bottom&BI_COMMAND_7-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_7-PASSIVE_ID=PLANNING_QUERY_1_interactive_pivot_left_bottom_paginator&BI_COMMAND_7-PASSIVE_VALUE=1&BI_COMMAND_7-TARGET_ITEM_REF=PLANNING_QUERY_1&BI_COMMAND_8=&BI_COMMAND_8-BI_ADVANCED=PLANNING_QUERY_1_interactive_pivot_right_bottom&BI_COMMAND_8-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_8-PASSIVE_ID=PLANNING_QUERY_1_interactive_pivot_right_bottom_paginator&BI_COMMAND_8-PASSIVE_VALUE=1&BI_COMMAND_8-TARGET_ITEM_REF=PLANNING_QUERY_1&BI_COMMAND_9=&BI_COMMAND_9-BI_COMMAND_TYPE=VALIDATE&BI_COMMAND_10=&BI_COMMAND_10-BI_COMMAND_TYPE=EXEC_PLANNING_FUNCTION_SIMPLE&BI_COMMAND_10-PLANNING_FUNCTION=SCF_COPY_NEWPOS_OP&BI_COMMAND_10-SELECTOR_DATA_PROVIDER_REF=PLANNING_QUERY&BI_COMMAND_10-TARGET_DATA_AREA_REF=DEFAULT&BI_COMMAND_11=&BI_COMMAND_11-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS&BI_COMMAND_11-INIT_PARAMETERS-BUTTON_LIST-BUTTON_4-ENABLED=X&BI_COMMAND_11-ITEM_TYPE=BUTTON_GROUP_ITEM&BI_COMMAND_11-TARGET_ITEM_REF=SAVE_RESET_COPY_BUTTONS&BI_COMMAND_12=&BI_COMMAND_12-BI_COMMAND_TYPE=SET_ITEM_PARAMETERS&BI_COMMAND_12-INIT_PARAMETERS-VISIBILITY=HIDDEN&BI_COMMAND_12-ITEM_TYPE=BUTTON_GROUP_ITEM&BI_COMMAND_12-TARGET_ITEM_REF=COPY_FUNCTION_BUTTONS&REQUEST_ID=4
    Query String (Initial Browser Request)     DUMMY=3&TEMPLATE=ZWILSON_TEMPLATE
    RTL     false
    Request URL     http://esccbid.escc.gov.uk:50000
    SAP_BW_IVIEW_ID     pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex
    SERVER_URL_PREFIX     http://esccbid.escc.gov.uk:50000
    THEME_NAME     sap_tradeshow
    TRACE     false
    TRAY_TYPE     PLAIN
    Template (Main Object)     BTMP ZWILSON_TEMPLATE
    Template (Main)     ZWILSON_TEMPLATE
    Template Parameters     <parameterList>
      <param name="ABAP_STATELESS" value="X"/>
      <param name="BODY_ONLY" value="X"/>
      <param name="CHECK_POPUP_BLOCKER" value="X"/>
      <param name="CLEAR_VARIABLES" value="X"/>
      <param name="DATA_MODE" value="NEW"/>
      <param name="DOCUMENT_SAVE_LEVEL" value="0"/>
      <param name="ERRORS_VISIBLE" value="X"/>
      <param name="INFORMATION_VISIBLE" value="X"/>
      <param name="ITEMS_STATELESS" value="false"/>
      <param name="MELT_VARIABLES" value="X"/>
      <param name="REPORT_REPORT_DISPLAY_TARGET" value="X"/>
      <param name="RRI_OPEN_MODE" value="OPEN_IN_SEPARATE_WINDOW">
        <param name="OPEN_IN_SEPARATE_WINDOW" value=""/>
      </param>
      <param name="SHOW_PERSONALIZED_VARIABLES" value="X"/>
      <param name="START_STATELESS_INTERVAL" value="0"/>
      <param name="STATELESS" value="false"/>
      <param name="SYSTEM_MESSAGES_VISIBLE" value="X">
        <param name="SYSTEM_MESSAGES_DISPLAY_MODE" value="ALWAYS"/>
      </param>
      <param name="TEMPLATE_VERSION" value="1"/>
      <param name="USE_CONTEXT_MENU_SNIPPETS" value="X"/>
      <param name="USE_LAYERED_WINDOWS" value="X"/>
      <param name="USE_SPECIFIC_VARIANT_CATALOG" value="X"/>
      <param name="VARIABLE_SCREEN" value="X"/>
      <param name="WARNINGS_VISIBLE" value="X"/>
      <param name="WINDOW_MODE" value="modal"/>
    </parameterList>
    Time     Wed Dec 31 10:44:26 GMT 2008
    USE_HTTPS_FOR_ADS     false
    USE_SAP_EXPORT_LIB     false
    User     SERCOWNKN (USER.R3_DATASOURCE.SERCOWNKN)
    Deployed SCAs
    SCA     Version     SP     Patch     Compiled     Deployed
    ADSSAP     7.00     14     0     2007-11-18 05:51:47 GMT     2008-03-04 14:42:04 GMT
    BASETABLES     7.00     14     0     2007-11-18 06:07:37 GMT     2008-03-04 14:29:07 GMT
    BI-BASE-S     7.00     14     3     2008-04-14 06:59:16 BST     2008-04-28 15:51:19 BST
    BI-IBC     7.00     15     0     2008-02-18 05:00:17 GMT     2008-04-09 16:26:10 BST
    BI-REPPLAN     7.00     14     0     2007-11-17 05:56:51 GMT     2008-03-04 15:08:33 GMT
    BI-WDALV     7.00     14     0     2007-11-17 05:57:00 GMT     2008-03-04 15:08:45 GMT
    BIWEBAPP     7.00     14     3     2008-04-14 07:00:01 BST     2008-04-28 15:50:57 BST
    BI_MMR     7.00     14     0     2007-11-18 06:08:29 GMT     2008-03-04 14:42:22 GMT
    BI_UDI     7.00     14     0     2007-11-18 06:08:52 GMT     2008-03-04 14:49:38 GMT
    BP_BIADMIN     60.1     5     0     2006-01-18 13:49:00 GMT     2007-01-08 12:34:11 GMT
    CAF     7.00     14     0     2007-11-17 06:28:38 GMT     2008-03-04 14:52:37 GMT
    CAF-KM     7.00     14     0     2007-11-17 06:00:43 GMT     2008-03-04 15:16:27 GMT
    CAF-UM     7.00     14     0     2007-11-17 06:28:47 GMT     2008-03-04 14:42:49 GMT
    CORE-TOOLS     7.00     14     0     2007-11-18 06:12:27 GMT     2008-03-04 14:29:21 GMT
    DI_CBS     7.00     11     0     2007-02-02 07:51:52 GMT     2007-05-30 13:12:00 BST
    DI_CMS     7.00     11     0     2007-02-02 07:52:31 GMT     2007-05-30 13:42:29 BST
    DI_DTR     7.00     11     0     2007-02-02 07:53:48 GMT     2007-05-30 13:44:06 BST
    EP-PSERV     7.00     14     0     2007-12-10 19:31:59 GMT     2008-03-04 15:09:12 GMT
    EP-WDC     7.00     14     0     2007-11-18 04:10:28 GMT     2008-03-04 15:09:45 GMT
    EPBC     7.00     14     0     2007-11-18 04:08:00 GMT     2008-03-04 14:43:48 GMT
    EPBC2     7.00     14     0     2007-11-18 04:08:26 GMT     2008-03-04 15:09:48 GMT
    FORUMS     7.00     12     0     2007-04-26 06:38:00 BST     2007-07-05 13:29:42 BST
    JLOGVIEW     7.00     14     0     2007-11-17 19:24:00 GMT     2008-03-04 14:29:37 GMT
    JSPM     7.00     14     0     2007-12-10 16:07:00 GMT     2008-03-04 14:10:28 GMT
    KM-KW_JIKS     7.00     14     0     2007-11-18 06:16:32 GMT     2008-03-04 14:43:59 GMT
    KMC-BC     7.00     14     0     2007-11-18 04:10:52 GMT     2008-03-04 15:10:23 GMT
    KMC-CM     7.00     14     0     2007-11-18 04:12:21 GMT     2008-03-04 15:10:52 GMT
    KMC-COLL     7.00     14     0     2007-11-18 04:12:58 GMT     2008-03-04 15:11:09 GMT
    KMC-UI     7.00     12     0     2007-04-26 06:38:00 BST     2007-07-10 12:41:58 BST
    LM-PORTAL     7.00     14     0     2007-11-17 06:05:58 GMT     2008-03-04 15:11:11 GMT
    LM-TOOLS     7.00     14     1     2008-01-24 10:15:56 GMT     2008-03-04 14:56:05 GMT
    NET-PDK     7.00     14     0     2007-11-18 04:13:24 GMT     2008-03-04 15:05:06 GMT
    RTC     7.00     14     0     2007-11-18 04:13:42 GMT     2008-03-04 15:05:10 GMT
    RTC-STREAM     7.00     14     0     2007-11-18 04:13:43 GMT     2008-03-04 14:59:01 GMT
    SAP-EU     7.00     14     0     2007-11-17 06:07:36 GMT     2008-03-04 15:15:51 GMT
    SAP-JEE     7.00     14     0     2007-11-18 06:23:21 GMT     2008-03-04 14:30:17 GMT
    SAP-JEECOR     7.00     14     0     2007-11-18 06:25:32 GMT     2008-03-04 14:32:36 GMT
    SAP_JTECHF     7.00     14     0     2007-12-10 17:24:24 GMT     2008-03-04 14:33:48 GMT
    SAP_JTECHS     7.00     14     0     2007-11-23 07:39:50 GMT     2008-03-04 14:48:49 GMT
    UMEADMIN     7.00     14     0     2007-11-17 06:39:16 GMT     2008-03-04 14:56:22 GMT
    UWLJWF     7.00     14     0     2007-11-18 04:14:41 GMT     2008-03-04 15:11:24 GMT
    VCBASE     7.00     14     0     2007-11-18 04:14:46 GMT     2008-03-04 15:16:44 GMT
    VCFLEX     7.00     14     0     2007-11-18 04:15:19 GMT     2008-03-04 15:06:41 GMT
    VCFRAMEWORK     7.00     14     0     2007-11-18 04:15:30 GMT     2008-03-04 15:06:46 GMT
    VCKITBI     7.00     14     0     2007-11-18 04:03:22 GMT     2008-03-04 14:59:02 GMT
    VCKITGP     7.00     14     0     2007-11-18 04:15:30 GMT     2008-03-04 14:59:03 GMT
    VCKITXX     7.00     14     0     2007-11-18 04:15:30 GMT     2008-03-04 14:59:06 GMT
    WDEXTENSIONS     7.00     14     0     2007-11-17 06:09:18 GMT     2008-03-04 15:16:57 GMT
    Full Exception Chain
    Log ID     001E0B6F0A56006B000006C80000338800045F5564534868
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:392)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:70)
         at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:52)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4395)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4469)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4108)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4054)
         at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:2863)
         at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2709)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:983)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:872)
         at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:849)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:333)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:250)
         at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         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)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
         at com.sap.ip.bi.webapplications.ui.items.buttongroup.ButtonGroup.setButton(ButtonGroup.java:155)
         at com.sap.ip.bi.webapplications.ui.items.buttongroup.ButtonGroup.getParameters(ButtonGroup.java:301)
         at com.sap.ip.bi.webapplications.ui.items.buttongroup.ButtonGroup.getElementToRender(ButtonGroup.java:184)
         at com.sap.ip.bi.webapplications.ui.items.UiItem.getLocalRootUrNode(UiItem.java:466)
         at com.sap.ip.bi.webapplications.ui.items.UiItem.getRootUrNode(UiItem.java:428)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.buildUrTree(AcItemBridge.java:95)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:33)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutCell.iterateOverChildren(MatrixLayoutCell.java:82)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayoutRow.iterateOverChildren(MatrixLayoutRow.java:75)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.MatrixLayout.iterateOverChildren(MatrixLayout.java:88)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.matrixlayout.control.AcMatrixControlGrid.iterateOverChildren(AcMatrixControlGrid.java:41)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:82)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:88)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.Toolbar.iterateOverChildren(Toolbar.java:88)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.Group.iterateOverChildren(Group.java:91)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.container.group.control.AcGroupControl.iterateOverChildren(AcGroupControl.java:260)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.start(CompositeBuildUrTreeTrigger.java:59)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.triggerComposites(ExtendedRenderManager.java:69)
         at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:79)
         at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:390)
         ... 46 more

    Hi, the issue is described in SAP note 1260133. Please note that SPS 14, Patch #3 for the BI-components BI-BASE-S and BIWEBAPP is pretty old. Are there any plans to upgrade your java stack in the near future? Otherwise you won't be able to apply this correction, since recent java corrections are only available for the last 3 SPS. Please have a look at note 1072576 for further information.
    If this correction does not solve your issue, please open a message with SAP.
    Best regards,
    Janine

  • Ojdbc14 drivers: ArrayIndexOutOfBoundsException

    Hi all,
    we experience a random error while executing a stored procedure on an Oracle Db.
    The procedure is called by 100 running parallel threads (each thread calls it once with different parameters) but some times (<1%) it fails, here is the stack trace:
    java.lang.ArrayIndexOutOfBoundsException: -3445775
    at oracle.jdbc.driver.DateCommonBinder.setOracleCYMD(OraclePreparedStatement.java:15532)
    at oracle.jdbc.driver.DateBinder.bind(OraclePreparedStatement.java:15627)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2866)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2151)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3280)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4223)
    at com.cgey.report.ReportGeneratorThread.callSP(ReportGeneratorThread.java:99)
    at com.cgey.report.ReportGeneratorThread.load(ReportGeneratorThread.java:188)
    at com.cgey.report.ReportGeneratorThread.run(ReportGeneratorThread.java:240)
    If you try to run the same procedure that failed independently the execution is correct.
    Oracle Version: Version 9.2.0.6.0
    Drivers Version: Oracle JDBC Driver version - "10.2.0.1.0" (Jun 2005)
    Is it possible that this issue is related to the BUG-6396242? Does anyone has a solution for 10g drivers?
    Thank you in advance!
    Edited by: 791859 on 31-ago-2010 12.39

    I'll try to update the drivers, but I hope that this won't introduce new problems due to missing backward compatibility...
    Any other idea? Do you think that reducing the number of parallel threads could help us?

  • Addition of fields in ABAP RFC causes java.lang.ArrayIndexOutOfBoundsExcept

    Hi,
    I had been calling an ABAP RFC from my WDJ application successfully till yesterday. Then we felt the need for 2 additional fields in RFC for better results. Since then, I'm not able to call this RFC. The error being thrown is copied below.
    All context mappings are done correctly and there is no compilation/build error in application but on runtime the following error is being thrown.
    Can someone guide me here for solution to this issue?
    Thanks,
    Vishwas.
    500   Internal Server Error
      SAP NetWeaver Application Server 7.00/Java AS 7.00 
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.ArrayIndexOutOfBoundsException
        at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValueAsString(JcoBaseTypeData.java:663)
        at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValueAsString(DynamicRFCModelClass.java:420)
        at com.pa.material.model.Z_Sd_Get_Availability_Input.getAuart(Z_Sd_Get_Availability_Input.java:186)
        at com.pa.materialprice.wdp.IPublicGet_Material_Price$IZ_Sd_Get_Availability_InputElement.wdGetObject(IPublicGet_Material_Price.java:518)
        at com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetObject(MappedNodeElement.java:350)
        ... 60 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:13:14[UTC], changelist=455669, host=pwdfm101), build date: Mon Dec 17 17:41:35 CST 2007
    J2EE Engine 7.00 patchlevel 109044.44
    Java VM Classic VM, version:1.4, vendor: IBM Corporation
    Operating system OS/400, version: V5R4M0, architecture: PowerPC
    Session & Other
    Session Locale en_US
    Time of Failure Thu Jan 24 12:43:46 CST 2008 (Java Time: 1201200226852)
    Web Dynpro Code Generation Infos
    local/Get_Material_Price
    SapDictionaryGenerationCore 7.0009.20060802115015.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:24:21[UTC], changelist=413123, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 7.0009.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:12:57[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:00[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:46[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0009.20060210160857.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:13:38[UTC], changelist=388995, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0009.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:21:59[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0009.20060428190938.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:26:52[UTC], changelist=400815, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    SapWebDynproGenerationCore 7.0009.20060802115035.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:30:11[UTC], changelist=413124, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:45:29[UTC], changelist=413534, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.ArrayIndexOutOfBoundsException
         at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValueAsString(JcoBaseTypeData.java:663)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValueAsString(DynamicRFCModelClass.java:420)
         at com.pa.material.model.Z_Sd_Get_Availability_Input.getAuart(Z_Sd_Get_Availability_Input.java:186)
         at com.pa.materialprice.wdp.IPublicGet_Material_Price$IZ_Sd_Get_Availability_InputElement.wdGetObject(IPublicGet_Material_Price.java:518)
         at com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetObject(MappedNodeElement.java:350)
         at com.sap.tc.webdynpro.progmodel.context.AttributePointer.getObject(AttributePointer.java:157)
         at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1079)
         at com.sap.tc.webdynpro.clientserver.data.DataContainer.getAndFormat(DataContainer.java:1070)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1262)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:597)
         at com.sap.tc.ur.renderer.ie6.InputFieldRenderer.render(InputFieldRenderer.java:39)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:421)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:405)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:355)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:122)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:39)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:421)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:116)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:39)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:421)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:276)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:82)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:39)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:421)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:116)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:39)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:421)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:35)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:421)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1037)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:455)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1216)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:247)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:583)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:113)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:107)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:270)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:710)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:623)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:215)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:113)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:60)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:332)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:0)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:336)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:868)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:250)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:99)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi Vishwas,
                       After changing the RFC , u need to reimport the model & server has to be restarted for refreshing the model.if that u have already done, send the code.
    regards
    Sumit

Maybe you are looking for

  • Garbage characters when retrieving HTML via Java

    I wanted to use Java to extract my characters profile from http://www.magelo.com. The results returned from the URL are basically garbled characters; however retrieving cnn.com or yahoo.com the results are fine. So, the only thing I can think of is t

  • My problem in RESULT CACHE FUNCTION

    Hi Please pay attention to my scenario I use Oracle 11.2.0.3 create table chr1 (n1 number(8,3),n2 number(8,3),n3 number(8,3));   begin    for i in 1..1000 loop       insert into chr1 values (dbms_random.value(1,1000),dbms_random.value(1,1000),dbms_ra

  • AreaChart : Customizing HorizontalAxis of a chart with Multiple Series

    Hi there, My area chart has 5 series which has same x_value while different y values and a value which i want to show as label. all series have dataProvider with following object {x: x_value, y:y_value, l:label_value}  series xField is using "x" whic

  • Freeze columns in table control

    Hi Folks! Is it possible to freeze columns in a table control? If it is possible how you can achieve it? Thanks for any help. Regards, Gilberto Li

  • HR iviews Error (app integrator)

    Dear SDN, Please help me with the following issue, we have integrated HR portal ESS iviews using appintegrator approach in our central SAP portal, have created a R3 load balancing system object and used the system in the appintegrator iviews. unfortu