org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAllConfigs' in class com.onresolve.jira.groovy.ViewBehaviours threw exception org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'MarksK(marksk)' with class 'com.atlassian.jira.user.DelegatingApplicationUser' to class 'com.atlassian.crowd.embedded.api.User' at com.onresolve.jira.plugin.Behaviours:client-val//templates/behaviours/behaviours.vm[line 50, column 46]

JIRA | Kevin Marks | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/JBHV-210].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}We just upgraded from JIRA 5.2 to JIRA 6. We are on Version: 0.5.3 of Behavious. The Behaviours Add-on does not show up in the left side list of Add-ons for editing. It does show up in the main frame for enabling/configuring etc. After a few refreshes of the screen it did show up then I clicked on it and got the below error msg..and all of the pre-existing behaviors were gone. Once I refreshed again I can not see the link to open up the Behaviors, it was usually in a section called "Other" at the bottom of the left hand list. I had a other admins test out if they could see the Link in the Add-ons section but they can not.. How do I edit the Behaviors in JIRA 6.0? error msg (form 1 time I could see the Behaviors link)... An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAllConfigs' in class com.onresolve.jira.groovy.ViewBehaviours threw exception org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'MarksK(marksk)' with class 'com.atlassian.jira.user.DelegatingApplicationUser' to class 'com.atlassian.crowd.embedded.api.User' at com.onresolve.jira.plugin.Behaviours:client-val//templates/behaviours/behaviours.vm[line 50, column 46] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:282) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at

    JIRA | 4 years ago | Kevin Marks
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAllConfigs' in class com.onresolve.jira.groovy.ViewBehaviours threw exception org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'MarksK(marksk)' with class 'com.atlassian.jira.user.DelegatingApplicationUser' to class 'com.atlassian.crowd.embedded.api.User' at com.onresolve.jira.plugin.Behaviours:client-val//templates/behaviours/behaviours.vm[line 50, column 46]

    Root Cause Analysis

    1. org.apache.velocity.exception.MethodInvocationException

      Invocation of method 'getAllConfigs' in class com.onresolve.jira.groovy.ViewBehaviours threw exception org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'MarksK(marksk)' with class 'com.atlassian.jira.user.DelegatingApplicationUser' to class 'com.atlassian.crowd.embedded.api.User' at com.onresolve.jira.plugin.Behaviours:client-val//templates/behaviours/behaviours.vm[line 50, column 46]

      at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute()
    2. Apache Velocity
      ASTDirective.render
      1. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      3. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507)
      4. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:282)
      5. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
      5 frames