You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dipak jadhav (Jira)" <ji...@apache.org> on 2020/11/03 04:00:02 UTC

[jira] [Created] (IGNITE-13656) Getting Caused by: class org.apache.ignite.binary.BinaryInvalidTypeException: in ignite 2.9.0

Dipak jadhav created IGNITE-13656:
-------------------------------------

             Summary: Getting Caused by: class org.apache.ignite.binary.BinaryInvalidTypeException: in ignite 2.9.0
                 Key: IGNITE-13656
                 URL: https://issues.apache.org/jira/browse/IGNITE-13656
             Project: Ignite
          Issue Type: Bug
          Components: binary
    Affects Versions: 2.9.1
            Reporter: Dipak jadhav


I am getting Caused by: class org.apache.ignite.binary.BinaryInvalidTypeException:

 
{code:java}
Caused by: class org.apache.ignite.binary.BinaryInvalidTypeException: id_key at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:689) at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:686) at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1757) at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1716) at org.apache.ignite.internal.binary.BinaryObjectImpl.deserializeValue(BinaryObjectImpl.java:796) at org.apache.ignite.internal.binary.BinaryObjectImpl.value(BinaryObjectImpl.java:142) at org.apache.ignite.internal.processors.query.QueryTypeDescriptorImpl.validateProps(QueryTypeDescriptorImpl.java:607) at org.apache.ignite.internal.processors.query.QueryTypeDescriptorImpl.validateKeyAndValue(QueryTypeDescriptorImpl.java:587) at org.apache.ignite.internal.processors.query.GridQueryProcessor.validateKeyAndValue(GridQueryProcessor.java:3542) at org.apache.ignite.internal.processors.cache.GridCacheContext.validateKeyAndValue(GridCacheContext.java:1907) ... 32 more Caused by: java.lang.ClassNotFoundException: id_key at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:8916) at org.apache.ignite.internal.MarshallerContextImpl.getClass(MarshallerContextImpl.java:376) at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:680) ... 41 more
{code}
 

I have upgraded from 2.8.1 to 2.9.0. I am using binary cache and cache.putAll() operation is throwing exception. It is working fine with 2.8.1.

The reason which we found is when we set Queryentity in cacacheconfiguration without indexing then above exception is thrown.

 

Instead of throwing exception on cache operation the exception should be throw while setting QueryEntity without indexing.

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)