XML exporting malfunction in Issues Navigator page

Enter Views > XML in Issues Navigator page ,there is a error showed like this:

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 'getCustomFieldXML' in class com.atlassian.jira.issue.views.IssueXMLView threw exception java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getUser()Lcom/opensymphony/user/User; at templates/plugins/issueviews/single-xml.vm[line 198, column 30] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at


2 answers

1 accepted

Is this really OnDemand hosted by Atlassian, it cannot be. This is an instance which is hosted by you.

This error is because of an outdated plugin which is still refering to "opensymphony.user"which is not available any more. Update all your plugins from UPM - https://confluence.atlassian.com/display/JIRA/Managing+JIRA's+Plugins.

Get rid of incompatible plugins and remove the custom fields coming from these incompatible plugins.

Yes,I found that may be relate to a custom plugin which developed by our company,I will try to fix it with re-compile the plugin jar in the new JIRA environment.

Hi Jinrui,

I suspect the most likely cause of this issue is an incompatible plugin installed in your instance, so please ensure that all plugins are either upto date and compatible with your current version of JIRA, and if you cannot upgrade certain plugins then please disable them and reattempt the XML export again.

All the best,

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 13 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

36 views 0 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you