groovy.lang.ReadOnlyPropertyException: Cannot set readonly property: key for class: TestField

Stack Overflow | John Prystash | 6 months 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

    Groovy: @Immutable results in Setters

    Stack Overflow | 6 months ago | John Prystash
    groovy.lang.ReadOnlyPropertyException: Cannot set readonly property: key for class: TestField

    Root Cause Analysis

    1. groovy.lang.ReadOnlyPropertyException

      Cannot set readonly property: key for class: TestField

      at TestField.setProperty()
    2. Unknown
      ConsoleScript1.run
      1. TestField.setProperty(ConsoleScript1)
      2. ConsoleScript1.run(ConsoleScript1:7)
      2 frames