2017-01-20 81 views
1

的Eclipse Neon.2MacOS的塞拉利昂运行。Eclipse的注册监听器无限期

当我启动Eclipse时,其进度显示它是“注册监听器”。这似乎无限期地运行(我已经离开了一个小时)。如果我尝试执行任何其他任务(如“清理”),则这些任务将放入“注册侦听器”后面的队列中,这些任务永远不会完成。

我可以访问Eclipse菜单,但是如果我尝试点击已安装的服务器,那么Eclipse会挂起并且完全没有响应。

如果有人可以提出解决方案,我将不胜感激。

更多信息:

点击的服务器上,并在活动监视器查杀任务后,我得到了以下报告:

Date/Time:  2017-01-20 12:03:56 +0200 
OS Version:  Mac OS X 10.12.2 (Build 16C67) 
Architecture: x86_64h 
Report Version: 25 

Data Source:  Stackshots 

Command:   eclipse 
Path:   /Users/USER/*/Eclipse.app/Contents/MacOS/eclipse 
Version:   4.6.2 (4.6.2.M20161124-1400) 
Parent:   launchd [1] 
PID:    1537 

Event:   hang 
Duration:  2.00s (process was unresponsive for 16 seconds before sampling) 
Steps:   20 (100ms sampling interval) 

Hardware model: MacBookPro13,3 
Active cpus:  8 

Fan speed:  2160 rpm 

-------------------------------------------------- 
Timeline format: stacks are sorted chronologically 
Use -i and -heavy to re-report with count sorting 
-------------------------------------------------- 

Heaviest stack for the main thread of the target process: 
    20 ??? [0x107ad4704] 
    20 ??? [0x1077aa2bd] 
    20 ??? [0x1077aa2bd] 
    20 ??? [0x1077b9a74] 
    20 Unsafe_Park + 126 (libjvm.dylib + 5773339) [0x106d8181b] 
    20 Parker::park(bool, long) + 512 (libjvm.dylib + 4747794) [0x106c87212] 
    20 __psynch_cvwait + 10 (libsystem_kernel.dylib + 105606) [0x7fffac589c86] 
*20 psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f810c88e2] 


Process:   eclipse (Eclipse) [1537] 
Path:   /Users/USER/*/Eclipse.app/Contents/MacOS/eclipse 
Architecture: x86_64 
Parent:   launchd [1] 
UID:    501 
Task size:  1174 MB 
Pageins:   1 pages 
CPU Time:  0.011 
Note:   Unresponsive for 16 seconds before sampling 
Note:   3 idle work queue threads omitted 

    Thread 0x1d93f   DispatchQueue 1   20 samples (1-20)   priority 46 (base 46) 
    <thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [158], process received importance donation from EmojiFunctionRowIM_Extension [403], IO tier 0> 
    20 ??? [0x107ad4704] 1-20 
    20 ??? [0x1077aa2bd] 1-20 
     20 ??? [0x1077aa2bd] 1-20 
     20 ??? [0x1077b9a74] 1-20 
      20 Unsafe_Park + 126 (libjvm.dylib + 5773339) [0x106d8181b] 1-20 
      20 Parker::park(bool, long) + 512 (libjvm.dylib + 4747794) [0x106c87212] 1-20 
       20 __psynch_cvwait + 10 (libsystem_kernel.dylib + 105606) [0x7fffac589c86] 1-20 
       *20 psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f810c88e2] 1-20 

    Thread 0x1d965   20 samples (1-20)   priority 31 (base 31) 
    <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [158], process received importance donation from EmojiFunctionRowIM_Extension [403], IO tier 0> 
    20 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffac6721fd] 1-20 
    20 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffac6729f7] 1-20 
     20 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffac672aab] 1-20 
     20 java_start(Thread*) + 246 (libjvm.dylib + 4761518) [0x106c8a7ae] 1-20 
      20 GangWorker::loop() + 179 (libjvm.dylib + 6063381) [0x106dc8515] 1-20 
      20 Monitor::wait(bool, long, bool) + 375 (libjvm.dylib + 4604309) [0x106c64195] 1-20 
       20 Monitor::IWait(Thread*, long) + 168 (libjvm.dylib + 4603692) [0x106c63f2c] 1-20 
       20 ParkCommon(ParkEvent*, long) + 42 (libjvm.dylib + 4601430) [0x106c63656] 1-20 
        20 os::PlatformEvent::park() + 192 (libjvm.dylib + 4744522) [0x106c8654a] 1-20 
        20 __psynch_cvwait + 10 (libsystem_kernel.dylib + 105606) [0x7fffac589c86] 1-20 
        *20 psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f810c88e2] 1-20 

    Thread 0x1d966   20 samples (1-20)   priority 31 (base 31) 
    <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [158], process received importance donation from EmojiFunctionRowIM_Extension [403], IO tier 0> 
    20 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffac6721fd] 1-20 
    20 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffac6729f7] 1-20 
     20 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffac672aab] 1-20 
     20 java_start(Thread*) + 246 (libjvm.dylib + 4761518) [0x106c8a7ae] 1-20 
      20 GangWorker::loop() + 179 (libjvm.dylib + 6063381) [0x106dc8515] 1-20 
      20 Monitor::wait(bool, long, bool) + 375 (libjvm.dylib + 4604309) [0x106c64195] 1-20 
       20 Monitor::IWait(Thread*, long) + 168 (libjvm.dylib + 4603692) [0x106c63f2c] 1-20 
       20 ParkCommon(ParkEvent*, long) + 42 (libjvm.dylib + 4601430) [0x106c63656] 1-20 
        20 os::PlatformEvent::park() + 192 (libjvm.dylib + 4744522) [0x106c8654a] 1-20 
        20 __psynch_cvwait + 10 (libsystem_kernel.dylib + 105606) [0x7fffac589c86] 1-20 
        *20 psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f810c88e2] 1-20 

    Thread 0x1d967   20 samples (1-20)   priority 31 (base 31) 
    <thread QoS default (requested default), process unclamped, process received importance donation from WindowServer [158], process received importance donation from EmojiFunctionRowIM_Extension [403], IO tier 0> 
    20 thread_start + 13 (libsystem_pthread.dylib + 12797) [0x7fffac6721fd] 1-20 
    20 _pthread_start + 286 (libsystem_pthread.dylib + 14839) [0x7fffac6729f7] 1-20 
     20 _pthread_body + 180 (libsystem_pthread.dylib + 15019) [0x7fffac672aab] 1-20 
     20 java_start(Thread*) + 246 (libjvm.dylib + 4761518) [0x106c8a7ae] 1-20 
      20 GangWorker::loop() + 179 (libjvm.dylib + 6063381) [0x106dc8515] 1-20 
      20 Monitor::wait(bool, long, bool) + 375 (libjvm.dylib + 4604309) [0x106c64195] 1-20 
       20 Monitor::IWait(Thread*, long) + 168 (libjvm.dylib + 4603692) [0x106c63f2c] 1-20 
       20 ParkCommon(ParkEvent*, long) + 42 (libjvm.dylib + 4601430) [0x106c63656] 1-20 
        20 os::PlatformEvent::park() + 192 (libjvm.dylib + 4744522) [0x106c8654a] 1-20 
        20 __psynch_cvwait + 10 (libsystem_kernel.dylib + 105606) [0x7fffac589c86] 1-20 
        *20 psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f810c88e2] 1-20 

回答

2

,我发现了同样的问题在Windows和Ubuntu与Eclipse NEON和JBoss的工具插件4.4.2决赛

这是一个plug-in bug

用版本4.4.3-AM2解决

+0

我看到Eclipse Market Place只有Jboss Tools插件4.4.2-FINAL。你如何安装4.4.3-AM2? – Richard

+0

你可以等待,变得稳定和发布在市场上或看看这里的答案http://stackoverflow.com/q/41997990/5841817 – sgargel

+0

谢谢。刚刚看到链接。 – Richard

2

我通过禁用所有插件修复启动。 Windows>首选项>启动和关机 - >禁用“插件在启动时激活”部分的所有插件。 保存&重新启动Eclipse。

+0

这仍然不适用于我。每次重新启动Eclipse时,我都必须创建一个新的工作区,否则它只会挂在注册监听器上。 (我关闭了所有插件)。 – Richard

+0

我已阅读以下内容,发现存在JBoss的已知错误,并且他们有修复程序。 https://issues.jboss.org/browse/JBIDE-23757?workflowName=GIT%20Pull%20Request%20workflow%20&stepId=4。我唯一的问题是我不知道如何在Wildfly上实现修复:http://stackoverflow.com/questions/41997990/thread-deadlock-when-starting-eclipse – Richard

+0

对我来说,这是足够的,禁用启动* * JBoss AS,WildFly和EAP服务器工具UI插件**和JBoss Tools Foundation Checkup **插件。 – JanPl