Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/395.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/asp.net-mvc-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
unix框中的Java selenium错误_Java_Firefox_Selenium_Jvm_Xvfb - Fatal编程技术网

unix框中的Java selenium错误

unix框中的Java selenium错误,java,firefox,selenium,jvm,xvfb,Java,Firefox,Selenium,Jvm,Xvfb,我正在尝试在unix框中运行selenium脚本。我已经安装了firefox版本24.7.0和xvfb。在运行代码时,我发现以下错误。 无法找出错误,请帮助 # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x00002b5d957e697b, pid=2570, tid=47680957966656 # # JRE version: 6.0

我正在尝试在unix框中运行selenium脚本。我已经安装了firefox版本24.7.0和xvfb。在运行代码时,我发现以下错误。 无法找出错误,请帮助

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00002b5d957e697b, pid=2570, tid=47680957966656

    #
    # JRE version: 6.0_22-b04
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 )
    # Problematic frame:
    # C  [libc.so.6+0x7a97b]  memset+0xa5b
    #
    # An error report file with more information is saved as:
    # /tmp/tmp/hs_err_pid2570.log

可能是您的/tmp目录已满吗?我收到上述错误3-4次。现在我可以运行它了,但是线程“main”org.openqa.selenium.WebDriverException中出现以下错误异常:无法连接到端口8080上的二进制FirefoxBinary(/usr/bin/firefox);8080似乎是一个通过WebDriver连接到浏览器的非常奇怪的端口。我想那里会有一只雄猫。你能检查一下这个值吗?