pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIVOT-162) Opening a sheet on the Display causes a NullPointerException
Date Wed, 01 Jul 2009 14:25:47 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Greg Brown resolved PIVOT-162.
------------------------------

    Resolution: Fixed

> Opening a sheet on the Display causes a NullPointerException
> ------------------------------------------------------------
>
>                 Key: PIVOT-162
>                 URL: https://issues.apache.org/jira/browse/PIVOT-162
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>            Reporter: Todd Volkert
>            Assignee: Greg Brown
>             Fix For: 1.3
>
>
> Sheet has an open(Display) override, so it looks like we try to support this case, but
if you do it, you get an exception.  What's worse is that if you get this exception in your
startup method, then you can't close the host frame using the close button - you have to 
kill the Java process.
> java.lang.NullPointerException
> 	at org.apache.pivot.wtk.skin.terra.TerraSheetSkin.windowOpened(TerraSheetSkin.java:361)
> 	at org.apache.pivot.wtk.Window$WindowStateListenerList.windowOpened(Window.java:150)
> 	at org.apache.pivot.wtk.Window.open(Window.java:435)
> 	at org.apache.pivot.wtk.Sheet.open(Sheet.java:111)
> 	at org.apache.pivot.wtk.ScriptApplication.startup(ScriptApplication.java:50)
> 	at org.apache.pivot.wtk.DesktopApplicationContext$HostFrame.processWindowEvent(DesktopApplicationContext.java:76)
> 	at java.awt.Window.processEvent(Window.java:1820)
> 	at java.awt.Component.dispatchEventImpl(Component.java:4630)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2099)
> 	at java.awt.Window.dispatchEventImpl(Window.java:2475)
> 	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)
> ...
> java.lang.NullPointerException
> 	at org.apache.pivot.wtk.skin.terra.TerraSheetSkin.previewSheetClose(TerraSheetSkin.java:379)
> 	at org.apache.pivot.wtk.Sheet$SheetStateListenerList.previewSheetClose(Sheet.java:35)
> 	at org.apache.pivot.wtk.Sheet.close(Sheet.java:146)
> 	at org.apache.pivot.wtk.Sheet.close(Sheet.java:141)
> 	at org.apache.pivot.wtk.ScriptApplication.shutdown(ScriptApplication.java:55)
> 	at org.apache.pivot.wtk.DesktopApplicationContext.exit(DesktopApplicationContext.java:160)
> 	at org.apache.pivot.wtk.DesktopApplicationContext$HostFrame.processWindowEvent(DesktopApplicationContext.java:92)
> 	at java.awt.Window.processEvent(Window.java:1820)
> 	at java.awt.Component.dispatchEventImpl(Component.java:4630)
> 	at java.awt.Container.dispatchEventImpl(Container.java:2099)
> 	at java.awt.Window.dispatchEventImpl(Window.java:2475)
> 	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