Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3823E184AC for ; Fri, 18 Dec 2015 15:00:53 +0000 (UTC) Received: (qmail 82710 invoked by uid 500); 18 Dec 2015 15:00:53 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 82548 invoked by uid 500); 18 Dec 2015 15:00:53 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 82350 invoked by uid 99); 18 Dec 2015 15:00:52 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2015 15:00:52 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BF7162C1F56 for ; Fri, 18 Dec 2015 15:00:52 +0000 (UTC) Date: Fri, 18 Dec 2015 15:00:52 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-2209) Some query tests fail with ClassCastException when BinaryMarshaller is enabled. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov updated IGNITE-2209: ------------------------------------ Assignee: (was: Vladimir Ozerov) > 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 > 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)