Application Links

Hi there,

 

I am having trouble connecting Jira and Confluence. Jira is running via HTTPS and can connect to confluence using incoming oAuth and nothing for outgoing.

 

On Confluence it says NetworkError wiht "java.lang.NullPointerException: null"

I am using the Jira base url in the connector configuration.

 

Pls advice and let me know what logs are needed to get this done.

1 answer

1 accepted

3 votes

Dear Sebastian,

You could check the logs;  atlassian-confluence.log, located at... <confluence-home>/logs/atlassian-confluence.log

Your error has thankfully also been documented by Atlassian;

https://confluence.atlassian.com/confkb/nullpointerexception-when-trying-to-configure-application-links-273285733.html

Atlassian states that the cause is that the Server ID of Confluence is either missing in the database or incorrectly set. Please take a look at the documentation, I will be here to help should you have any questions about the docs.

Friendly Regards,

Jeremy Mooiman

Hi Jeremy,

 

thanks for your fast reply. Unfortunately  the SQL statement return the correct value in the format "<string>my-con-fluence-ServerID</string>" and I can also manually find it in the confluence.cfg.xml showing as 

 

<property name="confluence.setup.server.id">my-con-fluence-ServerID</property>

In the atlassian-confluence.log it says 

WARN [http-nio-8090-exec-2] [atlassian.applinks.core.DefaultApplinkStatusService] logApplinkError Unrecognized error while attempting to retrieve status of Application Link '49603bdc-8b72-3138-927c-85e62ea77f03'
-- referer: http://confluence:8090/plugins/servlet/applinks/listApplicationLinks | url: /rest/applinks/3.0/status/49603bdc-8b72-3138-927c-85e62ea77f03 | traceId: 77a91b4929e7c501 | userName: adminConfluence rest.JPG

Running on the same server? Java has no knowledge of search dominans. Have you tried using the FQDN? 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,989 views 25 10
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