pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-927) Unexpected NPE
Date Tue, 29 Oct 2013 21:15:30 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808460#comment-13808460
] 

Roger Whitcomb commented on PIVOT-927:
--------------------------------------

So, I just downloaded the Pivot sources from Maven Central, and the code there matches what
is in our tags\2.0.3 branch.  And the pivot-wtk-2.0.3.jar from Maven Central matches what
is available from the pivot.apache.org site as the current download.

You said you viewed the code of ApplicationContext .... how did you do that?  Did you disassemble
or debug the code from the .jar file?  Or how?

At any rate, I have some changes that I'd like to have you test, but I'm not sure how to get
you the changes.... I will check them into the current branches/2.0.x code, which you can
build, but they won't be available from Maven yet ...

> Unexpected NPE
> --------------
>
>                 Key: PIVOT-927
>                 URL: https://issues.apache.org/jira/browse/PIVOT-927
>             Project: Pivot
>          Issue Type: Question
>    Affects Versions: 2.0.3
>            Reporter: Ɓukasz Hanusiak
>            Assignee: Roger Whitcomb
>             Fix For: 2.0.4, 2.1
>
>
> After upgrading to pivot 2.0.3 my application randomly becomes unresponsive after throwing
NPE with following trace:
>  java.lang.NullPointerException
>      at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processMouseMotionEvent(ApplicationContext.java:1132)

>      at java.awt.Component.processEvent(Unknown Source)
>      at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:793)

>      at java.awt.Component.dispatchEventImpl(Unknown Source)
>      at java.awt.Component.dispatchEvent(Unknown Source)
>      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>      at java.awt.Container.dispatchEventImpl(Unknown Source)
>      at java.awt.Window.dispatchEventImpl(Unknown Source)
>      at java.awt.Component.dispatchEvent(Unknown Source)
>      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>      at java.awt.EventQueue.access$400(Unknown Source)
>      at java.awt.EventQueue$2.run(Unknown Source)
>      at java.awt.EventQueue$2.run(Unknown Source)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>      at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>      at java.awt.EventQueue$3.run(Unknown Source)
>      at java.awt.EventQueue$3.run(Unknown Source)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
>      at java.awt.EventQueue.dispatchEvent(Unknown Source)
>      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>      at java.awt.EventDispatchThread.run(Unknown Source)
> After mentioned exception occurs user is unable to use any element of UI. Only application
restart helps solve this problem. Even more confusing is fact that problem sometimes occurs
after few minutes and sometimes after few hours or even days. 
> Can anybody give me some pointers how to workaround / fix this situation?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message