ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-723) NPE in CacheMetricsImpl
Date Wed, 15 Apr 2015 16:15:58 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Kuznetsov reassigned IGNITE-723:
---------------------------------------

    Assignee: Andrey Gura  (was: Alexey Kuznetsov)

Try to directly access to metrics in loop from thread with restarting / stopping node in parallel?

> NPE in CacheMetricsImpl
> -----------------------
>
>                 Key: IGNITE-723
>                 URL: https://issues.apache.org/jira/browse/IGNITE-723
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-3
>            Reporter: Alexey Kuznetsov
>            Assignee: Andrey Gura
>            Priority: Blocker
>             Fix For: sprint-4
>
>
> {code}
> java.lang.NullPointerException
> 	at org.apache.ignite.internal.processors.cache.CacheMetricsImpl.getDhtEvictQueueCurrentSize(CacheMetricsImpl.java:155)
> 	at org.apache.ignite.internal.processors.cache.CacheMetricsSnapshot.<init>(CacheMetricsSnapshot.java:221)
> 	at org.apache.ignite.internal.processors.cache.GridCacheAdapter.metrics(GridCacheAdapter.java:3239)
> 	at org.apache.ignite.internal.visor.cache.VisorCacheMetrics.from(VisorCacheMetrics.java:182)
> 	at org.apache.ignite.internal.visor.cache.VisorCache.from(VisorCache.java:233)
> 	at org.apache.ignite.internal.visor.node.VisorNodeDataCollectorJob.caches(VisorNodeDataCollectorJob.java:128)
> 	at org.apache.ignite.internal.visor.node.VisorNodeDataCollectorJob.run(VisorNodeDataCollectorJob.java:205)
> 	at org.gridgain.grid.internal.visor.node.VisorGridGainNodeDataCollectorJob.run(VisorGridGainNodeDataCollectorJob.java:101)
> 	at org.gridgain.grid.internal.visor.node.VisorGridGainNodeDataCollectorJob.run(VisorGridGainNodeDataCollectorJob.java:25)
> 	at org.apache.ignite.internal.visor.VisorJob.execute(VisorJob.java:67)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:478)
> 	at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6107)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:472)
> 	at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:423)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108)
> 	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1052)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.sendRequest(GridTaskWorker.java:1141)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.processMappedJobs(GridTaskWorker.java:535)
> 	at org.apache.ignite.internal.processors.task.GridTaskWorker.body(GridTaskWorker.java:431)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:618)
> 	at org.apache.ignite.internal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:388)
> 	at org.apache.ignite.internal.processors.rest.handlers.task.GridTaskCommandHandler.handleAsyncUnsafe(GridTaskCommandHandler.java:197)
> 	at org.apache.ignite.internal.processors.rest.handlers.task.GridTaskCommandHandler.handleAsync(GridTaskCommandHandler.java:134)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor.handleRequest(GridRestProcessor.java:198)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor.access$100(GridRestProcessor.java:54)
> 	at org.apache.ignite.internal.processors.rest.GridRestProcessor$2.body(GridRestProcessor.java:108)
> 	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:108)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message