You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2007/05/07 01:24:15 UTC
[jira] Updated: (UIMA-398) test case intermittently fails running
Java 6 - with a hang: uimaj-core,
org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_implTest
[ 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.