Scheduler All Alphabetically - "cycle time" field is missing


I wanted to setup a complete development environment of the OpenEMS based on this site:
I got stuck at “Configure a Scheduler” point, because the Scheduler All Alphabetically does not contain cycle time" field:

And I got this error:
" ERROR [s.common.worker.AbstractWorker] Worker error. NullPointerException: Cannot invoke “org.osgi.service.metatype.MetaTypeInformation.getFactoryPids()” because “mti” is null
java.lang.NullPointerException: Cannot invoke “org.osgi.service.metatype.MetaTypeInformation.getFactoryPids()” because “mti” is null
at io.openems.edge.core.componentmanager.EdgeConfigWorker.readFactories(
at io.openems.edge.core.componentmanager.EdgeConfigWorker.buildNewEdgeConfig(
at io.openems.edge.core.componentmanager.EdgeConfigWorker.getEdgeConfig(
at io.openems.edge.core.componentmanager.EdgeConfigWorker.forever(
at io.openems.common.worker.AbstractWorker$"

What is the problem? Thank you.

Hi gyukov,

and welcome to the OpenEMS Community. I just experienced the same bug on my development system and fixed it in:

If you update the source code it should work.

Regarding the “Cycle-Time” field. This is not anymore configured in the Scheduler, but in the Core.Cycle service. The screenshot is just outdated unfortunately.


Hello Stefan!
I guessed this was the problem. In spite of this problem I could move on with the first time configuration.
Thank you.

1 Like