'java.util.regex.PatternSyntaxException Unexpected character' when Creating a Page Due to JDK 1.4

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

A user is unable to create a page. The following appears in the atlassian-confluence.log:


Cause:
java.util.regex.PatternSyntaxException: Unexpected character '?' near index 74 {((?:??)|(?:*)|(?:^)|(?:~)|(?:_)|(?|(?:+)|(?:)|(?:))}(?![{\p{L}\p{Nd}]) ^
at java.util.regex.Pattern.error(Pattern.java:1472)

Cause

This is a known problem when using older version of 1.4 JDK.

Resolution

Upgrading the JDK to version 1.4.2 or later fixed the problem. Check the system requirements page for further information.


Last modified on Mar 30, 2016

Was this helpful?

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