Build: NetBeans IDE Dev (Build 100503-343fb0de9337)
VM: OpenJDK Client VM, 14.0-b16, OpenJDK Runtime Environment, 1.6.0_18-b18
jtulach: Trying to change branding for NbScribble application
java.util.zip.ZipException: error in opening zip file
Created attachment 98494 [details]
Should at least log the ZIP which cannot be opened. Might also be trying to open a nonexistent file, etc.
Reproduced for a case when a suite's module project has not been built yet (its JAR does not exist) and as it is included in the list gathered from LayerUtils.getPlatformJarsForSuiteComponentProject() the branding panel tries opening it.
Making the code more robust to ignore missing JARs: core-main #7130c7abf68c
However, the suite's module project's JAR being included in LayerUtils.getPlatformJarsForSuiteComponentProject() has also another consequence. After the module's JAR becomes available, querying BrandingSupport for its bundle key values results in NPE (issue #185522) because BrandingSupport does not have it in its list of modules for branding. I will follow up on this part in issue #185522.
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)