bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/27520] New: Regression:NPE's in BevelBorder


From: audriusa at bluewin dot ch
Subject: [Bug swing/27520] New: Regression:NPE's in BevelBorder
Date: 9 May 2006 16:27:53 -0000

Protege is broken again because of the following exceptions:

java.lang.NullPointerException
   at javax.swing.border.BevelBorder.getShadowInnerColor(BevelBorder.java:364)
   at javax.swing.border.BevelBorder.paintLoweredBevel(BevelBorder.java:519)
   at javax.swing.border.BevelBorder.paintBorder(BevelBorder.java:256)
   at javax.swing.JComponent.paintBorder(JComponent.java:1810)
   at javax.swing.JComponent.paint(JComponent.java:1764)
   at javax.swing.JComponent.paintChildrenOptimized(JComponent.java:2059)
   at javax.swing.JComponent.paintChildren(JComponent.java:1832)
   at javax.swing.JComponent.paint(JComponent.java:1765)
   at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:2209)
   at javax.swing.JComponent.paintImmediately2(JComponent.java:2157)
   at javax.swing.JComponent.paintImmediately(JComponent.java:2143)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:592)
   at javax.swing.RepaintManager$RepaintWorker.run(RepaintManager.java:127)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:200)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:465)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:75)

and, if we compensate this,
java.lang.NullPointerException
   at
javax.swing.border.BevelBorder.getHighlightInnerColor(BevelBorder.java:341)
   at javax.swing.border.BevelBorder.paintLoweredBevel(BevelBorder.java:520)
   at javax.swing.border.BevelBorder.paintBorder(BevelBorder.java:256)
   at javax.swing.JComponent.paintBorder(JComponent.java:1810)
   at javax.swing.JComponent.paint(JComponent.java:1764)
   at javax.swing.JComponent.paintChildrenOptimized(JComponent.java:2059)
   at javax.swing.JComponent.paintChildren(JComponent.java:1832)
   at javax.swing.JComponent.paint(JComponent.java:1765)
   at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:2209)
   at javax.swing.JComponent.paintImmediately2(JComponent.java:2157)
   at javax.swing.JComponent.paintImmediately(JComponent.java:2143)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:592)
   at javax.swing.RepaintManager$RepaintWorker.run(RepaintManager.java:127)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:200)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:465)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:75)

and so on. The care should be taken before computing values, that should be
darker of brighter than null. This is a regression, at 2006-05-03 CVS version
Protege was functional and it was possible to create ontologies with it.


-- 
           Summary: Regression:NPE's in BevelBorder
           Product: classpath
           Version: 0.91
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: swing
        AssignedTo: roman at kennke dot org
        ReportedBy: audriusa at bluewin dot ch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27520





reply via email to

[Prev in Thread] Current Thread [Next in Thread]