Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

All Scripted fields (ScriptRunner) have failed overnight giving an error

Alyson Briscoe May 6, 2020

Hi 

i wonder if anyone can help!

 

yesterday our jira  was working with no issues 

but this morning, two projects wouldn't allow issues to be clicked into from the board view (gave the below error) you could search for issues in the issues side bar OR search for issues with the search view - (this gave results but an even longer error warning) 

we identified if we removed the scripted fields the issues went away 

we also found that when we disabled script runner it removed the issues

error message

Ambiguous method overloading for method com.atlassian.jira.issue.fields.config.manager.FieldConfigSchemeManagerImpl#getRelevantConfigScheme. Cannot resolve which method to invoke for [class com.atlassian.jira.project.ProjectImpl, class com.atlassian.jira.issue.fields.ImmutableCustomField] due to overlapping prototypes between: [interface com.atlassian.jira.project.Project, interface com.atlassian.jira.issue.fields.ConfigurableField] [interface com.atlassian.jira.project.Project, interface com.atlassian.jira.issue.fields.ConfigurableField]

 

i have tried all scripted fields (some are not used) and all of them create the issues when added to the screen or to the card layout in board config

only change we completed yesterday were;

updated the licences (no upgrades completed at the same time to any plug ins) 

and added an additional drop down to a single choice select field on a custom field (this custom field is configured to one issue type and one project - this project and issuetype have been unaffected.

 

the other error message i get when trying to search for an issuetyoe which has a scripted field is (this is a cut of the error as it goes on for ages) 

 

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 'getHtml' in class com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItemImpl threw exception groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method com.atlassian.jira.issue.fields.config.manager.FieldConfigSchemeManagerImpl#getRelevantConfigScheme. Cannot resolve which method to invoke for [class com.atlassian.jira.project.ProjectImpl, class com.atlassian.jira.issue.fields.ImmutableCustomField] due to overlapping prototypes between: [interface com.atlassian.jira.project.Project, interface com.atlassian.jira.issue.fields.ConfigurableField] [interface com.atlassian.jira.project.Project, interface com.atlassian.jira.issue.fields.ConfigurableField] at templates/jira/issue/table/macros.vm[line 117, column 34] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) 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 org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) 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 org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:122) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:113) at com.atlassian.jira.web.component.AbstractWebComponent.asHtml(AbstractWebComponent.java:44) at com.atlassian.jira.web.component.IssueTableWebComponent$1.write(IssueTableWebComponent.java:158) at com.atlassian.jira.web.component.IssueTableWebComponent.asHtml(IssueTableWebComponent.java:97) at com.atlassian.jira.web.component.IssueTableWebComponent.getHtml(IssueTableWebComponent.java:71) at com.atlassian.jira.web.component.IssueTableWebComponent.getHtml(IssueTableWebComponent.java:55) at com.atlassian.jira.plugin.issuenav.service.issuetable.ListViewIssueTableCreator.getTable(ListViewIssueTableCreator.java:60) at com.atlassian.jira.plugin.issuenav.service.issuetable.AbstractIssueTableCreator.create(AbstractIssueTableCreator.java:206) at com.atlassian.jira.plugin.issuenav.service.issuetable.DefaultIssueTableService.createIssueTableFromCreator(DefaultIssueTableService.java:171) at com.atlassian.jira.plugin.issuenav.service.issuetable.DefaultIssueTableService.getIssueTable(DefaultIssueTableService.java:274) at com.atlassian.jira.plugin.issuenav.service.issuetable.DefaultIssueTableService.getIssueTableFromFilterWithJql(DefaultIssueTableService.java:116) at com.atlassian.jira.plugin.issuenav.IssueNavAction.performSearch(IssueNavAction.java:1072) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doNav(IssueNavAction.java:420) at com.atlassian.jira.plugin.issuenav.IssueNavAction.doDefault(IssueNavAction.java:279) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Alyson Briscoe May 7, 2020

Just to update on this ...

 

last night scripted fields were still not working 

 

this morning - all working ????

 

no changes overnight, nothing in logs?

Suggest an answer

Log in or Sign up to answer