java.lang.IllegalStateException: Failed to execute CommandLineRunner

GitHub | xenoterracide | 2 months ago
  1. 0

    GitHub comment 234#249845760

    GitHub | 2 months ago | xenoterracide
    java.lang.IllegalStateException: Failed to execute CommandLineRunner
  2. 0

    GitHub comment 234#249723011

    GitHub | 2 months ago | xenoterracide
    org.neo4j.ogm.drivers.http.request.HttpRequestException: http://localhost:7474/db/data/transaction: Connect to localhost:7474 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
  3. 0

    Alfresco share 503 Connection refused

    Stack Overflow | 10 months ago | Masi
    org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Passing username/password in Apache Http Client Java similar to CURL

    Stack Overflow | 3 years ago | Akshay Aroor
    org.apache.http.conn.HttpHostConnectException: Connect to api.calltrackingmetrics.com:443 [api.calltrackingmetrics.com/166.78.112.169, api.calltrackingmetrics.com/198.61.173.12] failed: Connection refused: connect

  1. poroszd 1 times, last 4 weeks ago
  2. musketyr 6 times, last 2 months ago
  3. Nikolay Rybak 4 times, last 2 months ago
  4. tfr 1 times, last 4 months ago
  5. pbabcsany 2 times, last 3 months ago
45 more registered users
48 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. java.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)[na:1.8.0_102]
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)[na:1.8.0_102]
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[na:1.8.0_102]
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_102]
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_102]
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)[na:1.8.0_102]
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_102]
    8. java.net.Socket.connect(Socket.java:589)[na:1.8.0_102]
    8 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)[httpclient-4.5.2.jar:4.5.2]
    2. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)[httpclient-4.5.2.jar:4.5.2]
    3. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)[httpclient-4.5.2.jar:4.5.2]
    4. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)[httpclient-4.5.2.jar:4.5.2]
    5. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)[httpclient-4.5.2.jar:4.5.2]
    6. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)[httpclient-4.5.2.jar:4.5.2]
    7. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[httpclient-4.5.2.jar:4.5.2]
    8. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[httpclient-4.5.2.jar:4.5.2]
    9. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[httpclient-4.5.2.jar:4.5.2]
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[httpclient-4.5.2.jar:4.5.2]
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)[httpclient-4.5.2.jar:4.5.2]
    11 frames
  4. org.neo4j.ogm
    Neo4jSession.deleteAll
    1. org.neo4j.ogm.drivers.http.request.HttpRequest.execute(HttpRequest.java:192)[neo4j-ogm-http-driver-2.0.6-SNAPSHOT.jar:na]
    2. org.neo4j.ogm.drivers.http.request.HttpRequest.executeRequest(HttpRequest.java:168)[neo4j-ogm-http-driver-2.0.6-SNAPSHOT.jar:na]
    3. org.neo4j.ogm.drivers.http.request.HttpRequest.execute(HttpRequest.java:97)[neo4j-ogm-http-driver-2.0.6-SNAPSHOT.jar:na]
    4. org.neo4j.ogm.session.delegates.DeleteDelegate.deleteAll(DeleteDelegate.java:147)[neo4j-ogm-core-2.0.6-SNAPSHOT.jar:na]
    5. org.neo4j.ogm.session.Neo4jSession.deleteAll(Neo4jSession.java:409)[neo4j-ogm-core-2.0.6-SNAPSHOT.jar:na]
    5 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  6. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    4. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    5. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    6. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    7. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    7 frames
  7. com.sun.proxy
    $Proxy44.deleteAll
    1. com.sun.proxy.$Proxy44.deleteAll(Unknown Source)[na:na]
    1 frame
  8. Spring Data Neo4j
    Neo4jTemplate.deleteAll
    1. org.springframework.data.neo4j.template.Neo4jTemplate.deleteAll(Neo4jTemplate.java:198)[spring-data-neo4j-4.2.0.M1.jar:na]
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  10. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    3 frames
  11. Spring Tx
    PersistenceExceptionTranslationInterceptor.invoke
    1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)[spring-tx-5.0.0.BUILD-20160927.074109-291.jar:5.0.0.BUILD-SNAPSHOT]
    1 frame
  12. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    2 frames
  13. com.sun.proxy
    $Proxy47.deleteAll
    1. com.sun.proxy.$Proxy47.deleteAll(Unknown Source)[na:na]
    1 frame
  14. Spring Data Neo4j
    GraphRepositoryImpl.deleteAll
    1. org.springframework.data.neo4j.repository.GraphRepositoryImpl.deleteAll(GraphRepositoryImpl.java:100)[spring-data-neo4j-4.2.0.M1.jar:na]
    1 frame
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  16. Spring Data Core
    RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke
    1. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:503)[spring-data-commons-1.13.0.M1.jar:na]
    2. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:488)[spring-data-commons-1.13.0.M1.jar:na]
    3. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:460)[spring-data-commons-1.13.0.M1.jar:na]
    3 frames
  17. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    1 frame
  18. org.springframework.data
    DefaultMethodInvokingMethodInterceptor.invoke
    1. org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)[spring-data-commons-1.13.0.M1.jar:na]
    1 frame
  19. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    1 frame
  20. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-5.0.0.BUILD-20160927.074109-291.jar:5.0.0.BUILD-SNAPSHOT]
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)[spring-tx-5.0.0.BUILD-20160927.074109-291.jar:5.0.0.BUILD-SNAPSHOT]
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-5.0.0.BUILD-20160927.074109-291.jar:5.0.0.BUILD-SNAPSHOT]
    3 frames
  21. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    1 frame
  22. Spring Tx
    PersistenceExceptionTranslationInterceptor.invoke
    1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)[spring-tx-5.0.0.BUILD-20160927.074109-291.jar:5.0.0.BUILD-SNAPSHOT]
    1 frame
  23. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)[spring-aop-5.0.0.BUILD-20160927.074109-292.jar:5.0.0.BUILD-SNAPSHOT]
    4 frames
  24. com.sun.proxy
    $Proxy50.deleteAll
    1. com.sun.proxy.$Proxy50.deleteAll(Unknown Source)[na:na]
    1 frame
  25. sample.data.neo4j
    SampleNeo4jApplication.run
    1. sample.data.neo4j.SampleNeo4jApplication.run(SampleNeo4jApplication.java:33)[classes/:na]
    1 frame
  26. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:775)[spring-boot-2.0.0.BUILD-20160927.081730-14.jar:2.0.0.BUILD-SNAPSHOT]
    2. org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:759)[spring-boot-2.0.0.BUILD-20160927.081730-14.jar:2.0.0.BUILD-SNAPSHOT]
    3. org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:746)[spring-boot-2.0.0.BUILD-20160927.081730-14.jar:2.0.0.BUILD-SNAPSHOT]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:314)[spring-boot-2.0.0.BUILD-20160927.081730-14.jar:2.0.0.BUILD-SNAPSHOT]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1161)[spring-boot-2.0.0.BUILD-20160927.081730-14.jar:2.0.0.BUILD-SNAPSHOT]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1150)[spring-boot-2.0.0.BUILD-20160927.081730-14.jar:2.0.0.BUILD-SNAPSHOT]
    6 frames
  27. sample.data.neo4j
    SampleNeo4jApplicationTests.testDefaultSettings
    1. sample.data.neo4j.SampleNeo4jApplication.main(SampleNeo4jApplication.java:60)[classes/:na]
    2. sample.data.neo4j.SampleNeo4jApplicationTests.testDefaultSettings(SampleNeo4jApplicationTests.java:41)[test-classes/:na]
    2 frames
  28. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  29. JUnit
    InvokeMethod.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)[junit-4.12.jar:4.12]
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)[junit-4.12.jar:4.12]
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)[junit-4.12.jar:4.12]
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)[junit-4.12.jar:4.12]
    4 frames
  30. org.springframework.boot
    OutputCapture$1.evaluate
    1. org.springframework.boot.test.rule.OutputCapture$1.evaluate(OutputCapture.java:61)[spring-boot-test-2.0.0.BUILD-20160927.081730-14.jar:2.0.0.BUILD-SNAPSHOT]
    1 frame
  31. JUnit
    JUnitCore.run
    1. org.junit.rules.RunRules.evaluate(RunRules.java:20)[junit-4.12.jar:4.12]
    2. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)[junit-4.12.jar:4.12]
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)[junit-4.12.jar:4.12]
    4. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)[junit-4.12.jar:4.12]
    5. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)[junit-4.12.jar:4.12]
    6. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)[junit-4.12.jar:4.12]
    7. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)[junit-4.12.jar:4.12]
    8. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)[junit-4.12.jar:4.12]
    9. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)[junit-4.12.jar:4.12]
    10. org.junit.runners.ParentRunner.run(ParentRunner.java:363)[junit-4.12.jar:4.12]
    11. org.junit.runner.JUnitCore.run(JUnitCore.java:137)[junit-4.12.jar:4.12]
    11 frames
  32. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)[junit-rt.jar:na]
    2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)[junit-rt.jar:na]
    2 frames
  33. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262)[junit-rt.jar:na]
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)[junit-rt.jar:na]
    2 frames