sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SLING-6397) Error logged by ServiceUserMapperImpl while unregistering an already unregistered service
Date Wed, 20 Sep 2017 12:02:00 GMT

     [ https://issues.apache.org/jira/browse/SLING-6397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Munteanu closed SLING-6397.
----------------------------------

> Error logged by ServiceUserMapperImpl while unregistering an already unregistered service
> -----------------------------------------------------------------------------------------
>
>                 Key: SLING-6397
>                 URL: https://issues.apache.org/jira/browse/SLING-6397
>             Project: Sling
>          Issue Type: Bug
>          Components: Service User Mapper
>    Affects Versions: Service User Mapper 1.2.2
>            Reporter: Mohit Arora
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Service User Mapper 1.2.4
>
>
> On shutdown of AEM, errors like below are logged in error logs - 
> {code}
> *ERROR* [pool-44-thread-1] org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl
cannot unregister ServiceUserMapped Mapping [serviceName=com.adobe.cq.social.cq-social-jcr-provider,
subServiceName=ugc-writer, userName=communities-ugc-writer]
> java.lang.IllegalStateException: Service already unregistered.
> 	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:140)
> 	at org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.executeServiceRegistrations(ServiceUserMapperImpl.java:315)
> 	at org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.access$000(ServiceUserMapperImpl.java:77)
> 	at org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl$1.run(ServiceUserMapperImpl.java:295)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> 	at java.util.concurrent.FutureTask.run(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> {code}
> The service has already been rightfully unregistered and hence this is valid condition.
So this message should not be logged at *error* level but maybe at *debug* level.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message