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

DN serializer in Mavibot partition is throwing StreamCorruptedException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • mavibot
    • None

    Description

      In a test after injecting 3000 <Dn,Entry> tuples the below exception is occuring.

      java.io.StreamCorruptedException: invalid stream header: 00000000
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:781)
      at java.io.ObjectInputStream.<init>(ObjectInputStream.java:278)
      at org.apache.directory.server.core.partition.impl.btree.mavibot.DnSerializer.deserialize(DnSerializer.java:145)
      at org.apache.directory.server.core.partition.impl.btree.mavibot.DnSerializer.deserialize(DnSerializer.java:138)
      at org.apache.directory.server.core.partition.impl.btree.mavibot.DnSerializer.deserialize(DnSerializer.java:1)
      at org.apache.directory.mavibot.btree.managed.RecordManager.readNodeKeysAndValues(RecordManager.java:696)
      at org.apache.directory.mavibot.btree.managed.RecordManager.readPage(RecordManager.java:608)
      at org.apache.directory.mavibot.btree.managed.RecordManager.deserialize(RecordManager.java:567)
      at org.apache.directory.mavibot.btree.managed.PageHolder.fetchElement(PageHolder.java:124)
      at org.apache.directory.mavibot.btree.managed.PageHolder.getValue(PageHolder.java:89)
      at org.apache.directory.mavibot.btree.managed.PageHolder.getValue(PageHolder.java:41)
      at org.apache.directory.mavibot.btree.managed.Node.insert(Node.java:147)
      at org.apache.directory.mavibot.btree.managed.Node.insert(Node.java:150)
      at org.apache.directory.mavibot.btree.managed.BTree.insert(BTree.java:1018)
      at org.apache.directory.mavibot.btree.managed.BTree.insert(BTree.java:620)

      Attachments

        Activity

          People

            akiran Kiran Ayyagari
            akiran Kiran Ayyagari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: