I found out that this exception occurs when there are disabled nodes in the test plan.
If I have no disabled nodes, this exception does not occur. Hope this helps!
Brian
After loading my Test Plan and expanding the first two levels, the following exception
is raised and the UI does not redraw properly. Any help would be very appreciated!
java.lang.NullPointerException
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:50)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:749)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2803)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.
java:726)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:756)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2803)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2793)
at javax.swing.ImageIcon.paintIcon(ImageIcon.java:322)
at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:152)
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.tree.DefaultTreeCellRenderer.paint(DefaultTreeCellRendere
r.java:397)
at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:134
)
at javax.swing.plaf.basic.BasicTreeUI.paintRow(BasicTreeUI.java:1380)
at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1171)
at javax.swing.plaf.metal.MetalTreeUI.paint(MetalTreeUI.java:143)
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:707)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4771)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4724)
at javax.swing.JComponent._paintImmediately(JComponent.java:4668)
at javax.swing.JComponent.paintImmediately(JComponent.java:4477)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Brian Lundell, Quality Assurance Specialist
Time Industrial, Inc.
An Outsourced Contractor Time and Cost Tracking Service.
-----------------------------------------------------------------------------------------
tel: 780.413.1521 fax: 780.413.0474
http://www.TimeIndustrial.com <http://www.timeindustrial.com/>
-----------------------------------------------------------------------------------------
This message and attached files, if any, is (are) intended only for the addressee(s)
and may
contain privileged or confidential information. Any unauthorized disclosure is
strictly prohibited.
If destined to our legal counsel, this transmission is privileged communication as
between an
attorney and its client.
If you have received this message in error, please notify us immediately so that we
may correct
our internal records. Please then delete the original message. Thank you.