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/03/30 08:37:25 UTC

[jira] Created: (UIMA-365) call tae.destroy() in AnalysisEngine_implTest to close open file handles

call tae.destroy() in AnalysisEngine_implTest to close open file handles 
-------------------------------------------------------------------------

                 Key: UIMA-365
                 URL: https://issues.apache.org/jira/browse/UIMA-365
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.1
            Reporter: Michael Baessler
         Assigned To: Michael Baessler
            Priority: Minor
             Fix For: 2.2


call tae.destroy() in AnalysisEngine_implTest to close open file handles.

The used CasConsumer open a file in the initialize method and close it in the destroy() or collectionComplete() method. If the destroy() method is not called, the file cannot be deleted since it is still open. Sometimes this cause the testProcess() testcase in AnalysisEngine_implTest to fail.

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


Re: [jira] Created: (UIMA-365) call tae.destroy() in AnalysisEngine_implTest to close open file handles

Posted by Thilo Goetz <tw...@gmx.de>.
Thilo Goetz wrote:
> Michael Baessler (JIRA) wrote:
>> call tae.destroy() in AnalysisEngine_implTest to close open file 
>> handles 
>> -------------------------------------------------------------------------
>>
>>                  Key: UIMA-365
>>                  URL: https://issues.apache.org/jira/browse/UIMA-365
>>              Project: UIMA
>>           Issue Type: Bug
>>           Components: Core Java Framework
>>     Affects Versions: 2.1
>>             Reporter: Michael Baessler
>>          Assigned To: Michael Baessler
>>             Priority: Minor
>>              Fix For: 2.2
>>
>>
>> call tae.destroy() in AnalysisEngine_implTest to close open file handles.
>>
>> The used CasConsumer open a file in the initialize method and close it 
>> in the destroy() or collectionComplete() method. If the destroy() 
>> method is not called, the file cannot be deleted since it is still 
>> open. Sometimes this cause the testProcess() testcase in 
>> AnalysisEngine_implTest to fail.
>>
> 
> Waer da als component nicht eher "Build, packaging and test" angebracht? 
>  Aber egal...
> 
> --Thilo

Oops, sorry.  This was supposed to go to Michael directly.  Excuse my 
German, but you can probably guess what I'm saying...

--Thilo


Re: [jira] Created: (UIMA-365) call tae.destroy() in AnalysisEngine_implTest to close open file handles

Posted by Thilo Goetz <tw...@gmx.de>.
Michael Baessler (JIRA) wrote:
> call tae.destroy() in AnalysisEngine_implTest to close open file handles 
> -------------------------------------------------------------------------
> 
>                  Key: UIMA-365
>                  URL: https://issues.apache.org/jira/browse/UIMA-365
>              Project: UIMA
>           Issue Type: Bug
>           Components: Core Java Framework
>     Affects Versions: 2.1
>             Reporter: Michael Baessler
>          Assigned To: Michael Baessler
>             Priority: Minor
>              Fix For: 2.2
> 
> 
> call tae.destroy() in AnalysisEngine_implTest to close open file handles.
> 
> The used CasConsumer open a file in the initialize method and close it in the destroy() or collectionComplete() method. If the destroy() method is not called, the file cannot be deleted since it is still open. Sometimes this cause the testProcess() testcase in AnalysisEngine_implTest to fail.
> 

Waer da als component nicht eher "Build, packaging and test" angebracht? 
  Aber egal...

--Thilo


[jira] Updated: (UIMA-365) call tae.destroy() in AnalysisEngine_implTest to close open file handles

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

Michael Baessler updated UIMA-365:
----------------------------------

    Component/s:     (was: Core Java Framework)
                 Build, Packaging and Test

> call tae.destroy() in AnalysisEngine_implTest to close open file handles 
> -------------------------------------------------------------------------
>
>                 Key: UIMA-365
>                 URL: https://issues.apache.org/jira/browse/UIMA-365
>             Project: UIMA
>          Issue Type: Bug
>          Components: Build, Packaging and Test
>    Affects Versions: 2.1
>            Reporter: Michael Baessler
>         Assigned To: Michael Baessler
>            Priority: Minor
>             Fix For: 2.2
>
>
> call tae.destroy() in AnalysisEngine_implTest to close open file handles.
> The used CasConsumer open a file in the initialize method and close it in the destroy() or collectionComplete() method. If the destroy() method is not called, the file cannot be deleted since it is still open. Sometimes this cause the testProcess() testcase in AnalysisEngine_implTest to fail.

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


[jira] Closed: (UIMA-365) call tae.destroy() in AnalysisEngine_implTest to close open file handles

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

Michael Baessler closed UIMA-365.
---------------------------------

    Resolution: Fixed

> call tae.destroy() in AnalysisEngine_implTest to close open file handles 
> -------------------------------------------------------------------------
>
>                 Key: UIMA-365
>                 URL: https://issues.apache.org/jira/browse/UIMA-365
>             Project: UIMA
>          Issue Type: Bug
>          Components: Build, Packaging and Test
>    Affects Versions: 2.1
>            Reporter: Michael Baessler
>         Assigned To: Michael Baessler
>            Priority: Minor
>             Fix For: 2.2
>
>
> call tae.destroy() in AnalysisEngine_implTest to close open file handles.
> The used CasConsumer open a file in the initialize method and close it in the destroy() or collectionComplete() method. If the destroy() method is not called, the file cannot be deleted since it is still open. Sometimes this cause the testProcess() testcase in AnalysisEngine_implTest to fail.

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