You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Philipp Marx (JIRA)" <ji...@apache.org> on 2014/04/28 15:29:19 UTC
[jira] [Created] (SLING-3522) NPE on startup in
ChangeStateTask.getSortKey
Philipp Marx created SLING-3522:
-----------------------------------
Summary: NPE on startup in ChangeStateTask.getSortKey
Key: SLING-3522
URL: https://issues.apache.org/jira/browse/SLING-3522
Project: Sling
Issue Type: Bug
Components: Installer
Affects Versions: Installer Configuration Factory 1.0.10
Reporter: Philipp Marx
ChangeStateTask.getSortKey will internally call getResource().getEntityId(), whereas getResource() might return null.
I tracked this down on my system to be a concurrency issue where the ResourceState of the task is being updated from UNINSTALL to INSTALLED by an update event. Since the state is now INSTALLED getResource() will return null since it is checking for resource in state UNINSTALL oder INSTALL.
--
This message was sent by Atlassian JIRA
(v6.2#6252)