Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3515

DeploymentAdmin triggers IOException on install

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • Deployment Admin
    • None

    Description

      The commit in r1339925 introduced an IOException that will happen always, but may or may not have an effect (concurrency).

      Issue it the ExplodingOutputtingInputStream#run() will always try to read an InputStream it has already closed itself. As the IOException is now also pushed to the calling thread this cause the deployment to fail.

      java.io.IOException: Exception while processing the stream in the background: Pipe closed
              at org.apache.felix.deploymentadmin.ExplodingOutputtingInputStream.close(ExplodingOutputtingInputStream.java:73)
              at org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:217)
              at org.amdatu.itest.base.impl.TestContextImpl.installDeploymentPackage(TestContextImpl.java:94)
      

      Attachments

        Activity

          People

            marrs Marcel Offermans
            bramk Bram de Kruijff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: