com.thoughtworks.selenium.SeleniumException: ERROR: Problem capturing screenshot: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at com.thoughtworks.selenium.HttpCommandProcessor.thr owAssertionFailureExceptionOrError(HttpCommandProc essor.java:99) at com.thoughtworks.selenium.HttpCommandProcessor.doC ommand(HttpCommandProcessor.java:93) at com.thoughtworks.selenium.DefaultSelenium.captureS creenshot(DefaultSelenium.java:719) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.getScreenCapture(ExecuteHarn essMain.java:646) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.onConfigurationFailure(Execu teHarnessMain.java:700) at org.testng.internal.Invoker.runConfigurationListen ers(Invoker.java:1608) at org.testng.internal.Invoker.handleConfigurationFai lure(Invoker.java:286) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:186) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:92) at org.testng.SuiteRunner.privateRun(SuiteRunner.java :274)

ubuntuforums.org | 4 months ago
  1. 0

    [ubuntu] java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnviron

    ubuntuforums.org | 8 months ago
    com.thoughtworks.selenium.SeleniumException: ERROR: Problem capturing screenshot: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at com.thoughtworks.selenium.HttpCommandProcessor.thr owAssertionFailureExceptionOrError(HttpCommandProc essor.java:99) at com.thoughtworks.selenium.HttpCommandProcessor.doC ommand(HttpCommandProcessor.java:93) at com.thoughtworks.selenium.DefaultSelenium.captureS creenshot(DefaultSelenium.java:719) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.getScreenCapture(ExecuteHarn essMain.java:646) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.onConfigurationFailure(Execu teHarnessMain.java:700) at org.testng.internal.Invoker.runConfigurationListen ers(Invoker.java:1608) at org.testng.internal.Invoker.handleConfigurationFai lure(Invoker.java:286) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:186) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:92) at org.testng.SuiteRunner.privateRun(SuiteRunner.java :274)
  2. 0

    [ubuntu] java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnviron

    ubuntuforums.org | 4 months ago
    com.thoughtworks.selenium.SeleniumException: ERROR: Problem capturing screenshot: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at com.thoughtworks.selenium.HttpCommandProcessor.thr owAssertionFailureExceptionOrError(HttpCommandProc essor.java:99) at com.thoughtworks.selenium.HttpCommandProcessor.doC ommand(HttpCommandProcessor.java:93) at com.thoughtworks.selenium.DefaultSelenium.captureS creenshot(DefaultSelenium.java:719) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.getScreenCapture(ExecuteHarn essMain.java:646) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.onConfigurationFailure(Execu teHarnessMain.java:700) at org.testng.internal.Invoker.runConfigurationListen ers(Invoker.java:1608) at org.testng.internal.Invoker.handleConfigurationFai lure(Invoker.java:286) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:186) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:92) at org.testng.SuiteRunner.privateRun(SuiteRunner.java :274)
  3. 0

    com.thoughtworks.selenium.SeleniumException: Connection refused: connect

    Google Groups | 5 years ago | pyrojonc
    com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java: > > 121) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java: > > 101) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java: > > 744) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1841) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 333) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:236) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.thoughtworks.selenium.SeleniumException: Connection refused: connect

    Google Groups | 5 years ago | pyrojonc
    com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java: > > 121) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java: > > 101) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java: > > 744) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1841) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 333) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:236)
  6. 0

    com.thoughtworks.selenium.SeleniumException: Connection refused: connect

    Google Groups | 5 years ago | pyrojonc
    com.thoughtworks.selenium.SeleniumException: Connection refused: connect at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java: 121) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java: 101) at com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java: 744) at com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java: 27) at com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.java: 41) at org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: 1841) at org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: 333)

    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.thoughtworks.selenium.SeleniumException

      ERROR: Problem capturing screenshot: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at com.thoughtworks.selenium.HttpCommandProcessor.thr owAssertionFailureExceptionOrError(HttpCommandProc essor.java:99) at com.thoughtworks.selenium.HttpCommandProcessor.doC ommand(HttpCommandProcessor.java:93) at com.thoughtworks.selenium.DefaultSelenium.captureS creenshot(DefaultSelenium.java:719) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.getScreenCapture(ExecuteHarn essMain.java:646) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.onConfigurationFailure(Execu teHarnessMain.java:700) at org.testng.internal.Invoker.runConfigurationListen ers(Invoker.java:1608) at org.testng.internal.Invoker.handleConfigurationFai lure(Invoker.java:286) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:186) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:92) at org.testng.SuiteRunner.privateRun(SuiteRunner.java :274)

      at org.testng.SuiteRunner.run()
    2. TestNG
      SuiteRunner.run
      1. org.testng.SuiteRunner.run(SuiteRunner.java:193)
      1 frame