ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ACE-254) OBR upload fail (on windows only ?) due to unclosed outputstream
Date Mon, 27 May 2013 07:46:17 GMT

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

Bram de Kruijff closed ACE-254.
-------------------------------

    Fix Version/s: 1.0.0
       Resolution: Fixed

Bulk update to fix version 1.0
                
> OBR upload fail (on windows only ?) due to unclosed outputstream
> ----------------------------------------------------------------
>
>                 Key: ACE-254
>                 URL: https://issues.apache.org/jira/browse/ACE-254
>             Project: ACE
>          Issue Type: Bug
>    Affects Versions: 0.8.0-incubator
>            Reporter: Bram de Kruijff
>             Fix For: 1.0.0
>
>
> I'm experiencing test and runtime failures on windows due to unclosed outputstream when
strying to move/delete a file in BundleFileStore.
> runtime error
> {code}
> -> log
> 2012.04.10 10:23:18 ERROR - Bundle: org.apache.ace.webui.vaadin - Import of C:\bramk\Amdatu\git\amdatu-management\amdatu-release-ams\target\org.amdatu.mgmtserve
> r-0.0.1-SNAPSHOT\work\felix-cache\bundle18\data\12345\org.apache.felix.shell.tui-1.4.1.jar
failed. - java.io.IOException: Error importing artifact file:/C:/bram
> k/Amdatu/git/amdatu-management/amdatu-release-ams/target/org.amdatu.mgmtserver-0.0.1-SNAPSHOT/work/felix-cache/bundle18/data/12345/org.apache.felix.shell.tui-1.
> 4.1.jar: Artifact already exists in storage.
>         at org.apache.ace.client.repository.impl.ArtifactRepositoryImpl.upload(ArtifactRepositoryImpl.java:472)
>         at org.apache.ace.client.repository.impl.ArtifactRepositoryImpl.importArtifact(ArtifactRepositoryImpl.java:375)
>         at org.apache.ace.client.repository.impl.ArtifactRepositoryImpl.importArtifact(ArtifactRepositoryImpl.java:314)
>         at org.apache.ace.webui.vaadin.AddArtifactWindow.importRemoteBundle(AddArtifactWindow.java:677)
>         at org.apache.ace.webui.vaadin.AddArtifactWindow.importRemoteBundles(AddArtifactWindow.java:495)
>         at org.apache.ace.webui.vaadin.AddArtifactWindow$4.buttonClick(AddArtifactWindow.java:390)
> {code}
> junit failures
> {code}
> -------------------------------------------------------------------------------
> Test set: TestSuite
> -------------------------------------------------------------------------------
> Tests run: 12, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.621 sec <<<
FAILURE!
> removeExistingBundle(org.apache.ace.obr.storage.file.BundleFileStoreTest)  Time elapsed:
0.02 sec  <<< FAILURE!
> java.lang.AssertionError
>         at org.apache.ace.obr.storage.file.BundleFileStoreTest.removeExistingBundle(BundleFileStoreTest.java:290)
> putBundle(org.apache.ace.obr.storage.file.BundleFileStoreTest)  Time elapsed: 0.01 sec
 <<< FAILURE!
> java.io.FileNotFoundException: C:\Users\bramk\AppData\Local\Temp\test8382764080254375156\filename
(The system cannot find the file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:120)
>         at org.apache.ace.obr.storage.file.BundleFileStoreTest.putBundle(BundleFileStoreTest.java:267)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message