Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10914

ISPN000936: Class 'java.lang.Boolean' blocked by deserialization white list

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.
      

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

              Unassigned Unassigned
              johnpoth John Poth
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: