Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9708

TypeChecked: NoSuchMethodError: DefaultGroovyMethods.plus(java.lang.String, java.lang.Object)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.5
    • Fix Version/s: None
    • Component/s: groovy-runtime
    • Labels:
      None

      Description

      Looking for advice around resolving a problem after upgrading groovy runtime from 2.5.9 to 3.0.5. Some TypeChecked scripts start hitting NoSuchMethodError when concatenates two strings ("a" + "b"), which is resolved if @TypeChecked is removed...

      The removed method's deprecation java doc (in 2.4.7 ) says to "Use the CharSequence version"...

      
      java.lang.NoSuchMethodError: 'java.lang.String org.codehaus.groovy.runtime.DefaultGroovyMethods.plus(java.lang.String, java.lang.Object)

      May be I am missing something.. any advice will be appreciated...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rivanov Radoslav Ivanov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: