[jboss-jira] [JBoss JIRA] (WFCORE-760) Adding an empty log category results in a StringOutOfBoundsException

Bruno Litman (JIRA) issues at jboss.org
Mon Jun 15 16:42:03 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079398#comment-13079398 ] 

Bruno Litman edited comment on WFCORE-760 at 6/15/15 4:41 PM:
--------------------------------------------------------------

stack trace can be found here: http://pastebin.com/Tkf3A81r

Steps to recreate: Simply add a logger to a profile, separate from root-logger, with an empty category attribute
for instance
{code:xml}
<logger category="">
 <level name="ERROR"/>
</logger>
{code}


was (Author: blitman):
stack trace can be found here: http://pastebin.com/Tkf3A81r

Steps to recreate: Simply add a logger, separate from root-logger, with an empty category attribute
for instance
{code:xml}
<logger category="">
 <level name="ERROR"/>
</logger>
{code}

> Adding an empty log category results in a StringOutOfBoundsException
> --------------------------------------------------------------------
>
>                 Key: WFCORE-760
>                 URL: https://issues.jboss.org/browse/WFCORE-760
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Logging
>            Reporter: James Perkins
>            Assignee: James Perkins
>
> When editing the XML you can leave a category for a logger blank or empty which results in a {{StringOutOfBoundsException}}. A better exception should be thrown.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list