Re: Scheduler throwing NullPointerException for Ignite 2.0.0

2017-07-11 Thread chapurlatn
Hi, I think the scheduler processor does not match the expected processor interface. This results to a bad state. IgniteKernal is responsible to start each processors : org.apache.ignite.internal.IgniteKernal.startProcessor(GridProcessor): proc.start(cfg.isActiveOnStart()); But the org.apache.ig

Re: Scheduler throwing NullPointerException for Ignite 2.0.0

2017-07-11 Thread chapurlatn
Sorry if the message appears twice. I figured out my account was not ready to post when I send my first message : Hi, I think the scheduler processor does not match the expected processor interface. This results to a bad state. IgniteKernal is responsible to start each processors : org.apache

Re: Scheduler throwing NullPointerException for Ignite 2.0.0

2017-07-11 Thread chapurlatn
Adding those line of code just after the startup solved the pb (very temporarily). ignite = Ignition.start(conf); if (ignite instanceof IgniteKernal) { IgniteScheduleProcessorAdapter scheduler = ((IgniteKernal) ignite).context().schedule(); if (scheduler instanceof IgniteScheduleProcessor