You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by javadevmtl <ja...@gmail.com> on 2015/10/16 15:49:00 UTC

Getting IllegalStateException: Cache has been closed or destroyed: cache

Using 1.4.0, I have 4 nodes all running with -Xmx100g and it deems one node
keeps going down with....

I have 32,000,000 total records in the cache not including the downed node.

SEVERE: Unhandled exception
java.lang.IllegalStateException: Cache has been closed or destroyed: cache
        at
org.apache.ignite.internal.processors.cache.GridCacheGateway.enter(GridCacheGateway.java:161)
        at
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.onEnter(IgniteCacheProxy.java:1826)
        at
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.size(IgniteCacheProxy.java:753)
        at
com.xxx.service.MyExtPrimService.lambda$start$6(MyExtPrimService.java:101)
        at
com.xxx.service.MyExtPrimService$$Lambda$41/1511442228.handle(Unknown
Source)
        at
io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:711)
        at
io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:682)
        at
io.vertx.core.impl.ContextImpl.lambda$wrapTask$15(ContextImpl.java:314)
        at io.vertx.core.impl.ContextImpl$$Lambda$4/1615056168.run(Unknown
Source)
        at
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
        at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
        at java.lang.Thread.run(Thread.java:745)




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Getting-IllegalStateException-Cache-has-been-closed-or-destroyed-cache-tp1631.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Getting IllegalStateException: Cache has been closed or destroyed: cache

Posted by javadevmtl <ja...@gmail.com>.
Humm not sure... it seems consistent to one node. if I can figure it out I'll
post more info.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Getting-IllegalStateException-Cache-has-been-closed-or-destroyed-cache-tp1631p1637.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Getting IllegalStateException: Cache has been closed or destroyed: cache

Posted by Ivan Veselovskiy <iv...@gridgain.com>.
Is that possible to reproduce this issue? If yes, what is the simplest way
to do that?

On Fri, Oct 16, 2015 at 4:49 PM, javadevmtl <ja...@gmail.com> wrote:

> Using 1.4.0, I have 4 nodes all running with -Xmx100g and it deems one node
> keeps going down with....
>
> I have 32,000,000 total records in the cache not including the downed node.
>
> SEVERE: Unhandled exception
> java.lang.IllegalStateException: Cache has been closed or destroyed: cache
>         at
>
> org.apache.ignite.internal.processors.cache.GridCacheGateway.enter(GridCacheGateway.java:161)
>         at
>
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.onEnter(IgniteCacheProxy.java:1826)
>         at
>
> org.apache.ignite.internal.processors.cache.IgniteCacheProxy.size(IgniteCacheProxy.java:753)
>         at
> com.xxx.service.MyExtPrimService.lambda$start$6(MyExtPrimService.java:101)
>         at
> com.xxx.service.MyExtPrimService$$Lambda$41/1511442228.handle(Unknown
> Source)
>         at
>
> io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:711)
>         at
>
> io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:682)
>         at
> io.vertx.core.impl.ContextImpl.lambda$wrapTask$15(ContextImpl.java:314)
>         at io.vertx.core.impl.ContextImpl$$Lambda$4/1615056168.run(Unknown
> Source)
>         at
>
> io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)
>         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
>         at
>
> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
>         at java.lang.Thread.run(Thread.java:745)
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Getting-IllegalStateException-Cache-has-been-closed-or-destroyed-cache-tp1631.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>