Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.8
-
None
-
None
Description
In case the given VaultPackage returns null for its getFile() method, the following NPE is thrown:
java.lang.NullPointerException at java.util.zip.ZipFile.<init>(ZipFile.java:220) at java.util.zip.ZipFile.<init>(ZipFile.java:162) at org.apache.jackrabbit.vault.packaging.impl.PackageManagerImpl.rewrap(PackageManagerImpl.java:216) at org.apache.jackrabbit.vault.packaging.impl.PackageManagerImpl.rewrap(PackageManagerImpl.java:183) at ...
Instead of relying on implementation details of VaultPackage it should only act on Archive API to be able to rewrap arbitrary VaultPackage types.
Attachments
Issue Links
- links to