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

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

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

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