Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14151

Random "zip file closed" error while uninstalling/upgrading/downgrading a JAR extension, causes the wiki to be unusable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Critical
    • None
    • 9.2, 8.4.5, 9.11.4, 9.11.7, 9.11.8, 11.3, 11.7, 11.3.5, 11.8.1, 11.9, 11.3.6, 12.4
    • Classloader
    • None
    • Unknown

    Description

      I reproduced this bug while upgrading Forum app from v1.9 to v2.2 using Extension Manager.
      I noticed an error related to "zip file closed" in the install log.
      After I navigated to the main page I noticed multiple macros were broken.
      A server restart fixed the problem for me.

      Stacktrace: original_stacktrace.txt

      I found the following reproduction steps on fresh jetty/hsqldb 12.4 (using java openjdk "1.8.0_252"):

      • login as Admin, go on EM and install Mentions application (org.xwiki.contrib:mentions-ui:1.0)
      • restart the server
      • login as Admin, go on EM and install Extensions Tweak (org.xwiki.contrib:extension-tweak:1.4)
      • still on EM locate Mentions API (org.xwiki.contrib:mentions-api:1.0) in installed extensions and uninstall it
      • once done navigate to another page

      Attachments

        1. original_stacktrace.txt
          832 kB
          Simon Urli
        2. image-2020-02-11-10-28-01-186.png
          24 kB
          Vladislav Bronikov
        3. ErrorUpgrading.txt
          280 kB
          Gabriela Anechitoaei
        4. ErrorsAfterUpgrade2.jpg
          310 kB
          Gabriela Anechitoaei
        5. ZipFileClosed 11.3.5.jpg
          321 kB
          Gabriela Anechitoaei
        6. ZipClosed11.3.jpg
          239 kB
          Gabriela Anechitoaei
        7. Capture d’écran_2019-03-15_10-41-38.png
          412 kB
          Jean-Sébastien Dennebouy
        8. error zip file closed.png
          528 kB
          Iulia Balan
        9. Screenshot_1.png
          159 kB
          Manuel Smeria

        Issue Links

          Activity

            People

              surli Simon Urli
              msmeria Manuel Smeria
              Votes:
              3 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: