"[b]An unexpected error has been detected by HotSpot Virtual Machine[/b]" keeps popping up everytime when i tried the Selenium 0.9.2 test cases using IE7 as the opening browser. It fails with both jvm 1.5.0.8 and 1.6.0.3.
The simplest way to fix this problem is to add the following JVM option
[b]-Djava.net.preferIPv4Stack=true[/b]
The [i]Inet4AddressImpl[/i] is not thread safe.
The simplest way to fix this problem is to add the following JVM option
[b]-Djava.net.preferIPv4Stack=true[/b]
The [i]Inet4AddressImpl[/i] is not thread safe.
本文介绍了一种在使用Selenium 0.9.2进行测试时遇到HotSpot虚拟机错误的解决方案。通过添加JVM参数-Djava.net.preferIPv4Stack=true可以有效解决此问题。
274

被折叠的 条评论
为什么被折叠?



