-
Bug
-
Resolution: Done
-
Blocker
-
3.1.0.Final
-
None
-
None
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").