线程卡在linux中的ui4j.webkit.WebKitBrowser.navigate中

时间:2018-01-18 01:03:10

标签: java linux

我正在为我的应用程序使用ui4j无头浏览器。这在Windows服务器上运行。但是当我的服务器部署在linux中时,线程在导航URL时卡住了。

以下是线程的堆栈跟踪

sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)
java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Interpreted frame)
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt() @bci=1, line=836 (Interpreted frame)
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(int) @bci=72, line=997 (Interpreted frame)
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(int) @bci=24, line=1304 (Compiled frame)
java.util.concurrent.CountDownLatch.await() @bci=5, line=231 (Compiled frame)
com.sun.javafx.application.PlatformImpl.waitForStart() @bci=14, line=256 (Interpreted frame)
com.sun.javafx.application.PlatformImpl.runLater(java.lang.Runnable, boolean) @bci=26, line=277 (Interpreted frame)
com.sun.javafx.application.PlatformImpl.runLater(java.lang.Runnable) @bci=2, line=268 (Interpreted frame)
javafx.application.Platform.runLater(java.lang.Runnable) @bci=1, line=83 (Interpreted frame)
com.ui4j.webkit.WebKitBrowser.navigate(java.lang.String, com.ui4j.api.browser.PageConfiguration) @bci=250, line=382 (Interpreted frame)

com.ui4j.webkit.WebKitBrowser.navigate(java.lang.String)@ bci = 9,line = 341(解释框架)

如果我在外面打开相同的网址,我正在尝试导航的网址。

我正在使用ui4j-all-2.1.0.jar。

0 个答案:

没有答案