Unhandled event loop exception org.eclipse.swt.SWTError: No more handles

eclipse.buildId=4.5.1.M20150904-0015
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

org.eclipse.ui
Error
Tue Feb 23 16:43:53 CST 2016
Unhandled event loop exception

org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:4517)
解决方法:
http://stackoverflow.com/questions/15594590/eclipse-bug-unhandled-event-loop-exception-no-more-handles

步骤 1 : As suggested by Nineroad Installing WindowBuilder as the default editor for files with a *.java extention fixed this issue for me.

In Eclipse, navigate to Help > Install New Software

Add http://archive.eclipse.org/windowbuilder/WB/release/R201309271200/4.3

步骤 2 : There is a workaround. Change the Java editor to WindowBuilder. Eclipse->Windows->Preferences->File Associations choose WindowBuilder Editor as Java default editor.

你可能感兴趣的:(java,eclipse,SWT)