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 Hibernate JIRA by Janario Oliveira, 2 years ago
via Hibernate JIRA by Janario Oliveira, 1 year ago
java.lang.NullPointerException: 	at org.hibernate.cache.internal.CollectionCacheInvalidator.evictCache(CollectionCacheInvalidator.java:129)	at org.hibernate.cache.internal.CollectionCacheInvalidator.onPostInsert(CollectionCacheInvalidator.java:66)	at org.hibernate.action.internal.EntityInsertAction.postInsert(EntityInsertAction.java:164)	at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:131)	at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:560)	at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:434)	at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)	at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)	at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)	at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:468)	at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3135)	at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2352)	at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:485)	at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:147)	at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$100(JdbcResourceLocalTransactionCoordinatorImpl.java:38)	at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:231)	at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:65)	at org.hibernate.test.cache.ManyToManyCollectionCacheEvictionTest.testManyToManyPersist(ManyToManyCollectionCacheEvictionTest.java:67)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)	at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45)	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)