Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13656

Getting Caused by: class org.apache.ignite.binary.BinaryInvalidTypeException: in ignite 2.9.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9
    • None
    • binary
    • None
    • Release Notes Required

    Description

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

       

      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
      

       

      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.

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dijadhav Dipak jadhav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: