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

Storing nodes in Infinispan connector results in NotSerializableException

XMLWordPrintable

      I'm trying to use the infinispan connector. Due to https://jira.jboss.org/jira/browse/ISPN-355 I'm using Infinispan 4.1 Alpha 1 for my testing. After a bit of tinkering, I got it running except that I now get the following exception:

      Caused by: org.infinispan.marshall.NotSerializableException: org.modeshape.graph.connector.map.DefaultMapNode
      Caused by: an exception which occurred:
      in object org.modeshape.graph.connector.map.DefaultMapNode@d39c8a70
      -> toString = (0b72e239-8b8e-4a2d-b7b5-4de0e4d56f84)
      in object org.infinispan.container.entries.ImmortalCacheEntry@73914e00
      -> toString = ImmortalCacheEntry{cacheValue=ImmortalCacheValue{value= (0b72e239-8b8e-4a2d-b7b5-4de0e4d56f84)}} ImmortalCacheEntry

      {key=0b72e239-8b8e-4a2d-b7b5-4de0e4d56f84}

      in object org.infinispan.loaders.bucket.Bucket@7be68f43
      -> toString = Bucket{entries={0b72e239-8b8e-4a2d-b7b5-4de0e4d56f84=ImmortalCacheEntry{cacheValue=ImmortalCacheValue{value= (0b72e239-8b8e-4a2d-b7b5-4de0e4d56f84)}} ImmortalCacheEntry{key=0b72e239-8b8e-4a2d-b7b5-4de0e4d56f84}}, bucketName='-744715664'}

      Doesn't seem quite right that DefaultMapNode is not serializable.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: