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 Spring JIRA by Tim, 1 year ago
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner; nested exception is javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner
via Spring JIRA by Tim, 2 years ago
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner; nested exception is javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner
via spring.io by Unknown author, 2 years ago
org.hibernate.exception.SQLGrammarException: could not execute query; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
via spring.io by Unknown author, 2 years ago
could not obtain pessimistic lock; nested exception is javax.persistence.PessimisticLockException: could not obtain pessimistic lock
org.springframework.orm.jpa.JpaSystemException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner; nested exception is javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:326) at org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect.ajc$afterThrowing$org_springframework_orm_jpa_aspectj_JpaExceptionTranslatorAspect$1$18a1ac9(JpaExceptionTranslatorAspect.aj:15) at solubris.marketmon.domain.Runner_Roo_Jpa_ActiveRecord.ajc$interMethod$solubris_marketmon_domain_Runner_Roo_Jpa_ActiveRecord$solubris_marketmon_domain_Runner$persist(Runner_Roo_Jpa_ActiveRecord.aj:43) at solubris.marketmon.domain.Runner.persist(Runner.java:1) at solubris.marketmon.domain.Runner_Roo_Jpa_ActiveRecord.ajc$interMethodDispatch1$solubris_marketmon_domain_Runner_Roo_Jpa_ActiveRecord$solubris_marketmon_domain_Runner$persist(Runner_Roo_Jpa_ActiveRecord.aj) at solubris.marketmon.domain.RunnerDataOnDemand_Roo_DataOnDemand.ajc$interMethod$solubris_marketmon_domain_RunnerDataOnDemand_Roo_DataOnDemand$solubris_marketmon_domain_RunnerDataOnDemand$init(RunnerDataOnDemand_Roo_DataOnDemand.aj:139) at solubris.marketmon.domain.RunnerDataOnDemand.init(RunnerDataOnDemand.java:1) at solubris.marketmon.domain.RunnerDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$solubris_marketmon_domain_RunnerDataOnDemand_Roo_DataOnDemand$solubris_marketmon_domain_RunnerDataOnDemand$init(RunnerDataOnDemand_Roo_DataOnDemand.aj) at solubris.marketmon.domain.RunnerDataOnDemand_Roo_DataOnDemand.ajc$interMethod$solubris_marketmon_domain_RunnerDataOnDemand_Roo_DataOnDemand$solubris_marketmon_domain_RunnerDataOnDemand$getRandomRunner(RunnerDataOnDemand_Roo_DataOnDemand.aj:114) at solubris.marketmon.domain.RunnerDataOnDemand.getRandomRunner(RunnerDataOnDemand.java:1) at solubris.marketmon.domain.RunnerDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$solubris_marketmon_domain_RunnerDataOnDemand_Roo_DataOnDemand$solubris_marketmon_domain_RunnerDataOnDemand$getRandomRunner(RunnerDataOnDemand_Roo_DataOnDemand.aj) at solubris.marketmon.domain.RunnerIntegrationTest_Roo_IntegrationTest.ajc$interMethod$solubris_marketmon_domain_RunnerIntegrationTest_Roo_IntegrationTest$solubris_marketmon_domain_RunnerIntegrationTest$testCountRunners(RunnerIntegrationTest_Roo_IntegrationTest.aj:28) at solubris.marketmon.domain.RunnerIntegrationTest.testCountRunners(RunnerIntegrationTest.java:1) 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:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)Caused by: javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1387) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1315) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1321) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:843) 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:597) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:240) at $Proxy37.persist(Unknown Source) ... 39 moreCaused by: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): solubris.marketmon.domain.Runner at org.hibernate.id.Assigned.generate(Assigned.java:53) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:179) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:135) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:837) ... 45 more