Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-368

StackOverflowError when working with entries with thousands of attributes or values

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Labels:
      None

      Description

      Reported originally in https://issues.apache.org/jira/browse/DIRSERVER-2340

      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)
      

      Reason is that the encoding is done recursively.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seelmann Stefan Seelmann
                Reporter:
                seelmann Stefan Seelmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: