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

Stack Overflow | John Prystash | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Groovy: @Immutable results in Setters

    Stack Overflow | 8 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