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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              johnpoth John Poth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: