ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-2209) Some query tests fail with ClassCastException when BinaryMarshaller is enabled.
Date Fri, 18 Dec 2015 15:00:52 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Goncharuk reassigned IGNITE-2209:
----------------------------------------

    Assignee: Alexey Goncharuk

> 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)

Mime
View raw message