I had a recurring problem where users were getting obtuse errors when trying to transition issues. The core problem was that the workflow transition required a comment but they weren't providing one. The resulting error message didn't make this clear. I was enforcing the required comment by adding the Comment Required Validator to the workflow. This worked fine with Jira 4.4.3. After I upgraded to 5.1.8 I started getting popup errors.
Steps to reproduce:
The error screen displays:
Cause:
java.lang.IllegalArgumentException: Cannot find expected argument 'errorMessage' in parameters.
Stack Trace: hide
java.lang.IllegalArgumentException: Cannot find expected argument 'errorMessage' in parameters.
The error message in the logfile is: 2012-11-26 18:29:56,594 http-8080-57 ERROR 500ErrorPage.jsp Exception caught in 500 page Cannot find expected argument 'errorMessage' in parameters. java.lang.IllegalArgumentException: Cannot find expected argument 'errorMessage' in parameters.
This is especially frustrating because the error seems to be upstream of the actual problem, so I can't see the errorMessage that's missing and use that to debug the core problem.
Damn and blast. No sooner did I post my question than I found my answer. I forgot to upgrade the Jira Misc Workflow Extensions plugin when I upgraded Jira. Upgrading to v2.5.4 solved my problem. D'oh!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.