You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (Jira)" <ji...@apache.org> on 2021/04/03 22:21:00 UTC
[jira] [Commented] (DIRAPI-368) StackOverflowError when working
with entries with thousands of attributes or values
[ https://issues.apache.org/jira/browse/DIRAPI-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314364#comment-17314364 ]
Stefan Seelmann commented on DIRAPI-368:
----------------------------------------
https://github.com/apache/directory-ldap-api/pull/16
[~elecharny] please take a look if that change is right.
> StackOverflowError when working with entries with thousands of attributes or values
> -----------------------------------------------------------------------------------
>
> Key: DIRAPI-368
> URL: https://issues.apache.org/jira/browse/DIRAPI-368
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 2.0.1
> Reporter: Stefan Seelmann
> Assignee: Stefan Seelmann
> Priority: Major
> Fix For: 2.0.2
>
>
> Reported originally in https://issues.apache.org/jira/browse/DIRSERVER-2340
> {noformat}
> java.lang.StackOverflowError
> at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:66)
> at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:68)
> at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:68)
> at org.apache.directory.api.ldap.codec.factory.SearchResultEntryFactory.encodeValues(SearchResultEntryFactory.java:68)
> {noformat}
> Reason is that the encoding is done recursively.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org