You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Adam Lally (JIRA)" <ui...@incubator.apache.org> on 2007/01/25 17:42:49 UTC

[jira] Created: (UIMA-230) CPE GUI sometimes won't start if JList widgets are in use

CPE GUI sometimes won't start if JList widgets are in use
---------------------------------------------------------

                 Key: UIMA-230
                 URL: https://issues.apache.org/jira/browse/UIMA-230
             Project: UIMA
          Issue Type: Bug
          Components: Tools
            Reporter: Adam Lally
         Assigned To: Adam Lally
             Fix For: 2.1


There's a race condition that can cause a NullPointerException on startup of the CPE GUI.  The GUI loads the last known CPE descriptor and attempts to populate the GUI.  If there are JList widgets needed (for multi-valued parameters) you can sometimes get a NullPointerException in javax.swing.plaf.basic.BasicListUI.updateLayoutState.  Sometimes this error prevents the CPE GUI from starting (other times it is just printed on the console).

Swing isn't thread-safe and I think we aren't doing proper synchronization here.

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


[jira] Closed: (UIMA-230) CPE GUI sometimes won't start if JList widgets are in use

Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Lally closed UIMA-230.
---------------------------

    Resolution: Fixed

> CPE GUI sometimes won't start if JList widgets are in use
> ---------------------------------------------------------
>
>                 Key: UIMA-230
>                 URL: https://issues.apache.org/jira/browse/UIMA-230
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Adam Lally
>         Assigned To: Adam Lally
>             Fix For: 2.1
>
>
> There's a race condition that can cause a NullPointerException on startup of the CPE GUI.  The GUI loads the last known CPE descriptor and attempts to populate the GUI.  If there are JList widgets needed (for multi-valued parameters) you can sometimes get a NullPointerException in javax.swing.plaf.basic.BasicListUI.updateLayoutState.  Sometimes this error prevents the CPE GUI from starting (other times it is just printed on the console).
> Swing isn't thread-safe and I think we aren't doing proper synchronization here.

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