java.lang.UnsupportedOperationException: Illegal attempt to edit read only item

atlassian.net | 5 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.

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    Illegal attempt to edit read only item

    at org.hibernate.cache.infinispan.entity.ReadOnlyAccess.lockRegion()
  2. A Hibernate O/RM Module
    ReadOnlyAccess.lockRegion
    1. org.hibernate.cache.infinispan.entity.ReadOnlyAccess.lockRegion(ReadOnlyAccess.java:28)
    1 frame
  3. Hibernate
    SQLQueryImpl.executeUpdate
    1. org.hibernate.action.BulkOperationCleanupAction$EntityCleanup.<init>(BulkOperationCleanupAction.java:205)
    2. org.hibernate.action.BulkOperationCleanupAction$EntityCleanup.<init>(BulkOperationCleanupAction.java:199)
    3. org.hibernate.action.BulkOperationCleanupAction.<init>(BulkOperationCleanupAction.java:120)
    4. org.hibernate.engine.query.NativeSQLQueryPlan.coordinateSharedCacheCleanup(NativeSQLQueryPlan.java:176)
    5. org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:189)
    6. org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310)
    7. org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396)
    7 frames
  4. BoxOffice.BusinessObjects
    PrintQueue.createPrintOrderSequence
    1. BoxOffice.BusinessObjects.PrintQueue.createPrintOrderSequence(PrintQueue.java:77)
    1 frame
  5. BoxOffice.Server.CorbaImpl
    PrintManagerImpl.addPrintQueue
    1. BoxOffice.Server.CorbaImpl.PrintManager.addPrintQueue(PrintManager.java:808)
    2. BoxOffice.Server.CorbaImpl.PrintManagerImpl.addPrintQueue(PrintManagerImpl.java:938)
    2 frames
  6. BoxOffice.CORBA
    PrintManagerPOA._invoke
    1. BoxOffice.CORBA.PrintManagerPOATie.addPrintQueue(PrintManagerPOATie.java:78)
    2. BoxOffice.CORBA.PrintManagerPOA._invoke(PrintManagerPOA.java:198)
    2 frames
  7. JacORB Core
    RequestProcessor.run
    1. org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:301)
    2. org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:604)
    3. org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:747)
    3 frames