ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2209) Some query tests fail with ClassCastException when BinaryMarshaller is enabled.
Date Fri, 18 Dec 2015 10:07:46 GMT
Vladimir Ozerov created IGNITE-2209:
---------------------------------------

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

Mime
View raw message