You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "YuJue Li (Jira)" <ji...@apache.org> on 2022/12/14 03:48:00 UTC

[jira] [Updated] (IGNITE-18400) BinaryObject is not supported by IgniteCache#loadCache with IgniteBiPredicate

     [ https://issues.apache.org/jira/browse/IGNITE-18400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YuJue Li updated IGNITE-18400:
------------------------------
    Description: 
!image-2022-12-14-09-48-42-722.png!

this will throw java.lang.ClassNotFoundException: demo.model.CityKey, because keyType class are not exist in the server node classpath.

the cause is the line 560 of GridDhtCacheAdapter:

!image-2022-12-14-09-49-14-033.png!

I think there is something wrong with the logic here.

This logic is not affected by the IgniteCache#withKeepBinary and CacheConfiguration#storeKeepBinary parameters.

 

 

  was:
!image-2022-12-14-09-48-42-722.png!

this will throw java.lang.ClassNotFoundException: demo.model.CityKey, because keyType/valueType class are not exist in the server node classpath.

the cause is the line 560 of GridDhtCacheAdapter:

!image-2022-12-14-09-49-14-033.png!

I think there is something wrong with the logic here.

This logic is not affected by the IgniteCache#withKeepBinary and CacheConfiguration#storeKeepBinary parameters.

 

 


> BinaryObject is not supported by IgniteCache#loadCache with IgniteBiPredicate
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-18400
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18400
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.14
>            Reporter: YuJue Li
>            Priority: Minor
>         Attachments: image-2022-12-14-09-48-42-722.png, image-2022-12-14-09-49-14-033.png
>
>
> !image-2022-12-14-09-48-42-722.png!
> this will throw java.lang.ClassNotFoundException: demo.model.CityKey, because keyType class are not exist in the server node classpath.
> the cause is the line 560 of GridDhtCacheAdapter:
> !image-2022-12-14-09-49-14-033.png!
> I think there is something wrong with the logic here.
> This logic is not affected by the IgniteCache#withKeepBinary and CacheConfiguration#storeKeepBinary parameters.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)