ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Subject Re: Exception while inserting data in Ignite
Date Tue, 05 Mar 2019 13:47:06 GMT
Hello!

Can you please provide complete stack trace?

Regards,
-- 
Ilya Kasnacheev


вт, 5 мар. 2019 г. в 13:48, Arpit Jain <jain.arpit6@gmail.com>:

> Hi,
>
> I am running Ignite in Server mode with my application. I am able to
> insert the first record in the Key/Value Map in Ignite but it fails when I
> try second time. The key is just a Long and value is simple class like this:
>
> class A implements Serializable {
>
>
>         private static final long serialVersionUID = 1L;
>
>
>         protected Operation op;  //Enum
>
>
>         protected String someStr;
>
>
>         public A(Operation op, String someStr) {
>
>             this.op = op;
>
>             this.someStr = someStr;
>
>         }
>
>
>         public String toString() {
>
>             StringBuilder builder = new StringBuilder(op
> .toString()).append("-").append(someStr);
>
>             return builder.toString();
>
>         }
>
>     }
>
>
> I am getting exception "*Failed to deserialise object
> [typeName=BinaryTreeMap]"* while trying to insert second entry in Map
> Any help appreciated !
>
> Thanks
>

Mime
View raw message