java.lang.AssertionError : 0

classic Classic list List threaded Threaded
2 messages Options
yann.blazart@externe.bnpparibas.com yann.blazart@externe.bnpparibas.com
Reply | Threaded
Open this post in threaded view
|

java.lang.AssertionError : 0

Hello, when I do some integration test with spring, at the end of the test, my code is calling Ignite.close(). I also had this stack trace under some loads with multi threads and putall on caches.

I see this stacktrace :


java.lang.AssertionError: 0
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.getPageEntrySize(AbstractDataPageIO.java:149)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.getPageEntrySize(AbstractDataPageIO.java:140)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.actualFreeSpace(AbstractDataPageIO.java:1201)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.setRealFreeSpace(AbstractDataPageIO.java:190)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.removeRow(AbstractDataPageIO.java:754)
        at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$RemoveRowHandler.run(AbstractFreeList.java:286)
        at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$RemoveRowHandler.run(AbstractFreeList.java:261)
        at org.apache.ignite.internal.processors.cache.persistence.tree.util.PageHandler.writePage(PageHandler.java:279)
        at org.apache.ignite.internal.processors.cache.persistence.DataStructure.write(DataStructure.java:256)
        at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.removeDataRowByLink(AbstractFreeList.java:571)
        at org.apache.ignite.internal.processors.cache.persistence.RowStore.removeRow(RowStore.java:79)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl$1.apply(IgniteCacheOffheapManagerImpl.java:2929)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl$1.apply(IgniteCacheOffheapManagerImpl.java:2926)
        at org.apache.ignite.internal.processors.cache.tree.AbstractDataLeafIO.visit(AbstractDataLeafIO.java:185)
        at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.destroy(BPlusTree.java:2348)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.destroy(IgniteCacheOffheapManagerImpl.java:2926)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.destroyCacheDataStore0(IgniteCacheOffheapManagerImpl.java:1323)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.destroyCacheDataStore(IgniteCacheOffheapManagerImpl.java:1308)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.stop(IgniteCacheOffheapManagerImpl.java:251)
        at org.apache.ignite.internal.processors.cache.CacheGroupContext.stopGroup(CacheGroupContext.java:751)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2579)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2572)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCaches(GridCacheProcessor.java:1094)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stop(GridCacheProcessor.java:1059)
        at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2356)
        at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2228)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2612)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2575)
        at org.apache.ignite.internal.IgnitionEx.stop(IgnitionEx.java:379)
        at org.apache.ignite.Ignition.stop(Ignition.java:225)
        at org.apache.ignite.internal.IgniteKernal.close(IgniteKernal.java:3568)


What's happening ?


Thanks for your help.

Regards.
This message and any attachments (the "message") is
intended solely for the intended addressees and is confidential.
If you receive this message in error,or are not the intended recipient(s),
please delete it and any copies from your systems and immediately notify
the sender. Any unauthorized view, use that does not comply with its purpose,
dissemination or disclosure, either whole or partial, is prohibited. Since the internet
cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS
(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.
Do not print this message unless it is necessary, consider the environment.

----------------------------------------------------------------------------------------------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le "message")
sont etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur ou s'il ne vous est pas destine,
merci de le detruire ainsi que toute copie de votre systeme et d'en avertir
immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de
ce message qui n'est pas conforme a sa destination, toute diffusion ou toute
publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer
l'integrite de ce message electronique susceptible d'alteration, BNP Paribas
(et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese
ou il aurait ete modifie, deforme ou falsifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.

ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: java.lang.AssertionError : 0

Hello!

This is unexpected. Do you have a reproducer for such behavior?

Regards,
--
Ilya Kasnacheev


пн, 2 дек. 2019 г. в 16:08, [hidden email] <[hidden email]>:
Hello, when I do some integration test with spring, at the end of the test, my code is calling Ignite.close(). I also had this stack trace under some loads with multi threads and putall on caches.

I see this stacktrace :


java.lang.AssertionError: 0
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.getPageEntrySize(AbstractDataPageIO.java:149)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.getPageEntrySize(AbstractDataPageIO.java:140)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.actualFreeSpace(AbstractDataPageIO.java:1201)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.setRealFreeSpace(AbstractDataPageIO.java:190)
        at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.removeRow(AbstractDataPageIO.java:754)
        at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$RemoveRowHandler.run(AbstractFreeList.java:286)
        at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList$RemoveRowHandler.run(AbstractFreeList.java:261)
        at org.apache.ignite.internal.processors.cache.persistence.tree.util.PageHandler.writePage(PageHandler.java:279)
        at org.apache.ignite.internal.processors.cache.persistence.DataStructure.write(DataStructure.java:256)
        at org.apache.ignite.internal.processors.cache.persistence.freelist.AbstractFreeList.removeDataRowByLink(AbstractFreeList.java:571)
        at org.apache.ignite.internal.processors.cache.persistence.RowStore.removeRow(RowStore.java:79)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl$1.apply(IgniteCacheOffheapManagerImpl.java:2929)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl$1.apply(IgniteCacheOffheapManagerImpl.java:2926)
        at org.apache.ignite.internal.processors.cache.tree.AbstractDataLeafIO.visit(AbstractDataLeafIO.java:185)
        at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.destroy(BPlusTree.java:2348)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.destroy(IgniteCacheOffheapManagerImpl.java:2926)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.destroyCacheDataStore0(IgniteCacheOffheapManagerImpl.java:1323)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.destroyCacheDataStore(IgniteCacheOffheapManagerImpl.java:1308)
        at org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.stop(IgniteCacheOffheapManagerImpl.java:251)
        at org.apache.ignite.internal.processors.cache.CacheGroupContext.stopGroup(CacheGroupContext.java:751)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2579)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCacheGroup(GridCacheProcessor.java:2572)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCaches(GridCacheProcessor.java:1094)
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stop(GridCacheProcessor.java:1059)
        at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2356)
        at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2228)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2612)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2575)
        at org.apache.ignite.internal.IgnitionEx.stop(IgnitionEx.java:379)
        at org.apache.ignite.Ignition.stop(Ignition.java:225)
        at org.apache.ignite.internal.IgniteKernal.close(IgniteKernal.java:3568)


What's happening ?


Thanks for your help.

Regards.
This message and any attachments (the "message") is
intended solely for the intended addressees and is confidential.
If you receive this message in error,or are not the intended recipient(s),
please delete it and any copies from your systems and immediately notify
the sender. Any unauthorized view, use that does not comply with its purpose,
dissemination or disclosure, either whole or partial, is prohibited. Since the internet
cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS
(and its subsidiaries) shall not be liable for the message if modified, changed or falsified.
Do not print this message unless it is necessary, consider the environment.

----------------------------------------------------------------------------------------------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le "message")
sont etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur ou s'il ne vous est pas destine,
merci de le detruire ainsi que toute copie de votre systeme et d'en avertir
immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de
ce message qui n'est pas conforme a sa destination, toute diffusion ou toute
publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer
l'integrite de ce message electronique susceptible d'alteration, BNP Paribas
(et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese
ou il aurait ete modifie, deforme ou falsifie.
N'imprimez ce message que si necessaire, pensez a l'environnement.