Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-7725

IllegalStateException "zip file closed" occurring in plugins

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.4.3
    • 2.3
    • None
    • Various. Not isolated to a particular jdk, db or app server.

      Various customers have reported that when installing or using various plugins they get a stack trace like this:

      java.lang.IllegalStateException: zip file closed
      at java.util.zip.ZipFile.ensureOpen(ZipFile.java:399)
      at java.util.zip.ZipFile.getInputStream(ZipFile.java:197)
      at java.util.zip.ZipFile.getInputStream(ZipFile.java:183)
      at java.util.jar.JarFile.getInputStream(JarFile.java:367)
      ...

      These have sometimes suddenly stopped happening after a restart. It is possible that restarting Confluence after installing the plugin is a workaround for this error.

            [CONFSERVER-7725] IllegalStateException "zip file closed" occurring in plugins

            Correction to the old fix for version of 2.3.2: Bug was fixed in atlassian-plugins during the time of 2.3.2. However, Confluence itself was not updated to bundle the latest version of atlassian-plugins that contained the fix.

            Confluence 2.4.3 will bundle this fix.

            dave (Inactive) added a comment - Correction to the old fix for version of 2.3.2: Bug was fixed in atlassian-plugins during the time of 2.3.2. However, Confluence itself was not updated to bundle the latest version of atlassian-plugins that contained the fix. Confluence 2.4.3 will bundle this fix.

            reopen to update fix for version

            dave (Inactive) added a comment - reopen to update fix for version

            To fix this problem, copy the attached jar to your confluence/WEB-INF/lib directory (removing the old atlassian-plugins-2006-12-05.jar) and restart Confluence.

            Cheers,
            Dave

            dave (Inactive) added a comment - To fix this problem, copy the attached jar to your confluence/WEB-INF/lib directory (removing the old atlassian-plugins-2006-12-05.jar) and restart Confluence. Cheers, Dave

              Unassigned Unassigned
              don.willis@atlassian.com Don Willis
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: