It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Data Center - Compatibility Library for Scheduling

I am trying to add some Data Center functionality for my plugin for Scheduling. 

1. First I tried with  atlassian-scheduler-api along with JobRunner and it works perfect.

2. Second, I tried with atlassian-scheduler-compat and I get immediate exception complaining about a null pointer. But it doesn't exactly say what and where. 

It happens at the registration of my JobHandler.  Any idea would be greatly appreciated.

compatibilityPluginScheduler.registerJobHandler(MyScheduledJob.JOB_HANDLER_KEY, myScheduledJobImpl);

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myScheduler' defined in URL [bundle://225.0:0/META-INF/spring/atlassian-plugins-components.xml]: Invocation of init method failed; nested exception is com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException

at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(
at com.atlassian.util.concurrent.LazyReference.get(
at com.atlassian.scheduler.compat.AutoDetectingCompatibilityPluginScheduler.getDelegate(AutoDetectingCompatibilityPluginS


1 answer

1 accepted

0 votes
Answer accepted

I could resolve this using version upgrades... The error came due to version mismatch I think. Here are the versions I use now. Works fine for compatibility libraries.





Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

2,002 views 8 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you