mbien opened a new pull request, #9575: URL: https://github.com/apache/netbeans/pull/9575
as observed in https://github.com/apache/netbeans/actions/runs/32883200508?pr=9573, CI fails sometimes in `platform/autoupdate.services` with ``` netbeans/nbbuild/templates/common.xml:487: Could not validate Info.xml before writing: java.util.zip.ZipException: ZipFile invalid LOC header (bad signature) at java.base/java.util.zip.ZipFile$ZipFileInputStream.initDataOffset(ZipFile.java:935) at java.base/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:946) at java.base/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:970) at java.base/java.io.FilterInputStream.read(FilterInputStream.java:71) at java.base/java.io.FilterInputStream.read(FilterInputStream.java:71) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.readAndBuffer(XMLEntityManager.java:3027) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:706) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1398) at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1364) at ... more xerces at org.netbeans.nbbuild.XMLUtil.parse(XMLUtil.java:106) at org.netbeans.nbbuild.MakeNBM.validateAgainstAUDTDs(MakeNBM.java:1103) at org.netbeans.nbbuild.MakeNBM.createInfoXml(MakeNBM.java:1045) at org.netbeans.nbbuild.MakeNBM.lambda$execute$1(MakeNBM.java:625) at org.netbeans.nbbuild.MakeNBM.execute(MakeNBM.java:646) ``` This was also locally reproducible after downloading the CI artifact. First 'ant build-nbms' would fail, second invocation would always succeed. It can't be a coincidence that the module which provides the updater.jar fails while reading a xml file from the very same jar. Unfortunately I couldn't find the cause, but eagerly loading the resource with ant's project CL appears to resolve the issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
