ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saurabh Sharma <saurabh.sha...@nviz.com>
Subject Issue with automatic persistence
Date Thu, 16 Jun 2016 11:15:12 GMT
Hi,

We are using ignite cache with automatic persistence feature for storing the objects in cache.
We have objects used as key and value for this cache.
Sometimes when we start our application we get the following error while we try to push any
value in this cache.

It is very random behaviour. It works fine if we try to run the application again.
Can someone please suggest if we are missing out something.

org.apache.ignite.binary.BinaryObjectException: Failed to get field because type ID of passed
object differs from type ID this BinaryField belongs to [expected=-418749773, actual=0]
                at org.apache.ignite.internal.binary.BinaryFieldImpl.fieldOrder(BinaryFieldImpl.java:92)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.binary.BinaryFieldImpl.value(BinaryFieldImpl.java:79)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.GridQueryProcessor$BinaryProperty.fieldValue(GridQueryProcessor.java:2039)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.GridQueryProcessor$BinaryProperty.value(GridQueryProcessor.java:1999)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$RowDescriptor.columnValue(IgniteH2Indexing.java:2457)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.opt.GridH2AbstractKeyValueRow.getValue(GridH2AbstractKeyValueRow.java:289)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.opt.GridH2IndexBase.compareRows(GridH2IndexBase.java:120)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.opt.GridH2TreeIndex$2.compare(GridH2TreeIndex.java:115)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.opt.GridH2TreeIndex$2.compare(GridH2TreeIndex.java:107)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at java.util.concurrent.ConcurrentSkipListMap.cpr(ConcurrentSkipListMap.java:655)
~[?:1.8.0_77]
                at java.util.concurrent.ConcurrentSkipListMap.doPut(ConcurrentSkipListMap.java:835)
~[?:1.8.0_77]
                at java.util.concurrent.ConcurrentSkipListMap.put(ConcurrentSkipListMap.java:1581)
~[?:1.8.0_77]
                at org.apache.ignite.internal.processors.query.h2.opt.GridH2TreeIndex.put(GridH2TreeIndex.java:403)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.doUpdate(GridH2Table.java:406)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.opt.GridH2Table.update(GridH2Table.java:340)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.store(IgniteH2Indexing.java:523)
~[ignite-indexing-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.query.GridQueryProcessor.store(GridQueryProcessor.java:695)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.store(GridCacheQueryManager.java:406)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.updateIndex(GridCacheMapEntry.java:3740)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdateLocal(GridCacheMapEntry.java:1661)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache.updateAllInternal(GridLocalAtomicCache.java:982)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.cache.local.atomic.GridLocalAtomicCache.put(GridLocalAtomicCache.java:169)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2000)
~[ignite-core-1.5.0.final.jar:1.5.0.final]
                at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.put(IgniteCacheProxy.java:1072)
~[ignite-core-1.5.0.final.jar:1.5.0.final]

Thanks,
Saurabh

IMPORTANT NOTICE: This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If you have received
this email in error, please notify the system manager and/or the sender immediately.

Mime
View raw message