java.lang.IllegalStateException: Failed to execute CommandLineRunner

Stack Overflow | user3321551 | 4 months ago
  1. 0

    Spring Boot JPA: Could not Extract Result Set Error

    Stack Overflow | 4 months ago | user3321551
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
  2. 0

    DBFit jdbc.SQLServerException: Incorrect syntax near the keyword 'as'

    Stack Overflow | 3 years ago | libran_6
    com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'as'.
  3. 0

    jpa/eclipselink getting data error

    Stack Overflow | 4 years ago | Serkan Alg├╝l
    com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'Personnel'. Error Code: 208 Call: SELECT IdentificationNumber, Age, Name, Surname FROM Personnel Query: ReadAllQuery(referenceClass=Personnel sql="SELECT IdentificationNumber, Age, Name, Surname FROM Personnel")
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Invalid Object Name for Hibernate Sequence Generator

    Stack Overflow | 2 years ago
    org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  6. 0

    setting default value for column in hibernate

    Stack Overflow | 2 years ago | Sharique
    org.hibernate.exception.SQLGrammarException: could not extract ResultSet

  1. muffinmannen 2 times, last 5 months ago
37 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. com.microsoft.sqlserver.jdbc.SQLServerException

    Invalid object name 'load_method'.

    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError()
  2. com.microsoft.sqlserver
    SQLServerPreparedStatement.executeQuery
    1. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216)[sqljdbc4-4.0.jar:na]
    2. com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515)[sqljdbc4-4.0.jar:na]
    3. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404)[sqljdbc4-4.0.jar:na]
    4. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350)[sqljdbc4-4.0.jar:na]
    5. com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)[sqljdbc4-4.0.jar:na]
    6. com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)[sqljdbc4-4.0.jar:na]
    7. com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)[sqljdbc4-4.0.jar:na]
    8. com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)[sqljdbc4-4.0.jar:na]
    9. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285)[sqljdbc4-4.0.jar:na]
    9 frames
  3. Hibernate
    SessionImpl.merge
    1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:82)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    2. org.hibernate.loader.Loader.getResultSet(Loader.java:2066)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    3. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1863)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    4. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1839)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    5. org.hibernate.loader.Loader.doQuery(Loader.java:910)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    7. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:325)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    8. org.hibernate.loader.Loader.loadEntity(Loader.java:2149)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    9. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:78)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    10. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:68)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    11. org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:4126)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    12. org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:503)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    13. org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:468)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    14. org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:213)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    15. org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:275)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    16. org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:151)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    17. org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1106)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    18. org.hibernate.internal.SessionImpl.access$2000(SessionImpl.java:176)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    19. org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2587)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    20. org.hibernate.internal.SessionImpl.get(SessionImpl.java:996)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    21. org.hibernate.event.internal.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:306)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    22. org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:186)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    23. org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:85)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    24. org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:876)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    25. org.hibernate.internal.SessionImpl.merge(SessionImpl.java:858)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    26. org.hibernate.internal.SessionImpl.merge(SessionImpl.java:863)[hibernate-core-4.3.11.Final.jar:4.3.11.Final]
    26 frames
  4. org.hibernate.jpa
    AbstractEntityManagerImpl.merge
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:1196)[hibernate-entitymanager-4.3.11.Final.jar:4.3.11.Final]
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.8.0_91]
    4 frames
  6. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:294)[spring-orm-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  7. com.sun.proxy
    $Proxy53.merge
    1. com.sun.proxy.$Proxy53.merge(Unknown Source)[na:na]
    1 frame
  8. Spring Data JPA
    SimpleJpaRepository.save
    1. org.springframework.data.jpa.repository.support.SimpleJpaRepository.save(SimpleJpaRepository.java:442)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.8.0_91]
    4 frames
  10. Spring Data Core
    RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke
    1. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:483)[spring-data-commons-1.11.4.RELEASE.jar:na]
    2. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:468)[spring-data-commons-1.11.4.RELEASE.jar:na]
    3. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:440)[spring-data-commons-1.11.4.RELEASE.jar:na]
    3 frames
  11. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  12. org.springframework.data
    DefaultMethodInvokingMethodInterceptor.invoke
    1. org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)[spring-data-commons-1.11.4.RELEASE.jar:na]
    1 frame
  13. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  14. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    3 frames
  15. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  16. Spring Tx
    PersistenceExceptionTranslationInterceptor.invoke
    1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)[spring-tx-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  17. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    1 frame
  18. Spring Data JPA
    CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke
    1. org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:131)[spring-data-jpa-1.9.4.RELEASE.jar:na]
    1 frame
  19. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE]
    4 frames
  20. com.sun.proxy
    $Proxy55.save
    1. com.sun.proxy.$Proxy55.save(Unknown Source)[na:na]
    1 frame
  21. testApplication
    Application.lambda$0
    1. testApplication.Application.lambda$0(Application.java:32)[bin/:na]
    1 frame
  22. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:800)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    2. org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:784)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    3. org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:771)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
    6 frames
  23. testApplication
    Application.main
    1. testApplication.Application.main(Application.java:25)[bin/:na]
    1 frame