[ https://jira.codehaus.org/browse/MINDEXER-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomas Stupka updated MINDEXER-94: --------------------------------- Description: see o.a.m.index.updater.WagonHelper.WagonFetcher.retrieve(name) in indexer.core 5.1.1 a temp file is created to store the remote index, but in case that the following retrieve( name, target ) call throws an exception, then no attempt is made to remove this file. The problem typically happens in cases when there is no remote index file available and also that the temp folder might become polluted after a while - e.g in a scenario like we have encountered in NetBeans - see also https://netbeans.org/bugzilla/show_bug.cgi?id=246409 see also attached fix suggestion ... was: see o.a.m.index.updater.WagonHelper.WagonFetcher.retrieve(name) in indexer.core 5.1.1 a temp file is created to store the remote index, but in case that the following retrieve( name, target ) call throws an exception, then no attempt is made to remove this file. Also that the temp folder might become polluted after a while - e.g in a scenario like we have encountered in NetBeans - see also https://netbeans.org/bugzilla/show_bug.cgi?id=246409 see also attached fix suggestion ... > no temp file cleanup in WagonFetcher after an error > --------------------------------------------------- > > Key: MINDEXER-94 > URL: https://jira.codehaus.org/browse/MINDEXER-94 > Project: Maven Indexer > Issue Type: Bug > Affects Versions: 5.1.1 > Reporter: Tomas Stupka > Priority: Minor > Attachments: deleteTempFile.diff > > > see o.a.m.index.updater.WagonHelper.WagonFetcher.retrieve(name) in > indexer.core 5.1.1 > a temp file is created to store the remote index, but in case that the > following retrieve( name, target ) call throws an exception, then no attempt > is made to remove this file. > The problem typically happens in cases when there is no remote index file > available and also that the temp folder might become polluted after a while - > e.g in a scenario like we have encountered in NetBeans - see also > https://netbeans.org/bugzilla/show_bug.cgi?id=246409 > see also attached fix suggestion ... -- This message was sent by Atlassian JIRA (v6.1.6#6162)