org.apache.openjpa.persistence.PersistenceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: Issue: Hive with Tez on CDH-5.4.2
    via by Hitesh Shah,
  • Issue: Hive with Tez on CDH-5.4.2
    via by Sudheer NV,
  • Issue: Hive with Tez on CDH-5.4.2
    via by Sudheer NV,
  • Re: Issue: Hive with Tez on CDH-5.4.2
    via by Hitesh Shah,
  • Issue: Hive with Tez on CDH-5.4.2
    via by Sudheer NV,
    • org.apache.openjpa.persistence.PersistenceException: Illegal Capacity: -12 at org.apache.openjpa.kernel.BrokerImpl.detachAll(BrokerImpl.java:3407) at org.apache.openjpa.kernel.DelegatingBroker.detachAll(DelegatingBroker.java:1206) at org.apache.openjpa.persistence.EntityManagerImpl.clear(EntityManagerImpl.java:1169) at org.apache.aries.jpa.container.impl.EntityManagerWrapper.clear(EntityManagerWrapper.java:49) at org.apache.aries.jpa.container.context.transaction.impl.SynchronizedEntityManagerWrapper.clear(SynchronizedEntityManagerWrapper.java:113) at org.apache.aries.jpa.container.context.transaction.impl.JTAEntityManager.createNamedQuery(JTAEntityManager.java:315)[...] Caused by: java.lang.IllegalArgumentException: Illegal Capacity: -12 at java.util.ArrayList.<init>(ArrayList.java:142)[:1.7.0_55] at org.apache.openjpa.kernel.ManagedCache.copy(ManagedCache.java:259) at org.apache.openjpa.kernel.BrokerImpl.getManagedStates(BrokerImpl.java:4054) at org.apache.openjpa.kernel.BrokerImpl.detachAllInternal(BrokerImpl.java:3418) at org.apache.openjpa.kernel.BrokerImpl.detachAll(BrokerImpl.java:3403) ... 6 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,