NullPointerException When Trying to Configure Application links

Still need help?

The Atlassian Community is here for you.

Ask the community

When trying to add the Jira URL in 'Confluence Admin >> Application Links', Confluence throws a NullPointerException. The following appears in the atlassian-confluence.log:

Dec 1, 2011 10:05:59 AM com.sun.jersey.server.impl.application.WebApplicationImpl onException
SEVERE: Internal server error
java.lang.NullPointerException
        at com.atlassian.confluence.applinks.ConfluenceInternalHostApplication.getId(ConfluenceInternalHostApplication.java:221)
        ...

or,

2012-08-30 15:02:45,327 ERROR [http-9090-1] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service
 -- url: /rest/applinks/1.0/manifest | userName: anonymous
java.lang.NullPointerException
	at com.atlassian.confluence.applinks.ConfluenceInternalHostApplication.getId(ConfluenceInternalHostApplication.java:226)

...

Server ID of Confluence is either missing in the database or incorrectly set. This cause is covered more at Server ID Shows as $action.serverId, $action.sid or n.v.

  1. Stop Confluence
  2. Fix the Server ID missing issue by performing the resolution steps at Server ID Shows as $action.serverId, $action.sid or n.v.

  3. Restart Confluence
  4. Re-configure Application link
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.