From: SourceForge.net <no...@so...> - 2007-07-19 01:47:07
|
Bugs item #1753296, was opened at 2007-07-13 04:32 Message generated for change (Comment added) made by darkstorm999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1753296&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: User Interface Group: To be fixed For 5.12 Status: Open Resolution: None Priority: 7 Private: No Submitted By: Martijn Verburg (karianna) Assigned to: Nobody/Anonymous (nobody) Summary: Column resizes/moves produce stacktrace Initial Comment: > The next one is also just annoying but it spews an error message to > the command window which might be easier to track down. When trying > to re-size or move columns on the skill, inventory, spell, etc > screens, I get the following stack trace. The columns also don't > snap back into position, they seem to overlap. > > java.lang.ArrayIndexOutOfBoundsException: 5 >= 5 > at java.util.Vector.elementAt(Unknown Source) > at javax.swing.table.DefaultTableColumnModel.getColumn > (Unknown Source) > at pcgen.gui.utils.ResizeColumnListener$1.mouseReleased > (Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown > Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown > Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown > Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent > (Unknown Sou > rce) > 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) > java.awt.event.MouseEvent[MOUSE_RELEASED, > (222,144),button=1,modifiers=Button1,cl > ickCount=1] on frame0 ---------------------------------------------------------------------- >Comment By: darkstorm999 (darkstorm999) Date: 2007-07-18 21:47 Message: Logged In: YES user_id=1843568 Originator: NO Did some debugging of this one but I don't know enough of Java and Java UI to understand how to resolve it, so maybe this can help. I can repeat this very easily, load a new character, go to the Skills tab, resize the "Source" column in the left hand pane. Debugging tells me that the column index getting passes through the resize event is the "absolute" column position of that column in the table (including any hidden columns), which in this case is "5" for "Source". The table.columModel contains only 5 columns - the 5 visible columns, so when resizing the "Source" column it causes an exception (index out of range). Its easier to repeat it in the Skills left hand pane because most of the first columns are hidden initially. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1753296&group_id=25576 |