immutant

http://immutant.org Note: dev discussion happens in #immutant on FreeNode IRC.
Dormo 2018-09-24T06:39:04.000100Z

I'm having some trouble with Immutant.caching. Everything seems to work fine unless I use :persist true, in which case I get the following error when I try to .put: NoClassDefFoundError Could not initialize class org.infinispan.commons.marshall.jboss.ExtendedRiverMarshaller org.infinispan.commons.marshall.jboss.JBossMarshallerFactory.createMarshaller (JBossMarshallerFactory.java:49)

Dormo 2018-09-24T06:39:54.000100Z

It does create a file, for the cache, though

Dormo 2018-09-24T06:40:16.000100Z

(def foo-persistent-cache (immutant.caching/cache "foo-persistent-cache" :persist true))
(.put foo-persistent-cache "A" "B")
^ reproduces the error

Dormo 2018-09-24T06:40:51.000100Z

Again, works fine without :persist true

Dormo 2018-09-24T06:44:47.000100Z

I'm on Java 10 for what it is worth

Dormo 2018-09-24T06:48:05.000100Z

Looks like downgrading to Java 8 fixed it

Dormo 2018-09-24T06:48:15.000100Z

Should this be reported?

2018-09-24T12:55:41.000100Z

@vheuken couldn't hurt! much appreciated: https://issues.jboss.org/projects/IMMUTANT

👍 1