Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1575

Schematic binary values aren't deserialized correctly, causing EOF exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.0.0.Beta2
    • 3.0.0.Beta1
    • JCR, Storage
    • None
    • Hide

      Create Repo, Add folders, files etc.
      Firkle (using code to traverse the repo OR WebDav/REST)
      Destroy nodes in Repo (with Children)

      Show
      Create Repo, Add folders, files etc. Firkle (using code to traverse the repo OR WebDav/REST) Destroy nodes in Repo (with Children)
    • Hide

      Delete the repository from standalone repository in JBoss

      Show
      Delete the repository from standalone repository in JBoss
    • High

      After creating some initial content in the repository, accessing the nodes, and making changes results in a number of exceptions (see the first comment), but they basically all stem from the following exception:

      Caused by: java.io.EOFException
      	at org.infinispan.schematic.internal.io.BsonDataInput.readFully(BsonDataInput.java:159) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.io.BsonDataInput.readFully(BsonDataInput.java:149) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readElement(BsonReader.java:134) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readDocument(BsonReader.java:112) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readElement(BsonReader.java:148) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readDocument(BsonReader.java:112) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readElement(BsonReader.java:148) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readDocument(BsonReader.java:112) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readElement(BsonReader.java:148) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.readDocument(BsonReader.java:112) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader$Reader.startDocument(BsonReader.java:99) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.BsonReader.read(BsonReader.java:81) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.document.Bson.read(Bson.java:208) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.DocumentExternalizer.readObject(DocumentExternalizer.java:55) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.document.DocumentExternalizer.readObject(DocumentExternalizer.java:34) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.marshall.jboss.JBossExternalizerAdapter.createExternal(JBossExternalizerAdapter.java:48) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1277)
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
      	at org.jboss.marshalling.river.BlockUnmarshaller.readObject(BlockUnmarshaller.java:153)
      	at org.jboss.marshalling.river.BlockUnmarshaller.readObject(BlockUnmarshaller.java:139)
      	at org.infinispan.schematic.internal.SchematicEntryLiteral$Externalizer.readObject(SchematicEntryLiteral.java:306) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.schematic.internal.SchematicEntryLiteral$Externalizer.readObject(SchematicEntryLiteral.java:295) [modeshape-schematic-3.0.0.Beta1.jar:3.0.0.Beta1]
      	at org.infinispan.marshall.jboss.JBossExternalizerAdapter.createExternal(JBossExternalizerAdapter.java:48) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]
      

      This problem is caused by the fact that schematic Binary instances, used when for InMemoryBinaryValues, aren't deserialized (read) correctly.

              hchiorean Horia Chiorean (Inactive)
              765571 Tony Herstell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: