You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/07/22 10:33:06 UTC

[jira] [Resolved] (SLING-4764) ClassCastException when trying to modify properties in custom appender Service

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

Chetan Mehrotra resolved SLING-4764.
------------------------------------
       Resolution: Fixed
    Fix Version/s: Commons Log 4.0.4

Fixed along with testcase in http://svn.apache.org/r1692236

> ClassCastException when trying to modify properties in custom appender Service
> ------------------------------------------------------------------------------
>
>                 Key: SLING-4764
>                 URL: https://issues.apache.org/jira/browse/SLING-4764
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: Commons Log 4.0.2, Commons Log 4.0.4
>            Reporter: Andrey Bardashevsky
>            Assignee: Chetan Mehrotra
>             Fix For: Commons Log 4.0.4
>
>
> Exception:
> java.lang.ClassCastException: org.apache.sling.commons.log.logback.internal.AppenderTracker$AppenderInfo cannot be cast to ch.qos.logback.core.Appender
> 	at org.apache.sling.commons.log.logback.internal.AppenderTracker.modifiedService(AppenderTracker.java:78)
> Solution:
> org.apache.sling.commons.log.logback.internal.AppenderTracker#addingService should return Appender (a) instead of AppenderInfo (ai)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)