Invalid date format when using JIRA with JRE/JDK 1.8.0_11

Still need help?

The Atlassian Community is here for you.

Ask the community

The Brazilian Portuguese translation pack is not officially supported by Atlassian as all work on it has been done by our community in Atlassian Translations.

Symptoms

The following error message appear on the UI when selecting a date in date-picker and saving the modification:

Você não digitou uma data válida. Por favor insira a data no formato "d/MMM/yy", por exemplo: "5/mar/15"

Diagnosis

Check the Java version of the JVM in which JIRA is running by going into the System Info panel, inside the System tab on JIRA's Administration panel.

If that is 1.8.0_11, then the problem will occur.

Cause

There is a bug in Java's date verification method for Brazilian Portuguese locales. The bug has been resolved but, as of today, hasn't made its debut on a final release of Java 8.

Workaround

Use Java 7's latest update that is still fully supported by JIRA (at least up to 6.4 release).

While this functionality wasn't tested with the latest Java 8 release due to possible problems when using JDK 1.8.0_31 with JIRA 6.4, feel free to test and edit this KB article!

  1. Open up catalina.sh (or catalina.bat if you are on Windows);
  2. Add the following line before the start of configuration lines:

    JRE_HOME=/path/to/java/7
  3. Restart JIRA;

(info) This has been tested with JDK 1.7.0_75.

Last modified on Mar 30, 2016

Was this helpful?

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