[jjupin] Unexpected error during launch java.lang.NullPointerException

Hi

After updating to JIRA Software 7.1.1, JJupin 3.1.5 and katl.commons 3.1.4 I'm having the following ERROR log-entry:

2016-03-17 10:10:29,040 JIRA-Bootstrap ERROR      [commons.jira.kconfig.LifecycleAwareLauncher] [jjupin] Unexpected error during launch
java.lang.NullPointerException
    at java.io.File.<init>(File.java:277) [?:1.8.0_51]
    at com.keplerrominfo.jira.commons.jira.kconfig.SILGeneralConfiguration.getEmailTemplateDir(SILGeneralConfiguration.java:53) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.keplerrominfo.jira.plugins.commons.rest.io.TreeManager.<init>(TreeManager.java:46) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.keplerrominfo.jira.plugins.commons.rest.io.TreeManager.getInstance(TreeManager.java:82) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.keplerrominfo.jira.plugins.commons.rest.io.TreeManager.addTree(TreeManager.java:109) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.keplerrominfo.jira.plugins.jjupin.sil.JJupinLauncher.doAtLaunch(JJupinLauncher.java:149) [?:?]
    at com.keplerrominfo.jira.commons.jira.kconfig.LifecycleAwareLauncher.launch(LifecycleAwareLauncher.java:88) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.keplerrominfo.jira.commons.jira.kconfig.LifecycleAwareLauncher.onLifecycleEvent(LifecycleAwareLauncher.java:165) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.keplerrominfo.jira.commons.jira.kconfig.LifecycleAwareLauncher.onStart(LifecycleAwareLauncher.java:148) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.keplerrominfo.jira.commons.jira.kconfig.AbstractPluginLauncher.onStart(AbstractPluginLauncher.java:28) [plugin.4299040476763127146.katl-commons-3.1.4_1458048382295.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$4.consume(DefaultLifecycleManager.java:310) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$4.consume(DefaultLifecycleManager.java:306) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyLifecyleAware(DefaultLifecycleManager.java:344) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStartIfStartedAndEnabled(DefaultLifecycleManager.java:304) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.access$300(DefaultLifecycleManager.java:50) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$3.evaluate(DefaultLifecycleManager.java:261) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$3.evaluate(DefaultLifecycleManager.java:257) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyLifecycleAwares(DefaultLifecycleManager.java:286) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyStartableLifecycleAwares(DefaultLifecycleManager.java:255) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.startIfApplicationSetup(DefaultLifecycleManager.java:241) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.start(DefaultLifecycleManager.java:230) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at com.atlassian.sal.jira.lifecycle.JiraLifecycleManager.onJiraStart(JiraLifecycleManager.java:64) [jira-sal-plugin-7.1.1_1456886244000.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_51]
    at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_51]
    at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) [atlassian-event-2.3.5.jar:?]
    at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:?]
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) [guava-18.0.jar:?]
    at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) [atlassian-event-2.3.5.jar:?]
    at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) [atlassian-event-2.3.5.jar:?]
    at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) [atlassian-event-2.3.5.jar:?]
    at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:73) [atlassian-plugins-core-4.1.0-m002.jar:?]
    at com.atlassian.jira.upgrade.PluginUpgradeLauncher.start(PluginUpgradeLauncher.java:30) [PluginUpgradeLauncher.class:?]
    at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:51) [ActiveServicesLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postTenantArrived$4(DefaultJiraLauncher.java:180) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher$$Lambda$279/803876432.run(Unknown Source) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultInstantUpgradeManager$StatupTask.run(DefaultInstantUpgradeManager.java:113) [DefaultInstantUpgradeManager$StatupTask.class:?]
    at com.atlassian.jira.startup.DefaultInstantUpgradeManager.runTask(DefaultInstantUpgradeManager.java:46) [DefaultInstantUpgradeManager.class:?]
    at com.atlassian.jira.startup.DefaultInstantUpgradeManager.doNowOrWhenInstanceBecomesActive(DefaultInstantUpgradeManager.java:35) [DefaultInstantUpgradeManager.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.postTenantArrived(DefaultJiraLauncher.java:173) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDBActivated$3(DefaultJiraLauncher.java:161) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher$$Lambda$278/1626183106.run(Unknown Source) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.tenancy.DefaultTenantManager.doNowOrWhenTenantArrives(DefaultTenantManager.java:55) [DefaultTenantManager.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.postDBActivated(DefaultJiraLauncher.java:158) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:147) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher$$Lambda$31/826417201.run(Unknown Source) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:298) [DatabaseConfigurationManagerImpl.class:?]
    at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:194) [DatabaseConfigurationManagerImpl.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:137) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:103) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher$$Lambda$4/15528877.run(Unknown Source) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31) [JiraDevSpeedTimer.class:?]
    at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:101) [DefaultJiraLauncher.class:?]
    at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:115) [LauncherContextListener.class:?]
    at com.atlassian.jira.startup.LauncherContextListener$$Lambda$2/863679375.run(Unknown Source) [LauncherContextListener.class:?]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]

I cross checked all configurations as well as thefile system (for the email drectory), I didn't find any hint.

Is anyone havong the same cirrcumstance?

Kind regards,

 

1 answer

1 accepted

Hi Michel, 

Unfortunately, this is a problem we are aware of: Atlassian does not guarantee that a plugin is enabled after its dependencies: so, in your case, jjupin enables before katl-commons.

We have already raised a ticket here but they don't seem to agree with us on the importance of this one.

We are trying to fix this on our next big release.

However, although the error appears in the log (and this is not pleasant, I agree), the plugins enable well finally, and everything works all right. 

In conclusion, there's not much we can do at this very moment on this issue.


Best Regards,
Alexandra 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,042 views 13 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot