uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Updated: (UIMA-398) test case intermittently fails running Java 6 - with a hang: uimaj-core, org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_implTest
Date Sun, 06 May 2007 23:24:15 GMT

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

Marshall Schor updated UIMA-398:
--------------------------------

    Attachment: screenshot-1.jpg

Caught the hang in Eclipse debugger.  Can see two instances waiting forever to get a resource
from the ResourcePool

> test case intermittently fails running Java 6 - with a hang: uimaj-core, org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_implTest
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-398
>                 URL: https://issues.apache.org/jira/browse/UIMA-398
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1
>         Environment: Sun Java 6_01
>            Reporter: Marshall Schor
>         Attachments: screenshot-1.jpg
>
>
> The failure is intermittent.  It fails the first time running (for me) from a reboot,
but runs after that.  The failure occurs in the test where it does a threads[i].join(); and
happens when i = 0.  I found this out by changing the join() to join(10000), and then inserting:
>         if (threads[i].isAlive()) {
>           System.err.println("timeout waiting for thread to complete " + i);
>           fail("timeout waiting for thread to complete " + i);
>         }

-- 
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