#28 Win2k - j.0.17.0 "arrayOutofBounds"

closed
nobody
Editor (71)
5
2002-11-22
2002-11-10
Anonymous
No

java.lang.ArrayIndexOutOfBoundsException
at javax.swing.SizeRequirements.expandedTile
(SizeRequirements.java:355)
at
javax.swing.SizeRequirements.calculateTiledPositions
(SizeRequirements
.java:299)
at
javax.swing.SizeRequirements.calculateTiledPositions
(SizeRequirements
.java:246)
at javax.swing.BoxLayout.layoutContainer
(BoxLayout.java:381)
at java.awt.Container.layout(Container.java:835)
at java.awt.Container.doLayout(Container.java:825)
at java.awt.Container.validateTree
(Container.java:903)
at java.awt.Container.validate(Container.java:878)
at org.armedbear.j.Sidebar.setBottomComponent
(Sidebar.java:189)
at org.armedbear.j.Sidebar.refreshSidebar
(Sidebar.java:203)
at
org.armedbear.j.Sidebar.refreshSidebarInAllFrames
(Sidebar.java:224)
at org.armedbear.j.IdleThread$1.run
(IdleThread.java:139)
at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarc
hy(EventDispatchTh
read.java:190)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)

at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)

at java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.SizeRequirements.expandedTile
(SizeRequirements.java:355)
at
javax.swing.SizeRequirements.calculateTiledPositions
(SizeRequirements
.java:299)
at
javax.swing.SizeRequirements.calculateTiledPositions
(SizeRequirements
.java:246)
at javax.swing.BoxLayout.layoutContainer
(BoxLayout.java:381)
at java.awt.Container.layout(Container.java:835)
at java.awt.Container.doLayout(Container.java:825)
at java.awt.Container.validateTree
(Container.java:903)
at java.awt.Container.validateTree
(Container.java:910)
at java.awt.Container.validate(Container.java:878)
at
javax.swing.RepaintManager.validateInvalidComponents
(RepaintManager.j
ava:347)
at
javax.swing.SystemEventQueueUtilities$ComponentWor
kRequest.run(System
EventQueueUtilities.java:116)
at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:443)
at
java.awt.EventDispatchThread.pumpOneEventForHierarc
hy(EventDispatchTh
read.java:190)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)

at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)

at java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)

Discussion

  • Peter Graves

    Peter Graves - 2002-11-10
    • summary: Win2k - j.0.17.0 "arrayOutofBounds" --> Win2k - j.0.17.0 "arrayOutofBounds"
     
  • Peter Graves

    Peter Graves - 2002-11-10

    Logged In: YES
    user_id=558172

    What were you doing when this happened? What was the bottom
    component of the sidebar at the time? (A tree, a list,
    nothing at all?)

    Is the bug reproducible? (Did it happen just one time, or
    does it always happen when you get in the same situation, or
    does it happen sometimes, but not always?)

    The ArrayIndexOutOfBoundsException occurs in the Swing
    layout code, and j's code upstream looks correct. Swing
    itself is managing the array that goes out of bounds. The
    relevant code path in j gets hit every time you switch
    buffers, so it's strange that the bug hasn't come up
    before. I suspect it may be a bug in Swing, but I need more
    information to be sure.

    Thanks!

    -Peter

     
  • robert rowntree

    robert rowntree - 2002-11-21

    Logged In: YES
    user_id=157017

    this problem may have been diminished by cutting down the
    size of the set of "recent" files that get loaded by the menu
    dialog asking for "recent" .

    i think that i just deleted lots of stuff from the "tail" of the
    recent file in the config directory ".j"

     
  • Peter Graves

    Peter Graves - 2002-11-22

    Logged In: YES
    user_id=558172

    I doubt that this problem has to do with the size of the
    recent files list (which is limiited to 100 in any case).

    The problem is in the Swing layout code, and the operation
    in progress is refreshSidebar().

    But I don't think it's a bug in j, so I've closed it.

     
  • Peter Graves

    Peter Graves - 2002-11-22
    • summary: Win2k - j.0.17.0 "arrayOutofBounds" --> Win2k - j.0.17.0 "arrayOutofBounds"
    • status: open --> closed
     

Log in to post a comment.