I have fresh version od Xwiki 12.2 installed at 28.03.2020 14:30. I have installed extension from manager: OpenID Connect Authenticator
Then jus after installation I go to Extension and click Check for update. Then it find that there is a new version of OpenID Connect Authenticator.
About the “zip file closed” issue you need to click the message as mentioned in the message itself and paste the content here or it’s hard (if not impossible) to help you
I think problem is that I install only OpenId Connect Authenticator. And it found after it that this library has newer version connected to other extension not installed by me
java.lang.IllegalStateException: zip file closed
at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:915)
at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:347)
at java.base/java.util.zip.ZipFile$1.getEntry(ZipFile.java:1121)
at java.base/java.util.jar.JarFile.getEntry0(JarFile.java:576)
at java.base/java.util.jar.JarFile.getEntry(JarFile.java:506)
at java.base/sun.net.www.protocol.jar.URLJarFile.getEntry(URLJarFile.java:131)
at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:468)
at org.xwiki.classloader.internal.ResourceLoader$JarInfo.getResource(ResourceLoader.java:428)
at org.xwiki.classloader.internal.ResourceLoader.findResource(ResourceLoader.java:364)
at org.xwiki.classloader.internal.ResourceLoader.findResource(ResourceLoader.java:287)
at org.xwiki.classloader.URIClassLoader$URIResourceFinder.findResource(URIClassLoader.java:464)
at org.xwiki.classloader.URIClassLoader$2.run(URIClassLoader.java:274)
at org.xwiki.classloader.URIClassLoader$2.run(URIClassLoader.java:270)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.xwiki.classloader.URIClassLoader.findResource(URIClassLoader.java:269)
at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1400)
at java.base/java.lang.ClassLoader.getResource(ClassLoader.java:1395)
at java.base/java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:322)
at org.xwiki.classloader.xwiki.internal.ContextNamespaceURLClassLoader.getResourceAsStream(ContextNamespaceURLClassLoader.java:128)
at org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.apache.xerces.parsers.SecuritySupport.getResourceAsStream(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
at org.xwiki.xml.internal.html.DefaultHTMLCleaner.getAvailableDocumentBuilder(DefaultHTMLCleaner.java:127)
at org.xwiki.xml.internal.html.DefaultHTMLCleaner.clean(DefaultHTMLCleaner.java:166)
at org.xwiki.rendering.internal.macro.html.HTMLMacro.cleanHTML(HTMLMacro.java:193)
at org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:163)
at org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:75)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:297)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:101)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.transform(AbstractBlockAsyncRenderer.java:74)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.tranform(DefaultBlockAsyncRenderer.java:143)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.execute(DefaultBlockAsyncRenderer.java:126)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:157)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:54)
at org.xwiki.panels.internal.PanelWikiUIExtension.render(PanelWikiUIExtension.java:131)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:67)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:49)
at org.xwiki.rendering.async.internal.AsyncRendererJob.runInternal(AsyncRendererJob.java:93)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:240)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:217)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
On that page the issue is that the last person who saved the page doesn’t have script rights (and thus the velocity macros fail to execute). Nothing to do with the ZIP file closed issue.