java.lang.UnsupportedOperationException: This code or velocity template expects a GenericValue, but received an Issue. We need to recode

Atlassian JIRA | Mark Chaimungkalanont | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    This code or velocity template expects a GenericValue, but received an Issue. We need to recode

    at com.atlassian.jira.issue.DocumentIssueImpl.getString()
  2. com.atlassian.jira
    DocumentIssueImpl.getString
    1. com.atlassian.jira.issue.DocumentIssueImpl.getString(DocumentIssueImpl.java:236)
    1 frame
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  4. webwork.util
    ValueStack.test
    1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
    2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
    3. webwork.util.ValueStack.findValue(ValueStack.java:426)
    4. webwork.util.SimpleTest.test(SimpleTest.java:391)
    5. webwork.util.ValueStack.test(ValueStack.java:129)
    5 frames
  5. webwork.view.taglib
    ElseIfTag.doStartTag
    1. webwork.view.taglib.ElseIfTag.doStartTag(ElseIfTag.java:42)
    1 frame
  6. org.apache.jsp
    issuepicker_jsp._jspService
    1. org.apache.jsp.secure.popups.issuepicker_jsp._jspService(org.apache.jsp.secure.popups.issuepicker_jsp:1494)
    1 frame