Application Links Internal Server Error
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When attempting to create an application link between JIRA and another application, you are presented with an error:
The following appears in the atlasisan-jira.log
2015-10-07 15:14:26,964 http-bio-11009-exec-15 ERROR admin 914x366x1 p2kvuq 192.168.1.1 /rest/applinks/2.0/applicationlink [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
java.lang.NullPointerException
at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32)
at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:100)
at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
at com.sun.proxy.$Proxy320.createModule(Unknown Source) <+2> (DelegatingMethodAccessorImpl.java
Diagnosis
Environment
- JIRA Standalone installation
- Atlassian Connect Plugin installed (atlassian-connect-plugin-*.jar)
Cause
The Atlassian Connect Plugin is not compatible with the JIRA standalone. It is currently only compatible with JIRA Cloud at this time. By having this installed on JIRA standalone, it will cause errors during startup which result in loss of integration functionality.
Resolution
Remove the Atlassian Connect Plugin from JIRA
- Shutdown JIRA
- Navigate to:
$JIRA_HOME/plugins/installed-plugins
- Remove the
atlassian-connect-plugin-*.jar
files - Restart JIRA