ReadMultiple with Or query on an extended index throws ClassCast Exception

Description

2011-05-11 13:42:29,643 SEVERE [com.gigaspaces.core.common] - com.gigaspaces.client.ReadMultipleException: Success:0, errors:1, [class java.lang.ClassCastException:1
StackTrace: java.lang.ClassCastException: com.j_spaces.core.cache.ExtendedIndexIterator
at com.gigaspaces.internal.query.CompoundOrIndexScanner.getIndexedEntriesByType(CompoundOrIndexScanner.java:81)
at com.j_spaces.core.cache.CacheManager.getEntriesMinIndexExtended(CacheManager.java:4585)
at com.j_spaces.core.cache.CacheManager.getMatchingEntriesExtended(CacheManager.java:1474)
at com.gigaspaces.internal.server.space.SpaceEngine.executeOnMatchingEntries(SpaceEngine.java:4650)
at com.gigaspaces.internal.server.space.SpaceEngine.readMultiple(SpaceEngine.java:2549)
at com.gigaspaces.internal.server.space.SpaceImpl.readMultiple(SpaceImpl.java:1784)
at com.gigaspaces.internal.lrmi.stubs.LRMISpaceImpl.readMultiple(LRMISpaceImpl.java:259)
at com.gigaspaces.internal.client.spaceproxy.SpaceProxyImpl.internalReadMultiple(SpaceProxyImpl.java:2075)

SQLQuery<Data> sqlQuery = new SQLQuery<Data>(Data.class, "myIndex<5 or myIndex>30");
space.readMultiple(sqlQuery, null, OBJECTS);

Test:ReadExtendIndexTest

Workaround

None

Acceptance Test

None

Status

Assignee

Idan Moyal

Reporter

Ester Atzmon

Labels

None

Priority

Blocker

SalesForce Case ID

6583

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Open Source

Platform

None
Configure