This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | java.util.zip.ZipException: error in opening zip file | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Project | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 169152 |
Attachments: | stacktrace |
Description
Jaroslav Tulach
2010-05-05 14:29:42 UTC
Created attachment 98494 [details]
stacktrace
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) Changeset: http://hg.netbeans.org/main/rev/ User: Log: |