org.sonar.api.utils.SonarException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • unable to access sonar through web
    via Stack Overflow by user1670818
    ,
  • Error "HTTP 404" on localhost:8080
    via by Unknown author,
  • pickPort is flaky
    via GitHub by swankjesse
    ,
  • Pyner empty dictionnary
    via by Unknown author,
  • Exception while opening socket
    via Stack Overflow by user3607869
    ,
  • Receiving message from server
    via Stack Overflow by MOR_SNOW
    ,
  • GitHub comment 6387#46180811
    via GitHub by wildfly-ci
    ,
    • org.sonar.api.utils.SonarException: Unable to start database at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:75)[classes/:na] at org.sonar.server.database.EmbeddedDatabaseFactory.start(EmbeddedDatabaseFactory.java:41)[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_07] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_07] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_07] at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)[picocontainer-2.14.1.jar:na] at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)[picocontainer-2.14.1.jar:na] at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)[picocontainer-2.14.1.jar:na] at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)[picocontainer-2.14.1.jar:na] at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)[picocontainer-2.14.1.jar:na] at org.picocontainer.behaviors.Stored.start(Stored.java:110)[picocontainer-2.14.1.jar:na] at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1009)[picocontainer-2.14.1.jar:na] at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002)[picocontainer-2.14.1.jar:na] at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:760)[picocontainer-2.14.1.jar:na] at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)[sonar-plugin-api-3.2.jar:na] at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:166)[classes/:na] at org.sonar.server.platform.Platform.init(Platform.java:114)[classes/:na] at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)[classes/:na] at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)[jetty-6.1.25.jar:6.1.25] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)[jetty-6.1.25.jar:6.1.25] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)[jetty-6.1.25.jar:6.1.25] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)[jetty-6.1.25.jar:6.1.25] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)[jetty-6.1.25.jar:6.1.25] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.25.jar:6.1.25] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)[jetty-6.1.25.jar:6.1.25] at org.mortbay.jetty.Server.doStart(Server.java:224)[jetty-6.1.25.jar:6.1.25] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.25.jar:6.1.25] at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:72)[sonar-application-3.2.jar:na] at org.sonar.application.StartServer.main(StartServer.java:48)[sonar-application-3.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_07] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_07] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_07] at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper-3.2.3.jar:3.2.3] at java.lang.Thread.run(Thread.java:722)[na:1.7.0_07] Caused by: org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-167] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)[h2-1.3.167.jar:1.3.167] at org.h2.message.DbException.get(DbException.java:158)[h2-1.3.167.jar:1.3.167] at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:190)[h2-1.3.167.jar:1.3.167] at org.h2.util.NetUtils.createServerSocket(NetUtils.java:156)[h2-1.3.167.jar:1.3.167] at org.h2.server.TcpServer.start(TcpServer.java:222)[h2-1.3.167.jar:1.3.167] at org.h2.tools.Server.start(Server.java:455)[h2-1.3.167.jar:1.3.167] at org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:71)[classes/:na] ... 35 more Caused by: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method)[na:1.7.0_07] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)[na:1.7.0_07] at java.net.ServerSocket.bind(ServerSocket.java:376)[na:1.7.0_07] at java.net.ServerSocket.<init>(ServerSocket.java:237)[na:1.7.0_07] at java.net.ServerSocket.<init>(ServerSocket.java:128)[na:1.7.0_07] at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:186)[h2-1.3.167.jar:1.3.167] ... 39 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    linxiaolonglinxiaolong
    1 times, last one,
    jedcuajedcua
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    39 more bugmates