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/10/24 15:45:34 UTC
[jira] [Resolved] (SLING-4103) Potential NPE when services get
restarted
[ https://issues.apache.org/jira/browse/SLING-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-4103.
-------------------------------------
Resolution: Fixed
Added extra checks in the queue manager
> Potential NPE when services get restarted
> -----------------------------------------
>
> Key: SLING-4103
> URL: https://issues.apache.org/jira/browse/SLING-4103
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Event 3.4.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Event 3.4.2
>
>
> When components get restarted, this might result in NPEs which in turn make the whole eventing unusabel, e.g. :
> 23.10.2014 15:59:01.274 WARN [OsgiInstallerImpl] org.apache.sling.discovery.impl.DiscoveryServiceImpl sendTopologyEvent: handler threw exception. handler: org.apache.sling.event.impl.jobs.config.JobManagerConfiguration@45c91803, exception: java.lang.NullPointerException
> java.lang.NullPointerException: null
> at org.apache.sling.event.impl.jobs.queues.QueueManager.restart(QueueManager.java:289)
> at org.apache.sling.event.impl.jobs.queues.QueueManager.configurationChanged(QueueManager.java:349)
> at org.apache.sling.event.impl.jobs.config.JobManagerConfiguration.notifiyListeners(JobManagerConfiguration.java:476)
> at org.apache.sling.event.impl.jobs.config.JobManagerConfiguration.stopProcessing(JobManagerConfiguration.java:450)
> at org.apache.sling.event.impl.jobs.config.JobManagerConfiguration.handleTopologyEvent(JobManagerConfiguration.java:505)
> at org.apache.sling.discovery.impl.DiscoveryServiceImpl.sendTopologyEvent(DiscoveryServiceImpl.java:192)
> at org.apache.sling.discovery.impl.DiscoveryServiceImpl.handlePotentialTopologyChange(DiscoveryServiceImpl.java:484)
> at org.apache.sling.discovery.impl.DiscoveryServiceImpl.bindPropertyProviderInteral(DiscoveryServiceImpl.java:272)
> at org.apache.sling.discovery.impl.DiscoveryServiceImpl.updatedPropertyProvider(DiscoveryServiceImpl.java:285)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)