java.lang.IllegalStateException: Failed to execute CommandLineRunner

GitHub | RAndrews137 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    null

    at org.springframework.data.orient.commons.repository.query.AbstractOrientQuery.getExecution()
  2. org.springframework.data
    AbstractOrientQuery.execute
    1. org.springframework.data.orient.commons.repository.query.AbstractOrientQuery.getExecution(AbstractOrientQuery.java:119)[spring-data-orientdb-commons-0.13-SNAPSHOT.jar:na]
    2. org.springframework.data.orient.commons.repository.query.AbstractOrientQuery.execute(AbstractOrientQuery.java:47)[spring-data-orientdb-commons-0.13-SNAPSHOT.jar:na]
    2 frames
  3. Spring Data Core
    RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke
    1. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:462)[spring-data-commons-1.11.2.RELEASE.jar:na]
    2. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:440)[spring-data-commons-1.11.2.RELEASE.jar:na]
    2 frames
  4. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    1 frame
  5. org.springframework.data
    DefaultMethodInvokingMethodInterceptor.invoke
    1. org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)[spring-data-commons-1.11.2.RELEASE.jar:na]
    1 frame
  6. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    1 frame
  7. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    3 frames
  8. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    1 frame
  9. Spring Tx
    PersistenceExceptionTranslationInterceptor.invoke
    1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    1 frame
  10. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.2.4.RELEASE.jar:4.2.4.RELEASE]
    4 frames
  11. com.sun.proxy
    $Proxy57.removeByAge
    1. com.sun.proxy.$Proxy57.removeByAge(Unknown Source)[na:na]
    1 frame
  12. org.springframework.boot
    HelloApplication.run
    1. org.springframework.boot.orientdb.hello.HelloApplication.run(HelloApplication.java:93)[classes/:na]
    1 frame
  13. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:804)[spring-boot-1.3.1.RELEASE.jar:1.3.1.RELEASE]
    2. org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:788)[spring-boot-1.3.1.RELEASE.jar:1.3.1.RELEASE]
    3. org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:775)[spring-boot-1.3.1.RELEASE.jar:1.3.1.RELEASE]
    4. org.springframework.boot.SpringApplication.doRun(SpringApplication.java:366)[spring-boot-1.3.1.RELEASE.jar:1.3.1.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:305)[spring-boot-1.3.1.RELEASE.jar:1.3.1.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1124)[spring-boot-1.3.1.RELEASE.jar:1.3.1.RELEASE]
    7. org.springframework.boot.SpringApplication.run(SpringApplication.java:1113)[spring-boot-1.3.1.RELEASE.jar:1.3.1.RELEASE]
    7 frames
  14. org.springframework.boot
    HelloApplication.main
    1. org.springframework.boot.orientdb.hello.HelloApplication.main(HelloApplication.java:33)[classes/:na]
    1 frame