This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 10024 - Exception when using Explorer in MDI windowing mode
Summary: Exception when using Explorer in MDI windowing mode
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Other OS/2
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
: 15346 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-03-07 03:07 UTC by _ gtzabari
Modified: 2008-12-22 15:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2001-03-07 03:07:08 UTC
I install Netbeans build 138, close the explorer and reopen it. From that 
point onward I get this exception no matter what I do:

Tue Mar 06 22:06:34 EST 2001java.lang.IndexOutOfBoundsException: Index: 
-1, Size: 5
java.lang.IndexOutOfBoundsException: Index: -1, Size: 5
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.get(ArrayList.java(Compiled Code))
        at 
org.netbeans.core.windows.frames.PerimeterLayout.setPeriCompBounds(Perime
terLayout.java:248)
        at 
org.netbeans.core.windows.frames.PerimeterLayout.layoutContainer(Perimete
rLayout.java:225)
        at java.awt.Container.layout(Container.java(Compiled Code))
        at java.awt.Container.doLayout(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validate(Container.java:734)
        at 
javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:
319)
[catch] at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEven
tQueueUtilities.java:204)
        at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled 
Code))
        at 
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java(Compil
ed Code))
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java(Compiled 
Code))
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Comment 1 Petr Nejedly 2001-03-07 09:04:16 UTC
winsys
Comment 2 David Simonek 2001-03-07 16:21:11 UTC
Duplicate, workaround is to close the IDE and restart. And sure, I will try to 
fix it quickly.

*** This issue has been marked as a duplicate of 9885 ***
Comment 3 _ gtzabari 2001-03-17 00:12:37 UTC
I get the following exception with build 147. You marked this bug a 
duplicate of bug #9885 which was closed yet this bug remains unresolved..

Fri Mar 16 19:11:35 EST 2001java.lang.IndexOutOfBoundsException: Index: 
-1, Size: 5
java.lang.IndexOutOfBoundsException: Index: -1, Size: 5
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.get(ArrayList.java(Compiled Code))
        at 
org.netbeans.core.windows.frames.PerimeterLayout.setPeriCompBounds(Perime
terLayout.java:286)
        at 
org.netbeans.core.windows.frames.PerimeterLayout.layoutContainer(Perimete
rLayout.java:263)
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validate(Container.java(Compiled Code))
        at 
javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:
319)
        at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEven
tQueueUtilities.java:204)
[catch] at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java(Compiled 
Code))
        at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled 
Code))
        at 
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java(Compil
ed Code))
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java(Compiled 
Code))
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Comment 4 _ gtzabari 2001-04-17 03:33:44 UTC
I get an IndexOutOfBoundsException if I:

1) Compile
2) Close output window
3) Compile again (causing the output window to reappear an exception to 
be thrown).

Is this bug being looked at? It's set to P1 priority yet no one has 
touched it ever since it was marked as DUPLICATE even though I changed it 
back.. Give me a sign you're still alive ;)
Comment 5 Jan Zajicek 2001-04-17 16:35:37 UTC
Dev build of NB #168 - it seems that it works, no exception is thrown ;-) Can
you check it please on OS2. Thx.
Comment 6 _ gtzabari 2001-04-17 23:54:12 UTC
Still occurs here on build168. I get two exceptions this time:

---------------
Tue Apr 17 17:53:52 EDT 2001: java.lang.IndexOutOfBoundsException: Index: 
-1, Size: 5
java.lang.IndexOutOfBoundsException: Index: -1, Size: 5
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.get(ArrayList.java(Compiled Code))
        at 
org.netbeans.core.windows.frames.PerimeterLayout.setPeriCompBounds(Perime
terLayout.java:286)
        at 
org.netbeans.core.windows.frames.PerimeterLayout.layoutContainer(Perimete
rLayout.java:263)
        at java.awt.Container.layout(Container.java(Compiled Code))
        at java.awt.Container.doLayout(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validate(Container.java(Compiled Code))
        at 
javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:
319)
        at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEven
tQueueUtilities.java:204)
        at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java(Compiled 
Code))
        at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled 
Code))
        at 
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java(Compil
ed Code))
[catch] at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:99)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
--------------------
#2:

Tue Apr 17 17:54:51 EDT 2001: java.lang.IndexOutOfBoundsException: Index: 
-1, Size: 5
java.lang.IndexOutOfBoundsException: Index: -1, Size: 5
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
        at java.util.ArrayList.get(ArrayList.java(Compiled Code))
        at 
org.netbeans.core.windows.frames.PerimeterLayout.setPeriCompBounds(Perime
terLayout.java:286)
        at 
org.netbeans.core.windows.frames.PerimeterLayout.layoutContainer(Perimete
rLayout.java:263)
        at java.awt.Container.layout(Container.java(Compiled Code))
        at java.awt.Container.doLayout(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validateTree(Container.java(Compiled Code))
        at java.awt.Container.validate(Container.java(Compiled Code))
        at 
javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:
319)
        at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEven
tQueueUtilities.java:204)
        at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java(Compiled 
Code))
        at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled 
Code))
        at 
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java(Compil
ed Code))
[catch] at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:99)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
-----------------

Hope this helps..
Comment 7 Jan Zajicek 2001-04-18 08:29:47 UTC
It looks like this occurs only on OS2, moreover it may be problem of IBM JVM. On
Solaris I was unable to reproduce it. Assigning to Dafe. Someone reported
similary problem against ibm jdk on windows.
Comment 8 David Simonek 2001-04-18 08:39:25 UTC
Lowering to P2, because IBM's JVM is not oficially supported. Fixing will take
longer time, I will need to get ibm's jvm running.
Comment 9 _ gtzabari 2001-04-18 12:20:40 UTC
geez ;) Ok, ok.. Is there anything I could run on my end to help this 
along?
Comment 10 David Simonek 2001-04-25 16:43:28 UTC
Step forward: I'm running netbeans also on ibm's jvm 1.3.0 and I'm able to
reproduce your problem without problems, so let's hope I can fix fix as well :-)
So, confirming that this is problem specific to ibm's jvm.
Comment 11 David Simonek 2001-04-26 09:04:24 UTC
fixed, indeed it was my fault - it worked on sun's JVM only due to some side
effects.
Comment 12 Jan Chalupa 2001-05-05 20:45:26 UTC
Target milestone -> 3.3
Removing OPEN_IN_3.2 keyword.
Comment 13 Jan Zajicek 2001-11-01 12:56:42 UTC
*** Issue 15346 has been marked as a duplicate of this issue. ***
Comment 14 Quality Engineering 2003-07-01 15:50:03 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 15 Quality Engineering 2003-07-01 16:26:18 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.