IndexOutOfBoundsException after HangUp

2007-05-21
2013-05-02
  • After a Winodws HangUp I can't connect anymore to CompiereClient.
    When I log in as SystemAdministrator (and only in this case!!!) I receive the following stacktrace:
    Compiere starting: org.compiere.apps.AMenu - java.lang.IndexOutOfBoundsException: Index: 12, Size: 6

    java.lang.IndexOutOfBoundsException: Index: 12, Size: 6

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

    at java.util.ArrayList.remove(ArrayList.java:392)

    at org.compiere.model.MTree.loadNodes(MTree.java:272)

    at org.compiere.model.MTree.<init>(MTree.java:63)

    at org.compiere.grid.tree.VTreePanel.initTree(VTreePanel.java:97)

    at org.compiere.apps.AMenu.<init>(AMenu.java:109)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

    at java.lang.Class.newInstance0(Class.java:308)

    at java.lang.Class.newInstance(Class.java:261)

    at org.compiere.Compiere.main(Compiere.java:510)

    at com.audaxis.compiere.Main.main(Main.java:18)

    It seemes to me like cache can't reset session hanged up...

    DB: Oracle 9i
    OS: Windows 2000 Server SP4
    Compiere: 252a
              + Audaxis Localisation for France
              + 4Layers Localisation for Italy

    I don't know how to reproduce it... I just know that suddenly Windows
    hanged up.
    I was working on Compiere logged in as SystemAdminstrator with 4 Wiundows
    Opened.
    When Windows restarted I could not log in as System Administrator
    anymore.
    It only happens as SystemAdministrator and only on schema I was working
    in...(Test)
    If I switch to the Production Schema, everything works fine.
    So I think that there is some cache/session table to reset, or something
    like that, but I don't know what to do...
    I tried deleting records from AD_Session and AD_PInstance with update date
    = yestarday but nothing changed...
    I also tried to overwrite Compiere.properties with an older one....
    BTW, where is Compiere cache stored ?

    Please Help, I'm talking about a Production Environment !!!!!!!!

     
    • I fixed it!
      I had to remove records created in AD_TreeNodeMM....