Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

osgi.enroute.scheduler.simple.provider: NPE at startup when bundle with CronJob is started before scheduler bundle #70

@karelhaeck

Description

@karelhaeck

At startup a NPE occurs in InterschedulerImpl at line 90 because the addSchedule method is called by SCR before the activate method.

A simple fix is to drop the activate method and initialize the ScheduledExecutorService at field declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions