You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2007/12/03 16:09:43 UTC
[jira] Created: (UIMA-665) sometimes the test
testHasNextWithOutOfMemoryError() for test class
CpmCollectionReader_ErrorTest fails
sometimes the test testHasNextWithOutOfMemoryError() for test class CpmCollectionReader_ErrorTest fails
-------------------------------------------------------------------------------------------------------
Key: UIMA-665
URL: https://issues.apache.org/jira/browse/UIMA-665
Project: UIMA
Issue Type: Bug
Components: Collection Processing
Affects Versions: 2.2.1
Reporter: Michael Baessler
Assignee: Michael Baessler
Fix For: 2.2.1
sometimes this test case fails... I will investigate the issue
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-665) sometimes the test
testHasNextWithOutOfMemoryError() for test class
CpmCollectionReader_ErrorTest fails
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Baessler closed UIMA-665.
---------------------------------
Resolution: Fixed
> sometimes the test testHasNextWithOutOfMemoryError() for test class CpmCollectionReader_ErrorTest fails
> -------------------------------------------------------------------------------------------------------
>
> Key: UIMA-665
> URL: https://issues.apache.org/jira/browse/UIMA-665
> Project: UIMA
> Issue Type: Bug
> Components: Collection Processing
> Affects Versions: 2.2.1
> Reporter: Michael Baessler
> Assignee: Michael Baessler
> Fix For: 2.2.1
>
>
> sometimes this test case fails... I will investigate the issue
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-665) sometimes the test
testHasNextWithOutOfMemoryError() for test class
CpmCollectionReader_ErrorTest fails
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547870 ]
Michael Baessler commented on UIMA-665:
---------------------------------------
It seems that the error is caused by the test case itself. The test assumes that the last call to the StatusCallbackListener is the call that caused the error and the CAS for this call is null. But this is not correct. It can happen that the second last call to the StatusCallbackListener has the error and so on the last call the CAS is not null. The StatusCallbackListener already checks if an error is reported that the CAS is null, so I will just remove the wrong assumption in the test case that the last CAS going through the StatusCallbackListener must be null.
> sometimes the test testHasNextWithOutOfMemoryError() for test class CpmCollectionReader_ErrorTest fails
> -------------------------------------------------------------------------------------------------------
>
> Key: UIMA-665
> URL: https://issues.apache.org/jira/browse/UIMA-665
> Project: UIMA
> Issue Type: Bug
> Components: Collection Processing
> Affects Versions: 2.2.1
> Reporter: Michael Baessler
> Assignee: Michael Baessler
> Fix For: 2.2.1
>
>
> sometimes this test case fails... I will investigate the issue
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.