You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by begineer <re...@gmail.com> on 2018/05/10 06:50:57 UTC

NullPointer Exception in Continuous Query

Hi,
I am getting this exception in logs but not sure on which cache it is
happening. Logs does not help me identifying the cache either.

Apologies to ask here without much details but just wondering if someone
know what are the chances to get this exception.
I have set of caches and  CacheMode is set to Local to all of them.

[2018-05-10/02:02:29.585/BST][ERROR][grid-timeout-worker-#43%null%][o.a.i.i.p.t.GridTimeoutProcessor] 
- Error when executing timeout callback: CancelableTask
[id=a2****************************ad, endTime=1525914154576, period=5000,
cancel=false,
task=o.a.i.i.processors.cache.query.continuous.CacheContinuousQueryManager$BackupCleaner@4b4455c9]
java.lang.NullPointerException: null
        at
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryHandler$1.acknowledgeBackupOnTimeout(CacheContinuousQueryHandler.java:513)
~[ignite-core-1.9.9.jar:1.9.9]
        at
org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryManager$BackupCleaner.run(CacheContinuousQueryManager.java:1195)
~[ignite-core-1.9.9.jar:1.9.9]
        at
org.apache.ignite.internal.processors.timeout.GridTimeoutProcessor$CancelableTask.onTimeout(GridTimeoutProcessor.java:256)
~[ignite-core-1.9.9.jar:1.9.9]
        at
org.apache.ignite.internal.processors.timeout.GridTimeoutProcessor$TimeoutWorker.body(GridTimeoutProcessor.java:158)
~[ignite-core-1.9.9.jar:1.9.9]
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
[ignite-core-1.9.9.jar:1.9.9]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: NullPointer Exception in Continuous Query

Posted by akurbanov <an...@gmail.com>.
Hello,

Could you please tell which version are you using and if possible, share
ignite/cache configuration, full log and some short reproducer to this
issue?

Best regards,
Anton



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: NullPointer Exception in Continuous Query

Posted by begineer <re...@gmail.com>.
Thanks for reply, but unfortunately, I could understand the details in the
link provided. Could you please brief about it. Whats the root cause.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: NullPointer Exception in Continuous Query

Posted by Pavel Vinokurov <vi...@gmail.com>.
Hi

Seems to you have the issue related to
https://issues.apache.org/jira/browse/IGNITE-7865 that fixed in the 2.5
version.
As workaround you could change WALMode to LOG_ONLY or start ignite with the
jvm property -DIGNITE_WAL_FSYNC_WITH_DEDICATED_WORKER=true

Thanks,
Pavel


2018-05-10 9:50 GMT+03:00 begineer <re...@gmail.com>:

> Hi,
> I am getting this exception in logs but not sure on which cache it is
> happening. Logs does not help me identifying the cache either.
>
> Apologies to ask here without much details but just wondering if someone
> know what are the chances to get this exception.
> I have set of caches and  CacheMode is set to Local to all of them.
>
> [2018-05-10/02:02:29.585/BST][ERROR][grid-timeout-worker-#
> 43%null%][o.a.i.i.p.t.GridTimeoutProcessor]
> - Error when executing timeout callback: CancelableTask
> [id=a2****************************ad, endTime=1525914154576, period=5000,
> cancel=false,
> task=o.a.i.i.processors.cache.query.continuous.
> CacheContinuousQueryManager$BackupCleaner@4b4455c9]
> java.lang.NullPointerException: null
>         at
> org.apache.ignite.internal.processors.cache.query.continuous.
> CacheContinuousQueryHandler$1.acknowledgeBackupOnTimeout(
> CacheContinuousQueryHandler.java:513)
> ~[ignite-core-1.9.9.jar:1.9.9]
>         at
> org.apache.ignite.internal.processors.cache.query.continuous.
> CacheContinuousQueryManager$BackupCleaner.run(CacheContinuousQueryManager.
> java:1195)
> ~[ignite-core-1.9.9.jar:1.9.9]
>         at
> org.apache.ignite.internal.processors.timeout.GridTimeoutProcessor$
> CancelableTask.onTimeout(GridTimeoutProcessor.java:256)
> ~[ignite-core-1.9.9.jar:1.9.9]
>         at
> org.apache.ignite.internal.processors.timeout.GridTimeoutProcessor$
> TimeoutWorker.body(GridTimeoutProcessor.java:158)
> ~[ignite-core-1.9.9.jar:1.9.9]
>         at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
> [ignite-core-1.9.9.jar:1.9.9]
>         at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 

Regards

Pavel Vinokurov