Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1977

StackOverFlow importing LDIF (infinite loop)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M16
    • 2.1.0
    • mavibot
    • None
    • linux 64bits wheezy + oracle jdk 1.7.0_55

    Description

      When importing my ldif file (170 entries), I often get :
      java.lang.StackOverflowError
      at net.sf.ehcache.store.compound.Segment.potentiallyCopyForRead(Segment.java:184)
      at net.sf.ehcache.store.compound.Segment.decode(Segment.java:179)
      at net.sf.ehcache.store.compound.Segment.get(Segment.java:229)
      at net.sf.ehcache.store.compound.CompoundStore.get(CompoundStore.java:169)
      at net.sf.ehcache.store.compound.CompoundStore.getQuiet(CompoundStore.java:176)
      at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:1933)
      at net.sf.ehcache.Cache.get(Cache.java:1555)
      at net.sf.ehcache.Cache.get(Cache.java:1522)
      at org.apache.directory.mavibot.btree.PersistedPageHolder.getValue(PersistedPageHolder.java:108)
      at org.apache.directory.mavibot.btree.AbstractPage.contains(AbstractPage.java:211)
      at org.apache.directory.mavibot.btree.AbstractPage.contains(AbstractPage.java:211)
      at org.apache.directory.mavibot.btree.AbstractPage.contains(AbstractPage.java:211)
      at org.apache.directory.mavibot.btree.AbstractPage.contains(AbstractPage.java:211)
      at org.apache.directory.mavibot.btree.AbstractPage.contains(AbstractPage.java:211)

      Sometimes, it works...

      It may be a duplicate :
      https://issues.apache.org/jira/browse/DIRSERVER-1890
      but I'm not sure.
      Please close, if duplicate.

      Regards,
      Serge

      Attachments

        Activity

          People

            Unassigned Unassigned
            sp31415 Serge Pouliquen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: