You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Goncharuk (JIRA)" <ji...@apache.org> on 2015/12/21 17:10:47 UTC
[jira] [Resolved] (IGNITE-2209) Some query tests fail with
ClassCastException when BinaryMarshaller is enabled.
[ https://issues.apache.org/jira/browse/IGNITE-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Goncharuk resolved IGNITE-2209.
--------------------------------------
Resolution: Fixed
The fixes have been merged to ignite-1.5
> Some query tests fail with ClassCastException when BinaryMarshaller is enabled.
> -------------------------------------------------------------------------------
>
> Key: IGNITE-2209
> URL: https://issues.apache.org/jira/browse/IGNITE-2209
> Project: Ignite
> Issue Type: Bug
> Components: cache, interop
> Affects Versions: ignite-1.4
> Reporter: Vladimir Ozerov
> Assignee: Alexey Goncharuk
> Priority: Critical
> Fix For: 1.5
>
>
> *Problem*
> Sample stack trace:
> {code}
> java.lang.ClassCastException: org.apache.ignite.internal.binary.BinaryObjectImpl cannot be cast to org.apache.ignite.internal.processors.cache.IgniteCacheAbstractQuerySelfTest$ObjectValue
> at org.apache.ignite.internal.processors.cache.IgniteCacheAbstractQuerySelfTest.testObjectQueryWithSwap(IgniteCacheAbstractQuerySelfTest.java:574)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1699)
> at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:116)
> at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1637)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> *Steps to reproduce*
> 1) Set BinaryMarshaller
> 2) Run IgniteCacheLocalQuerySelfTest
> 3) Observe failures due to class-cast in the following tests:
> - testArray
> - testObjectQueryWithSwap
> - testComplexType
> *Reason*
> Unknown; looks like we do not unwrap binary objects in some cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)