You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/05/29 10:14:04 UTC
[jira] [Updated] (SLING-6577) StringIndexOutOfBoundsException in
Sling Log Web Console when creating new logger with absolute file name
[ https://issues.apache.org/jira/browse/SLING-6577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu updated SLING-6577:
-----------------------------------
Fix Version/s: (was: Commons Log 5.0.2)
Commons Log 5.0.4
> StringIndexOutOfBoundsException in Sling Log Web Console when creating new logger with absolute file name
> ---------------------------------------------------------------------------------------------------------
>
> Key: SLING-6577
> URL: https://issues.apache.org/jira/browse/SLING-6577
> Project: Sling
> Issue Type: Bug
> Components: Commons
> Affects Versions: Commons Log 5.0.0
> Reporter: Konrad Windszus
> Fix For: Commons Log 5.0.4
>
>
> After adding a new logger via the web console exposed at {{/system/console/slinglog}} with an absolute filename (one starting with "/"), the following exception is thrown
> {code}
> 28.02.2017 16:47:31.300 *ERROR* [qtp455076072-280] org.apache.felix.http.jetty Exception while processing request to /system/console/slinglog (java.lang.StringIndexOutOfBoundsException: String index out of range: -42)
> java.lang.StringIndexOutOfBoundsException: String index out of range: -42
> at java.lang.String.substring(String.java:1931)
> at org.apache.sling.commons.log.logback.internal.SlingLogPanel.getPath(SlingLogPanel.java:791)
> at org.apache.sling.commons.log.logback.internal.SlingLogPanel.appendOsgiConfiguredLoggerData(SlingLogPanel.java:221)
> at org.apache.sling.commons.log.logback.internal.SlingLogPanel.render(SlingLogPanel.java:110)
> at org.apache.sling.commons.log.webconsole.internal.LogWebConsolePlugin.renderContent(LogWebConsolePlugin.java:79)
> at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:194)
> {code}
> This is related to the exception being mentioned in SLING-6482.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)