You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Ankush Malhotra (JIRA)" <ji...@apache.org> on 2015/05/19 19:07:00 UTC
[jira] [Updated] (JCRVLT-92) Package rewrap broken for packages
smaller than 1mb since introduction of memory archive
[ https://issues.apache.org/jira/browse/JCRVLT-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ankush Malhotra updated JCRVLT-92:
----------------------------------
Description:
ethod getPackage() in the class JcrPackageImpl creates an in memory archive instead of a temporary zip.file, but the method PackageManagerImpl.rewrap(JcrPackage arg0, ProgressTrackerListener arg1) still expects the JcrPackage arg0 to be a file, and not a MemoryArchive.
The call src.getFile() returns null and an NullPointer Exception is thrown in the ZipFile method.
/* 175 */ ZipFile zip = new ZipFile(src.getFile(), 1);
> Package rewrap broken for packages smaller than 1mb since introduction of memory archive
> ----------------------------------------------------------------------------------------
>
> Key: JCRVLT-92
> URL: https://issues.apache.org/jira/browse/JCRVLT-92
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 3.1.16
> Reporter: Ankush Malhotra
>
> ethod getPackage() in the class JcrPackageImpl creates an in memory archive instead of a temporary zip.file, but the method PackageManagerImpl.rewrap(JcrPackage arg0, ProgressTrackerListener arg1) still expects the JcrPackage arg0 to be a file, and not a MemoryArchive.
> The call src.getFile() returns null and an NullPointer Exception is thrown in the ZipFile method.
> /* 175 */ ZipFile zip = new ZipFile(src.getFile(), 1);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)