Cannot Create Nor Edit Reviews Due to java.lang.NoClassDefFoundError Exception

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

This problem was fixed in Fisheye/Crucible 3.4.0 (FE-4764).

Please upgrade to the latest version of Fisheye/Crucible if you encounter this error.

 

Creating or editing reviews after a recent Fisheye/Crucible upgrade fails with the following exception:

Your request was unable to be processed

  java.lang.NoClassDefFoundError - Could not initialize class com.opensymphony.xwork.validator.ValidatorFactory

  Could not initialize class com.opensymphony.xwork.validator.ValidatorFactory

  You are running release CR3.0.3 FE3.0.3 (20130723010312 2013-07-23), please report your release number when reporting bugs.

In the logs (with debug level "on") the following message can be seen:

2013-08-08 10:52:56,723 DEBUG [IncrementalPinger3 -ActiveDirectoryUser] fisheye LoggingProcessMonitor-onBeforeStart - Starting process: C:\Program Files (x86)\Git\bin\git.exe branch --verbose --no-abbrev 
2013-08-08 10:52:56,734 DEBUG [qtp243430682-316725 ] fisheye ProfilingServletFilter-logRequest - end request POST /admin/updateProject.do?projectData.storeRevisions=true&projectData.permissionSchemeId=1&projectData.name=Credit%20Policy%20QA&allowedReviewerUsers_Input=&projectData.defaultObjectives=&_FALSE_.projectData.moderatorEnabled=false&projectData.defaultDuration=&defaultReviewerUsers_Input=&defaultModerator=&projectData.moderatorEnabled=true&_FALSE_.projectData.storeRevisions=false&_FALSE_.projectData.allowReviewersToJoin=false&projectData.key=CR-CPQA&projectData.id=0&projectData.defaultRepositoryName=svn-CPQA sessionid=24xn22l8hfci1dnd58pm4n7hd
2013-08-08 10:52:56,735 WARN  [qtp243430682-316725 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - Error for /admin/updateProject.do
java.lang.NoClassDefFoundError: Could not initialize class com.opensymphony.xwork.validator.ValidatorFactory
	at com.opensymphony.xwork.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:157)
...

Cause

The Fisheye/Crucible instance has been installed in a path containing spaces which is not recommended according to the following page:

Resolution

Move the Fisheye/Crucible installation to a path that does not contain any spaces.

Last modified on Jul 31, 2018

Was this helpful?

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