Anyone know why this error occured?
I did telnet to check connections between hosts. I added appropriate certs to keystore to make sure they can connect securely. Are JIRA 8 and JIRA 7 not compatible to create app links?
2019-03-27 10:16:03,453 http-nio-127.0.0.1-8080-exec-10 ERROR sri 616x402x1 1ns81bw 10.3.56.35,127.0.0.1 /rest/applinks/3.0/applicationlinkForm/manifest.json [c.a.a.c.rest.ui.CreateApplicationLinkUIResource] TypeNotInstalledException thrown
com.atlassian.applinks.api.TypeNotInstalledException
at com.atlassian.applinks.core.DefaultApplicationLinkService.retrieveApplicationLink(DefaultApplicationLinkService.java:430)
at com.atlassian.applinks.core.DefaultApplicationLinkService.getApplicationLink(DefaultApplicationLinkService.java:179)
at com.atlassian.applinks.core.DefaultApplicationLinkService.getApplicationLink(DefaultApplicationLinkService.java:99)
at com.atlassian.applinks.core.rest.ui.CreateApplicationLinkUIResource.tryToFetchManifest(CreateApplicationLinkUIResource.java:201)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 2 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
... 3 filtered
at com.atlassian.applinks.internal.rest.interceptor.NoCacheHeaderInterceptor.intercept(NoCacheHeaderInterceptor.java:13)
... 1 filtered
at com.atlassian.applinks.core.rest.auth.AdminApplicationLinksInterceptor.intercept(AdminApplicationLinksInterceptor.java:35)
... 1 filtered
at com.atlassian.applinks.core.rest.context.ContextInterceptor.intercept(ContextInterceptor.java:16)
... 15 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
... 32 filtered
at com.atlassian.servicedesk.internal.web.ExternalCustomerLockoutFilter.doFilter(ExternalCustomerLockoutFilter.java:56)
... 13 filtered
at com.atlassian.applinks.cors.rest.CorsFilter.doFilter(CorsFilter.java:99)
... 3 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 53 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
... 16 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
... 19 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
... 5 filtered
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:181)
at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:137)
at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:90)
at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.runOutOfCustomerContext(CustomerContextServiceImpl.java:47)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:174)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:130)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:121)
... 4 filtered
at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32)
... 8 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 4 filtered
at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
... 26 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 24 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Hi,
You should be able to create an applink between these two versions. What is the specific version of 7.x.x you're using here?
From looking at your given error, I see it's calling the code package: Class TypeNotInstalledException That class performs the following action:
Thrown if the requested
ApplicationLink
orEntityLink
'sApplicationType
orEntityType
is currently not installed. This will only occur in the case where an additional plugin that provides a customApplicationType
orEntityType
is installed, a new link of that custom type is registered and then the plugin is uninstalled without deleting the link.
Which means that one of these link or type elements is missing when trying to create the application link. I found another support case recently where a user was constantly getting this error. In that case, he also found he had an exception like this one
2015-12-04 13:44:23,324 http-nio-8080-exec-11 WARN xxxx xxx xxx xxxx /rest/applinks/3.0/applicationlinkForm/manifest.json [c.a.applinks.core.DefaultApplicationLinkService] Couldn't find type id for application link with id 5d1fd5e9-861e-300a-9412-e0ef36630081. Link is corrupted
Which suggested that you might have a left over bit of data in the database from a previous application link here. There is a helpful KB to try to remove this from the Jira database in Update the corrupted Application Links.
If this doesn't help, then I'd be interested to learn more about what other stacktraces might appear in your logs from both sides here.
Andy
That's what I thought too. My staging instance app links are corrupted :/
We went ahead upgraded last week. Everything is working fine in production.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.