Exactly!

 

Thanks.

Shawn

 

发件人: Nikolai Tikhonov [mailto:[email protected]] 
发送时间: 2017年1月3日 16:05
收件人: [email protected]
主题: Re: class org.apache.ignite.binary.BinaryObjectException: Wrong value has 
been set

 

Hi,

 

Is it possible that you build your object by binary builder and set null value 
for "product" field? In this case will be created metadata where type of field 
will be assigned Object and when we will create new object with non-null value 
(for example String) you got this exception.

 

Thanks,

Nikolay 

 

On Tue, Jan 3, 2017 at 10:56 AM, Shawn Du <[email protected] 
<mailto:[email protected]> > wrote:

Hi,

 

I met very strange issues.  With the same code, on one machine, it works fine, 
but on another cluster, it always failed with exception:

 

java.lang.RuntimeException: class 
org.apache.ignite.binary.BinaryObjectException: Wrong value has been set 
[typeName=streams, fieldName=product, fieldType=Object, 
assignedValueType=String] at

I met this issue before, I remembered that I fixed it by renaming a class 
field.  But this time, I can’t, for we create it dynamically with binary object.

 

Please help.

 

Thanks

Shawn

 

 

 

 

Reply via email to