[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/24022] New: JTree - BasicTreeUI.paint throws AssertionError w
From: |
WBaer at gmx dot de |
Subject: |
[Bug swing/24022] New: JTree - BasicTreeUI.paint throws AssertionError with JUMP |
Date: |
22 Sep 2005 21:09:03 -0000 |
Hi,
my last bug reports about JUMP were quickly resolved by Lillian.
However there seems still to be some wrong logic how classpath
paints its JTree which is shown by an AssertionError during JUMP
startup. Tested with jamvm/classpath cvs 22/09/05
Exception during event dispatch:
com.vividsolutions.jts.util.AssertionFailedException: Should never reach here:
javax.swing.JTree$DynamicUtilTreeNode
at com.vividsolutions.jts.util.Assert.shouldNeverReachHere (Unknown Source)
at com.vividsolutions.jump.workbench.model.LayerTreeModel.getChildren
(LayerTreeModel.java:71)
at com.vividsolutions.jump.util.SimpleTreeModel.children
(SimpleTreeModel.java:139)
at com.vividsolutions.jump.util.SimpleTreeModel.getChildCount
(SimpleTreeModel.java:145)
at com.vividsolutions.jump.util.SimpleTreeModel.isLeaf
(SimpleTreeModel.java:95)
at com.vividsolutions.jump.workbench.ui.FirableTreeModelWrapper.isLeaf
(FirableTreeModelWrapper.java:63)
at javax.swing.JTree.expandPath (JTree.java:2354)
at javax.swing.plaf.basic.BasicTreeUI.paint (BasicTreeUI.java:1404)
at javax.swing.plaf.metal.MetalTreeUI.paint (MetalTreeUI.java:292)
at javax.swing.plaf.ComponentUI.update (ComponentUI.java:187)
at javax.swing.JComponent.paintComponent (JComponent.java:1537)
at javax.swing.JComponent.paint (JComponent.java:1452)
at javax.swing.JViewport.paintSimple (JViewport.java:773)
at javax.swing.JViewport.paintBackingStore (JViewport.java:800)
at javax.swing.JViewport.paintBlit (JViewport.java:870)
at javax.swing.JViewport.paint (JViewport.java:499)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JSplitPane.paintChildren (JSplitPane.java:526)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JLayeredPane.paint (JLayeredPane.java:687)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JLayeredPane.paint (JLayeredPane.java:687)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JLayeredPane.paint (JLayeredPane.java:687)
at javax.swing.JComponent.paintChildren (JComponent.java:1506)
at javax.swing.JComponent.paint (JComponent.java:1454)
at javax.swing.JComponent.paintDoubleBuffered (JComponent.java:1621)
at javax.swing.JComponent.paintImmediately2 (JComponent.java:1602)
at javax.swing.JComponent.paintImmediately (JComponent.java:1588)
at javax.swing.RepaintManager.paintDirtyRegions (RepaintManager.java:465)
at javax.swing.RepaintManager$RepaintWorker.run (RepaintManager.java:109)
at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:191)
at java.awt.EventQueue.dispatchEvent (EventQueue.java:466)
at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)
I am sorry this time I cannot prepare a simple testcase. I can
only provide you with the links to the program and a modified
jar which works around an error during startup.
Download the binary/source JUMP distribution from
http://www.jump-project.org/project.php?PID=JUMP&SID=DOWN
Unzip and modify the provided JUMPWorkbench-unix.sh startup
script to use jamvm with Graphics2D enabled.
You will see an error during startup due to unimplemented
awt stuff. A modified jar which works around that problem
is uploaded to http://www.home.uos.de/wbaer/downloads/jump-1.1.2.jar
Put this one in the lib dir instead the original one.
Regards,
Wolfgang
--
Summary: JTree - BasicTreeUI.paint throws AssertionError with
JUMP
Product: classpath
Version: 0.18
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: WBaer at gmx dot de
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24022
- [Bug swing/24022] New: JTree - BasicTreeUI.paint throws AssertionError with JUMP,
WBaer at gmx dot de <=
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, langel at redhat dot com, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, langel at redhat dot com, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, cvs-commit at developer dot classpath dot org, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, WBaer at gmx dot de, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, langel at redhat dot com, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, langel at redhat dot com, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, WBaer at gmx dot de, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, WBaer at gmx dot de, 2005/09/23
- [Bug swing/24022] JTree - BasicTreeUI.paint throws AssertionError with JUMP, langel at redhat dot com, 2005/09/26