'java.util.regex.PatternSyntaxException Unexpected character' when Creating a Page Due to JDK 1.4
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
Powered by Confluence and Scroll Viewport.