Synchrony service won't start due to "java.lang.NumberFormatException"

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only. This article only applies to Atlassian products on the server and data center platforms.

Problem

Synchrony process won't start either with Confluence or manually.

The following error appears in the atlassian-confluence.log

ERROR [Long running task: Restart Synchrony Task] [plugins.synchrony.tasks.AbstractConfigLongRunningTask] runInternal An error occurred when running a Synchrony ConfigLongRunningTask
 -- url: /rest/synchrony-interop/restart | referer: http://mycompany.com/admin/confluence-collaborative-editor-plugin/configure.action | traceId: 4e06227767fccf2b | userName: XXXXX
java.lang.NumberFormatException: For input string: ""

Cause

Synchrony PID file has been corrupted.

Resolution

The PID file is created when starting Confluence, in case it doesn't already exist. The steps below will fix the issue:

  1. Stop Confluence 

  2. Remove the file <confluence-install>/temp/synchrony.pid

  3. Start Confluence


DescriptionSpecific error message appears in the logs when attempting to start synchrony
ProductConfluence
Last modified on Jun 14, 2019

Was this helpful?

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