pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Nutz (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIVOT-630) NPE when using ReflectionDecorator on Dialog with TextInput inside
Date Fri, 10 Sep 2010 11:18:36 GMT
NPE when using ReflectionDecorator on Dialog with TextInput inside
------------------------------------------------------------------

                 Key: PIVOT-630
                 URL: https://issues.apache.org/jira/browse/PIVOT-630
             Project: Pivot
          Issue Type: Bug
          Components: wtk-effects
    Affects Versions: 1.5.1
         Environment: JDK 1.6.0_20
            Reporter: Christian Nutz
             Fix For: 1.5.2


When using the ReflectionDecorator on a Dialog with a TextInput inside, which has the focus,
I'm getting infinite NPEs like the following:

Exception thrown during paint(): java.lang.NullPointerException
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at org.apache.pivot.wtk.skin.LabelSkin.paint(LabelSkin.java:303)
	at org.apache.pivot.wtk.Component.paint(Component.java:2035)
	at org.apache.pivot.wtk.Container.paint(Container.java:393)
	at org.apache.pivot.wtk.Container.paint(Container.java:393)
	at org.apache.pivot.wtk.Container.paint(Container.java:393)
	at org.apache.pivot.wtk.Container.paint(Container.java:393)
	at org.apache.pivot.wtk.Container.paint(Container.java:393)
	at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paintDisplay(ApplicationContext.java:512)
	at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paintVolatileBuffered(ApplicationContext.java:478)
	at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paint(ApplicationContext.java:383)
	at org.apache.pivot.wtk.Display.repaint(Display.java:75)
	at org.apache.pivot.wtk.Component.repaint(Component.java:2006)
	at org.apache.pivot.wtk.Component.repaint(Component.java:2006)
	at org.apache.pivot.wtk.Component.repaint(Component.java:2006)
	at org.apache.pivot.wtk.Component.repaint(Component.java:2006)
	at org.apache.pivot.wtk.Component.repaint(Component.java:2006)
	at org.apache.pivot.wtk.Component.repaint(Component.java:2006)
	at org.apache.pivot.wtk.skin.terra.TerraTextInputSkin$BlinkCaretCallback.run(TerraTextInputSkin.java:70)
	at org.apache.pivot.wtk.skin.terra.TerraTextInputSkin.showCaret(TerraTextInputSkin.java:1457)
	at org.apache.pivot.wtk.skin.terra.TerraTextInputSkin.layout(TerraTextInputSkin.java:278)
	at org.apache.pivot.wtk.Component.layout(Component.java:1926)
	at org.apache.pivot.wtk.Component.validate(Component.java:1917)
	at org.apache.pivot.wtk.Container.layout(Container.java:327)
	at org.apache.pivot.wtk.Component.validate(Component.java:1917)
	at org.apache.pivot.wtk.Container.layout(Container.java:327)
	at org.apache.pivot.wtk.Component.validate(Component.java:1917)
	at org.apache.pivot.wtk.Container.layout(Container.java:327)
	at org.apache.pivot.wtk.Component.validate(Component.java:1917)
	at org.apache.pivot.wtk.Container.layout(Container.java:327)
	at org.apache.pivot.wtk.Component.validate(Component.java:1917)
	at org.apache.pivot.wtk.Container.layout(Container.java:327)
	at org.apache.pivot.wtk.Component.validate(Component.java:1917)
	at org.apache.pivot.wtk.Container.layout(Container.java:327)
	at org.apache.pivot.wtk.Component.validate(Component.java:1917)
	at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:656)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message