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 Chandra, 1 year ago
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.hibernate.test.annotations.id.Cat#0]
via Hibernate JIRA by Chandra, 1 year ago
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.hibernate.test.annotations.id.Cat#0]
via Icesoft by zarius, 7 months ago
org.hibernate.SessionException: Session is closed!
via https://bugzilla.redhat.com/bugzilla/ by Rajan Timaniya, 1 year ago
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.rhq.core.domain.content.RepoContentSource#RepoContentSourcePK: repo=[Repo: id=[101], name=[JBoss Patches]]; contentSource=[ContentSource: id=[101], name=[JBoss CSP Patch Feed]]]
via hibernate.org by Unknown author, 1 year ago
org.hibernate.exception.SQLGrammarException: could not get next sequence value
via hibernate.org by Unknown author, 2 years ago
org.hibernate.exception.SQLGrammarException: could not get next sequence value
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.hibernate.test.annotations.id.Cat#0]	at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:168)	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)	at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:49)	at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)	at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)	at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)	at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)	at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)	at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)	at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:213)	at org.hibernate.test.annotations.id.VetTest.createCat(VetTest.java:34)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:645)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:479)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:715)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)	at org.testng.TestRunner.runWorkers(TestRunner.java:673)	at org.testng.TestRunner.privateRun(TestRunner.java:620)	at org.testng.TestRunner.run(TestRunner.java:480)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:278)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:273)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:253)	at org.testng.SuiteRunner.run(SuiteRunner.java:168)	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:987)	at org.testng.TestNG.runSuitesLocally(TestNG.java:951)	at org.testng.TestNG.run(TestNG.java:719)	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)