org.modeshape.persistence.relational.RelationalProviderException: java.nio.charset.MalformedInputException: Input length = 1

Sakai JIRA | Esmé Cowles | 6 months ago
  1. 0

    Using the modeshape5 branch, when ingesting a large object with 1000+ files, I am seeing an exception on the 299th file: Error: STATUS: 500 org.modeshape.persistence.relational.RelationalProviderException: java.nio.charset.MalformedInputException: Input length = 1 at org.modeshape.persistence.relational.DefaultStatements.readDocument(DefaultStatements.java:192) at org.modeshape.persistence.relational.DefaultStatements.getById(DefaultStatements.java:109) at org.modeshape.persistence.relational.RelationalDb.lambda$get$9(RelationalDb.java:148) at org.modeshape.persistence.relational.RelationalDb.runWithConnection(RelationalDb.java:358) at org.modeshape.persistence.relational.RelationalDb.get(RelationalDb.java:148) at org.modeshape.schematic.SchematicDb.getEntry(SchematicDb.java:154) at org.modeshape.jcr.cache.document.LocalDocumentStore.get(LocalDocumentStore.java:87) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:184) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:203) at org.modeshape.jcr.cache.document.WorkspaceCache.getNode(WorkspaceCache.ja... When trying to access the object afterwards, I see the same error (stacktrace attached). I tried skipping the first 295 files and that file ingests without problem and the ingest continues, and I get the same error on the 299th file that is processed.

    Sakai JIRA | 6 months ago | Esmé Cowles
    org.modeshape.persistence.relational.RelationalProviderException: java.nio.charset.MalformedInputException: Input length = 1
  2. 0

    Using the modeshape5 branch, when ingesting a large object with 1000+ files, I am seeing an exception on the 299th file: Error: STATUS: 500 org.modeshape.persistence.relational.RelationalProviderException: java.nio.charset.MalformedInputException: Input length = 1 at org.modeshape.persistence.relational.DefaultStatements.readDocument(DefaultStatements.java:192) at org.modeshape.persistence.relational.DefaultStatements.getById(DefaultStatements.java:109) at org.modeshape.persistence.relational.RelationalDb.lambda$get$9(RelationalDb.java:148) at org.modeshape.persistence.relational.RelationalDb.runWithConnection(RelationalDb.java:358) at org.modeshape.persistence.relational.RelationalDb.get(RelationalDb.java:148) at org.modeshape.schematic.SchematicDb.getEntry(SchematicDb.java:154) at org.modeshape.jcr.cache.document.LocalDocumentStore.get(LocalDocumentStore.java:87) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:184) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:203) at org.modeshape.jcr.cache.document.WorkspaceCache.getNode(WorkspaceCache.ja... When trying to access the object afterwards, I see the same error (stacktrace attached). I tried skipping the first 295 files and that file ingests without problem and the ingest continues, and I get the same error on the 299th file that is processed.

    Sakai JIRA | 6 months ago | Esmé Cowles
    org.modeshape.persistence.relational.RelationalProviderException: java.nio.charset.MalformedInputException: Input length = 1

    Root Cause Analysis

    1. org.modeshape.persistence.relational.RelationalProviderException

      java.nio.charset.MalformedInputException: Input length = 1

      at org.modeshape.persistence.relational.DefaultStatements.readDocument()
    2. org.modeshape.persistence
      RelationalDb.get
      1. org.modeshape.persistence.relational.DefaultStatements.readDocument(DefaultStatements.java:192)
      2. org.modeshape.persistence.relational.DefaultStatements.getById(DefaultStatements.java:109)
      3. org.modeshape.persistence.relational.RelationalDb.lambda$get$9(RelationalDb.java:148)
      4. org.modeshape.persistence.relational.RelationalDb.runWithConnection(RelationalDb.java:358)
      5. org.modeshape.persistence.relational.RelationalDb.get(RelationalDb.java:148)
      5 frames
    3. org.modeshape.schematic
      SchematicDb.getEntry
      1. org.modeshape.schematic.SchematicDb.getEntry(SchematicDb.java:154)
      1 frame
    4. ModeShape JCR Repository
      WorkspaceCache.documentFor
      1. org.modeshape.jcr.cache.document.LocalDocumentStore.get(LocalDocumentStore.java:87)
      2. org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:184)
      3. org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:203)
      3 frames