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.