From: SourceForge.net <no...@so...> - 2006-12-31 22:04:01
|
Bugs item #1249727, was opened at 2005-08-02 03:41 Message generated for change (Comment added) made by jdempsey You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1249727&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: Other Group: To be fixed For 5.12 >Status: Closed >Resolution: Fixed Priority: 8 Private: No Submitted By: Doc Sigma (docsigma) Assigned to: James Dempsey (jdempsey) Summary: Sorter not informed of a change in model. Initial Comment: C:\Program Files\PCGen\PCGen580>java -Xms128m -Xmx256m -jar pcgen.jar Sorter not informed of a change in model. Fixing. Please report this as a bug. It said "please report this as a bug"... ---------------------------------------------------------------------- >Comment By: James Dempsey (jdempsey) Date: 2007-01-01 09:04 Message: Logged In: YES user_id=558288 Originator: NO The class table on the summary page was invoking the TableSorter but not using it properly, causing it to show the "Sorter not informed of a change in model." error. As sorting was not required, the use of the TableSorter has been removed. Fixed in http://svn.sourceforge.net/pcgen/?rev=1845&view=rev ---------------------------------------------------------------------- Comment By: James Dempsey (jdempsey) Date: 2006-03-05 13:34 Message: Logged In: YES user_id=558288 Reporiduced when lefelling up a fighter (added 2nd level). Stack trace is: Sorter not informed of a change in model named: pcgen.gui.tabs.InfoSummary$ClassModel Indexes Length = 1 Model Row Count = 2 Fixing by reallocating the indexes. Please report this as a bug. java.lang.Throwable at pcgen.gui.utils.TableSorter.checkModel(TableSorter.java:201) at pcgen.gui.utils.TableSorter.getValueAt(TableSorter.java:107) at javax.swing.JTable.getValueAt(JTable.java:1771) at javax.swing.JTable.prepareRenderer(JTable.java:3724) at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149) at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974) at com.l2fprod.common.swing.plaf.wrap.WrapTableUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142) at javax.swing.JComponent.paintComponent(JComponent.java:541) at javax.swing.JComponent.paint(JComponent.java:808) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JViewport.paint(JViewport.java:722) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paint(JComponent.java:817) at javax.swing.JLayeredPane.paint(JLayeredPane.java:557) at javax.swing.JComponent.paintChildren(JComponent.java:647) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4794) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740) at javax.swing.JComponent.paint(JComponent.java:798) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97) at java.awt.Container.paint(Container.java:1312) at sun.awt.RepaintArea.paint(RepaintArea.java:177) at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260) at java.awt.Component.dispatchEventImpl(Component.java:3678) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:3138) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141) at java.awt.Dialog$1.run(Dialog.java:540) at java.awt.Dialog.show(Dialog.java:561) at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:558) at pcgen.gui.utils.DialogInputInterface.showInputDialog(DialogInputInterface.java:59) at pcgen.core.Globals.rollHP(Globals.java:3103) at pcgen.core.PCClass.rollHP(PCClass.java:5613) at pcgen.core.PCClass.addLevel(PCClass.java:3976) at pcgen.core.PlayerCharacter.incrementClassLevel(PlayerCharacter.java:14359) at pcgen.core.PlayerCharacter.incrementClassLevel(PlayerCharacter.java:9591) at pcgen.gui.tabs.InfoSummary.addClass(InfoSummary.java:1060) at pcgen.gui.tabs.InfoSummary.access$11(InfoSummary.java:978) at pcgen.gui.tabs.InfoSummary$4.actionPerformed(InfoSummary.java:221) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:3138) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2005-10-28 20:51 Message: Logged In: YES user_id=252169 Unfortunately not no, Aaron fixed a bug a while ago in ExportHandler that _may_ have fixed the throwing of this message. I think most users reported it when they were playing around withsort orders of lists in PCGEN (and applying unapplying filters). I remember another user stating it occured when he was swapping between master and familiar K ---------------------------------------------------------------------- Comment By: James Dempsey (jdempsey) Date: 2005-10-28 20:08 Message: Logged In: YES user_id=558288 Added some extra debug, but was not able to reproduce this. Is there a testcase which produces this message? Files changed: src/java/pcgen/gui/utils/TableSorter.java new revision: 1.16 ---------------------------------------------------------------------- Comment By: Martijn Verburg (karianna) Date: 2005-09-03 02:02 Message: Logged In: YES user_id=252169 This really need to be investigated as it does (anectodally) lead to performance nightmares ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1249727&group_id=25576 |