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

org.infinispan.marshall.NotSerializableException: org.infinispan.schematic.internal.SchematicEntryLiteral when using async cache store

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.1.1.Final
    • 3.1.0.Final
    • None
    • None

    Description

      When using cache store with write-behind strategy (async) as backend for infinispan, following exception is thrown while logging into repository:

      ISPN000136: Execution error
      org.infinispan.marshall.NotSerializableException: Object of type class org.infinispan.schematic.internal.SchematicEntryLiteral expected to be marshallable
      Caused by: javax.jcr.RepositoryException: Error while starting 'Database-Persisted-Repository' repository: Object of type class org.infinispan.schematic.internal.SchematicEntryLiteral expected to be marshallable
                at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:613)
                at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:570)
                at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:149)
                ...
                

      Note that this is only happening when the cache store is configured to use async write (<async enabled="true" threadPoolSize="10" />). Without this, everything works as expected.

      Example standalone Maven reproducer attached (just run "mvn test").

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              psiroky_jira Petr Široký (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: