You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/12/29 11:33:13 UTC
[jira] [Resolved] (SLING-2754)
org.apache.sling.installer.core.impl.tasks.RefreshOptionalPackagesTask has
NPE
[ https://issues.apache.org/jira/browse/SLING-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-2754.
-------------------------------------
Resolution: Fixed
The code has been removed some time ago
> org.apache.sling.installer.core.impl.tasks.RefreshOptionalPackagesTask has NPE
> ------------------------------------------------------------------------------
>
> Key: SLING-2754
> URL: https://issues.apache.org/jira/browse/SLING-2754
> Project: Sling
> Issue Type: Bug
> Components: Installer
> Affects Versions: Installer Core 3.4.6
> Reporter: Ian Boston
>
> In org.apache.sling.installer.core.impl.tasks.RefreshOptionalPackagesTask there is
> line 62
> final PackageAdmin packageAdmin = null;
> followed by
> line 78
> exports = packageAdmin.getExportedPackages( ( Bundle ) null );
> line 117
> packageAdmin.refreshPackages(refreshBundles.toArray(new Bundle[refreshBundles.size()]));
> Which can only cause a NPE when its executed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)