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

0 votes
Renjith Pillai Community Champion Jan 02, 2013

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,
John

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,982 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot