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 2013/02/26 07:46:15 UTC

[jira] [Assigned] (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 reassigned SLING-2754:
---------------------------------------

    Assignee: Carsten Ziegeler
    
> 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
>            Assignee: Carsten Ziegeler
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira