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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: