[infinispan-issues] [JBoss JIRA] (ISPN-10914) ISPN000936: Class 'java.lang.Boolean' blocked by deserialization white list

John Poth (Jira) issues at jboss.org
Wed Nov 6 05:32:00 EST 2019


John Poth created ISPN-10914:
--------------------------------

             Summary:  ISPN000936: Class 'java.lang.Boolean' blocked by deserialization white list
                 Key: ISPN-10914
                 URL: https://issues.jboss.org/browse/ISPN-10914
             Project: Infinispan
          Issue Type: Bug
          Components: Spring Integration
    Affects Versions: 10.0.1.Final
            Reporter: John Poth


When using SpringRemoteCacheManagerFactoryBean and storing Boolean values in a cache, the following exception is thrown:


{code:java}
Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException: ISPN004034: Unable to unmarshall bytes ACED0005737200116A6176612E6C616E672E426F6F6C65616ECD207280D59CFAEE0200015A000576616C7565787001
Caused by: org.infinispan.commons.CacheException: ISPN000936: Class 'java.lang.Boolean' blocked by deserialization white list. Adjust the configuration serialization white list regular expression to include this class.
{code}


Adding java.lang.Boolean to the whitelist solves the issue.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list