groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number]

JIRA | Topicus Support | 1 year 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/GRV-904].{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}Hi, When I'm reindexing my JIRA 7, JIRA throws all sorts of errors in my errorlog. It seems to concern specific fields. {code}2016-02-24 16:05:21,112 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] ************************************************************************************* 2016-02-24 16:05:21,112 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: VNI-6, field: Gerelateerde slicenummer groovy.lang.MissingMethodException: No signature of method: com.atlassian.jira.ComponentManager.getIssueLinkManager() is applicable for argument types: () values: [] at Script5.run(Script5.groovy:6) 2016-02-24 16:05:21,145 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] ************************************************************************************* 2016-02-24 16:05:21,145 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: VN-5740, field: Percentage Test groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number] at Script4.run(Script4.groovy:5) {code} When I disabled scriptrunner, the errors stop. Please advice. Regards, Marc

    JIRA | 1 year ago | Topicus Support
    groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number]
  2. 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/GRV-904].{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}Hi, When I'm reindexing my JIRA 7, JIRA throws all sorts of errors in my errorlog. It seems to concern specific fields. {code}2016-02-24 16:05:21,112 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] ************************************************************************************* 2016-02-24 16:05:21,112 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: VNI-6, field: Gerelateerde slicenummer groovy.lang.MissingMethodException: No signature of method: com.atlassian.jira.ComponentManager.getIssueLinkManager() is applicable for argument types: () values: [] at Script5.run(Script5.groovy:6) 2016-02-24 16:05:21,145 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] ************************************************************************************* 2016-02-24 16:05:21,145 JiraTaskExectionThread-1 ERROR anonymous [c.o.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: VN-5740, field: Percentage Test groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number] at Script4.run(Script4.groovy:5) {code} When I disabled scriptrunner, the errors stop. Please advice. Regards, Marc

    JIRA | 1 year ago | Topicus Support
    groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number]

    Root Cause Analysis

    1. groovy.lang.GroovyRuntimeException

      Ambiguous method overloading for method java.lang.Integer#minus. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number]

      at Script4.run()
    2. Unknown
      Script4.run
      1. Script4.run(Script4.groovy:5)
      1 frame