java.lang.UnsupportedOperationException: Result lists are read-only.

Stack Overflow | Tim | 9 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

    My controller works fine on Wildfly, but on TomEE I get an Exception: Result lists are read-only?

    Stack Overflow | 9 months ago | Tim
    java.lang.UnsupportedOperationException: Result lists are read-only.

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Result lists are read-only.

      at org.apache.openjpa.lib.rop.AbstractResultList.readOnly()
    2. OpenJPA Aggregate Jar
      DelegatingResultList.clear
      1. org.apache.openjpa.lib.rop.AbstractResultList.readOnly(AbstractResultList.java:43)
      2. org.apache.openjpa.lib.rop.AbstractResultList.clear(AbstractResultList.java:80)
      3. org.apache.openjpa.kernel.DelegatingResultList.clear(DelegatingResultList.java:250)
      3 frames
    3. controller
      TransactionListController.reset
      1. controller.TransactionListController.reset(TransactionListController.java:33)
      1 frame