ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACE-254) OBR upload fail (on windows only ?) due to unclosed outputstream
Date Tue, 10 Apr 2012 10:09:16 GMT
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
            Reporter: Bram de Kruijff


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message