Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira fails to initialize DefaultStatusManager during startup when run by atlas-integration-test

Michał Malicki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 9, 2018

Hi,

The problem I'm facing looks like is caused by PluginEnabledEvent listener in my plugin, which is run at startup and actually performs some work using (among many other components) DefaultStatusManager. 

Exact error is at CreateStatus method, which calls creationLock.lock(); before doing work. But this lock is still null at the point of invocation, so NullPointerException is thrown there.

Somehow start() method, which sets lock, hasn't been called yet, and I can't manage to get around that. (Casting manager manually to Startable and calling .start() is not really elegant way, and by the way, doesn't work properly)

I'm using Jira 7.8.0 and amps 6.3.14

Any help will be appreciated.

 

0 answers

Suggest an answer

Log in or Sign up to answer