You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2007/04/16 08:19:15 UTC
[jira] Updated: (DIRSERVER-902) Turning on DEBUG logging causes
ArrayIndexOutOfBounds in AbstractSchemaObject.java
[ https://issues.apache.org/jira/browse/DIRSERVER-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Custine updated DIRSERVER-902:
------------------------------------
Attachment: DIRSERVER-902.diff
This patch fixes this issue. Replaced check of names==null with names.length==0.
> Turning on DEBUG logging causes ArrayIndexOutOfBounds in AbstractSchemaObject.java
> ----------------------------------------------------------------------------------
>
> Key: DIRSERVER-902
> URL: https://issues.apache.org/jira/browse/DIRSERVER-902
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: ldap
> Affects Versions: 1.5.0
> Reporter: Chris Custine
> Attachments: DIRSERVER-902.diff
>
>
> The names array is initialized as an empty array but the toString method is only checking for names ==null. When DEBUG logging is on, the calls to toString() are causing AIOOB exceptions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.