org.sonar.runner.impl.RunnerException: Unable to execute Sonar

GitHub | frankbp | 3 years 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

    Unable to execute Sonar

    GitHub | 3 years ago | frankbp
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  2. 0

    Sonar - an open source entreprise quality control tool user list

    gmane.org | 2 years ago
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  3. 0

    Build step 'Invoke Ant' marked build as failure

    Google Groups | 2 years ago | Cesar Medeiros
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins users - Build step 'Invoke Ant' marked build as failure

    nabble.com | 1 year ago
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  6. 0

    SonarQube Users (archive) - Runner crash, probably over wrong db?

    nabble.com | 1 year ago
    org.sonar.runner.RunnerException: org.picocontainer.PicoLifecycleException: PicoLifecycleException: method 'public final org.sonar.core.persistence.DefaultDatabase org.sonar.core.persistence.DefaultDatabase.start()', instance 'Database[jdbc:h2:tcp://localhost/sonar], java.lang.RuntimeException: wrapper

  1. osvzs 1 times, last 1 day ago
  2. Pilleo 1 times, last 2 days ago
  3. batwalrus76 2 times, last 4 days ago
  4. Dunmer 1 times, last 5 days ago
  5. johnxfly 5 times, last 1 week ago
59 more registered users
36 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.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:579)
    8 frames
  3. H2 Database Engine
    Driver.connect
    1. org.h2.util.NetUtils.createSocket(NetUtils.java:119)
    2. org.h2.util.NetUtils.createSocket(NetUtils.java:100)
    3. org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:95)
    4. org.h2.engine.SessionRemote.connectServer(SessionRemote.java:403)
    5. org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:295)
    6. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:105)
    7. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:90)
    8. org.h2.Driver.connect(Driver.java:73)
    8 frames
  4. Commons DBCP
    BasicDataSourceFactory.createDataSource
    1. org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    2. org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    3. org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    4. org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    5. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    6. org.apache.commons.dbcp.BasicDataSource.getLogWriter(BasicDataSource.java:1098)
    7. org.apache.commons.dbcp.BasicDataSourceFactory.createDataSource(BasicDataSourceFactory.java:350)
    7 frames
  5. SonarQube
    DefaultDatabase.start
    1. org.sonar.core.persistence.DefaultDatabase.initDatasource(DefaultDatabase.java:135)
    2. org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java:72)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  7. PicoContainer Core
    DefaultPicoContainer.start
    1. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
    2. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
    3. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
    4. org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
    5. org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
    6. org.picocontainer.behaviors.Stored.start(Stored.java:110)
    7. org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
    8. org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
    9. org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
    9 frames
  8. SonarQube :: Plugin API
    ComponentContainer.execute
    1. org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
    2. org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
    2 frames
  9. SonarQube
    Batch.execute
    1. org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
    2. org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
    2 frames
  10. SonarQube Runner - Batch
    IsolatedLauncher.execute
    1. org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
    1 frame
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  12. SonarQube Runner
    BatchLauncher$1.run
    1. org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
    2. org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
    2 frames
  13. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  14. SonarQube Runner
    BatchLauncherMain.main
    1. org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
    2. org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
    3. org.sonar.runner.impl.BatchLauncherMain.execute(BatchLauncherMain.java:41)
    4. org.sonar.runner.impl.BatchLauncherMain.main(BatchLauncherMain.java:59)
    4 frames