Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openjpa-users by Raimund Klein, 2 years ago
via openjpa-users by Raimund Klein, 1 year ago
java.lang.IllegalArgumentException: Illegal Capacity: -12	at java.util.ArrayList.(ArrayList.java:142)	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)	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)