java.lang.IllegalStateException: Failed to execute CommandLineRunner

Stack Overflow | Stefan | 1 week ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How would I parse this JSON, looks like an array but no "[]"s

    Stack Overflow | 5 months ago | Tyler Whalen
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
  2. 0

    Spring BootでSpring AOPのAdviceを試す - abcdefg.....

    hatenablog.com | 2 weeks ago
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
  3. 0

    Springの@ValueでString型のデフォルト値をnullにする方法 - Qiita

    qiita.com | 4 months ago
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I diagnose this neo4j-ogm / mvn spring-boot:run issue?

    Stack Overflow | 1 year ago | John Deverall
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
  6. 0

    Spring Boot Issue while Running the Spring Boot APP

    Stack Overflow | 10 months ago | user2497684
    org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat servlet container

  1. smyrgeorge 1 times, last 7 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.id.IdentifierGenerationException

    ids for this class must be manually assigned before calling save(): meinpro.entiti.Compte

    at org.hibernate.id.Assigned.generate()
  2. Hibernate
    AbstractSaveEventListener.saveWithGeneratedId
    1. org.hibernate.id.Assigned.generate(Assigned.java:34)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    2. org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:101)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    2 frames
  3. org.hibernate.jpa
    JpaPersistEventListener.saveWithGeneratedId
    1. org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)[hibernate-entitymanager-5.0.11.Final.jar:5.0.11.Final]
    1 frame
  4. Hibernate
    SessionImpl.persist
    1. org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    2. org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    3. org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    4. org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:775)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    5. org.hibernate.internal.SessionImpl.persist(SessionImpl.java:748)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    6. org.hibernate.internal.SessionImpl.persist(SessionImpl.java:753)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    6 frames
  5. org.hibernate.jpa
    AbstractEntityManagerImpl.persist
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1146)[hibernate-entitymanager-5.0.11.Final.jar:5.0.11.Final]
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_121]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_121]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_121]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_121]
    4 frames
  7. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:298)[spring-orm-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    1 frame
  8. com.sun.proxy
    $Proxy82.persist
    1. com.sun.proxy.$Proxy82.persist(Unknown Source)[na:na]
    1 frame
  9. Spring Data JPA
    SimpleJpaRepository.save
    1. org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:508)[spring-data-jpa-1.11.0.RELEASE.jar:na]
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_121]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_121]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_121]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_121]
    4 frames
  11. Spring Data Core
    RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke
    1. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:504)[spring-data-commons-1.13.0.RELEASE.jar:na]
    2. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:489)[spring-data-commons-1.13.0.RELEASE.jar:na]
    3. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:461)[spring-data-commons-1.13.0.RELEASE.jar:na]
    3 frames
  12. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    1 frame
  13. org.springframework.data
    DefaultMethodInvokingMethodInterceptor.invoke
    1. org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)[spring-data-commons-1.13.0.RELEASE.jar:na]
    1 frame
  14. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    1 frame
  15. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)[spring-tx-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    3 frames
  16. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    1 frame
  17. Spring Tx
    PersistenceExceptionTranslationInterceptor.invoke
    1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)[spring-tx-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    1 frame
  18. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    1 frame
  19. Spring Data JPA
    CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke
    1. org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133)[spring-data-jpa-1.11.0.RELEASE.jar:na]
    1 frame
  20. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    3 frames
  21. Spring Data Core
    SurroundingTransactionDetectorMethodInterceptor.invoke
    1. org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57)[spring-data-commons-1.13.0.RELEASE.jar:na]
    1 frame
  22. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)[spring-aop-4.3.6.RELEASE.jar:4.3.6.RELEASE]
    2 frames
  23. com.sun.proxy
    $Proxy86.save
    1. com.sun.proxy.$Proxy86.save(Unknown Source)[na:na]
    1 frame
  24. meinpro
    MeinproApplication.run
    1. meinpro.MeinproApplication.run(MeinproApplication.java:38)[classes/:na]
    1 frame
  25. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:776)[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]
    2. org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:760)[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]
    3. org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:747)[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1162)[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1151)[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]
    6 frames
  26. meinpro
    MeinproApplication.main
    1. meinpro.MeinproApplication.main(MeinproApplication.java:30)[classes/:na]
    1 frame
  27. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_121]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_121]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_121]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_121]
    4 frames
  28. org.springframework.boot
    RestartLauncher.run
    1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)[spring-boot-devtools-1.5.1.RELEASE.jar:1.5.1.RELEASE]
    1 frame