"java.lang.ExceptionInInitializerError" when adding a new user

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The following message can be seen in Fisheye/Crucible's UI when adding a new user:

(Auto-migrated image: description temporarily unavailable)

And in the atlassian-fisheye-YYYY-MM-DD.log:

1 2 3 4 5 6 7 8 9 10 11 2013-10-16 08:34:20,409 WARN [qtp32047716-13002 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - Error for /admin/userAdd.do java.lang.ExceptionInInitializerError at com.opensymphony.xwork.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:157) at com.opensymphony.xwork.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:98) ... Caused by: Illegal character in path at index 16: file:/C:/Program Files/fisheye3.1.3/fecru-3.1.3/content/WEB-INF/classes/ - Class: java.net.URI$Parser File: URI.java Method: fail Line: 2829 - java/net/URI.java:2829:-1 at com.opensymphony.xwork.validator.ValidatorFactory.<clinit>(ValidatorFactory.java:245) ... 118 more

Cause

Fisheye/Crucible has been installed in a path with spaces which causes some libraries not to be loaded.

Resolution

Stop Fisheye/Crucible and move the installation directory to a path without spaces.

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.