What does the “Failure to marshal argument(s)” org.jboss.cache.CacheException mean?
-
01-10-2019 - |
Question
I get the following exception:
org.jboss.cache.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)
We use distributed JBoss cache for our web application (on Tomcat)
I have a strong feeling this is due to bad configuration, but not sure.
Edit (Correction): We use version 3.0.0.GA of Jboss cache (core)
Solution
This was caused by a "swallowed" exception (NotSerializableException
) that was caught and not logged nor re-thrown by our code, the JBoss exception is general and not necessarily related
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow