Remote Issue Link between JIRA and Confluence shows "Failed to load" in JIRA

Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 16, 2013

Hi,

we have connected our JIRA 5.1.8 and Confluence 4.3.2 systems through an Application Link. If I insert a JIRA issue into a Confluence page there is automatically a remote issue link created within the JIRA issue.

This remote issue link shows "mentioned in Wiki Page Failed to load". Within Confluence the Issue information (key, summary, title) is displayed correctly.

Within the logfile there is following error while JIRA tries to display the remote issue link:

2013-01-17 16:03:08,186 http-8443-83 ERROR [...] /rest/viewIssue/1/remoteIssueLink/render/11101 [viewissue.issuelink.rest.RemoteIssueLinkResource] Error occurred while generating final HTML for remote issue link: java.lang.NullPointerException

Both systems are configured to use SSL.

First we tried a Trusted Applications link only, than added OAuth and than Basic Access. So all three ways to configure an Application Link are configured in both systems.

Any ideas, what could be wrong or how to get more informations about thre problem?

Thanks,

Henning

6 answers

0 votes
Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 28, 2014

No, it's still an issue. Sometimes it's working partly, sometimes not. One thing is to make sure both servers have the SSL certificates of the other server installed. But unfortunately that's not all...

0 votes
IshanL
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 28, 2014

@Henning Tietgens Did you find the root cause?

0 votes
Ruchi Tandon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 17, 2013

I found this KB article that seems to be relared to the problem in your case.

I hope this helps!

Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2013

Thanks, but we removed any IPs from the Trusted Application settings to not restrict the access and to remove potential problems. So IMO this could not be the problem...

0 votes
Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2013

If I try to add a Confluence link and search for a Confluence page I get this error in the log:

2013-06-18 09:51:23,752 http-8443-167 ERROR htietgens 591x112670x1 abcdef 1.1.1.2 /rest/confluenceIssueLink/1/confluence/search [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
java.lang.NullPointerException
        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
        at com.google.common.collect.Iterables.filter(Iterables.java:577)
        at com.atlassian.jira.plugin.link.confluence.service.rpc.ConfluenceRpcServiceImpl$SearchResponseHandler.filterResults(ConfluenceRpcServiceImpl.java:268)
        at com.atlassian.jira.plugin.link.confluence.service.rpc.ConfluenceRpcServiceImpl$SearchResponseHandler.handle(ConfluenceRpcServiceImpl.java:261)
        at com.atlassian.jira.plugin.link.confluence.service.rpc.ConfluenceRpcServiceImpl$SearchResponseHandler.handle(ConfluenceRpcServiceImpl.java:241)
        at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:88)
        at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166)
        at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:307)
        at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161)
        at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:85)
...

0 votes
Patrick Li
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2013

There are several possible causes for this, and seems like you have already checked a number of them. One thing you might want to check is in Confluence, make sure you have Remote API (XML-RPC & SOAP) option enabled, from General Configuration.

Henning Tietgens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2013

Thanks, our Confluence Admin checked that and it's enabled. Any other hints?

0 votes
Fringe Technology June 13, 2013

I am also seeing this issue and not yet able to determine why

Suggest an answer

Log in or Sign up to answer