Eclipse的伽利略不会启动后,OS X更新到10.6.3

问题描述:

我刚刚更新os x到10.6.3并没有Eclipse不会启动日志显示以下错误,但我无法弄清楚。任何人都可以摆脱光线吗?Eclipse的伽利略不会启动后,OS X更新到10.6.3

!SESSION 2010-03-30 10:06:38.244 ----------------------------------------------- 
eclipse.buildId=M20090917-0800 
java.version=1.6.0_17 
java.vendor=Apple Inc. 
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US 
Framework arguments: -product org.eclipse.epp.package.php.product -keyring /Users/gav/.eclipse_keyring -showlocation 
Command-line arguments: -os macosx -ws cocoa -arch x86 -product org.eclipse.epp.package.php.product -keyring /Users/gav/.eclipse_keyring -showlocation 

!ENTRY org.eclipse.ui.workbench 2 0 2010-03-30 10:06:40.139 
!MESSAGE A handler conflict occurred. This may disable some commands. 
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-03-30 10:06:40.139 
!MESSAGE Conflict for 'com.aptana.ide.editors.views.actions.actionKeyCommand': 
HandlerActivation(commandId=com.aptana.ide.editors.views.actions.actionKeyCommand, 
handler=com.aptana.ide.editors.views.actions.ActionKeyCommandHandler, 
expression=,sourcePriority=0) 
HandlerActivation(commandId=com.aptana.ide.editors.views.actions.actionKeyCommand, 
handler=com.aptana.ide.editors.views.actions.ActionKeyCommandHandler, 
expression=,sourcePriority=0) 

!ENTRY org.eclipse.ui 4 0 2010-03-30 10:06:40.964 
!MESSAGE Unhandled event loop exception 
!STACK 0 
java.lang.NullPointerException 
at org.eclipse.swt.graphics.Device.getFontList(Device.java:369) 
at org.eclipse.jface.resource.FontRegistry.filterData(FontRegistry.java:465) 
at org.eclipse.jface.resource.FontRegistry.createFont(FontRegistry.java:499) 
at org.eclipse.jface.resource.FontRegistry.defaultFontRecord(FontRegistry.java:563) 
at org.eclipse.jface.resource.FontRegistry.defaultFontData(FontRegistry.java:575) 
at org.eclipse.jface.resource.FontRegistry.getFontData(FontRegistry.java:591) 
at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:116) 
at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:59) 
at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1482) 
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) 
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) 
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3405) 
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3102) 
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316) 
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) 
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) 
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) 
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) 
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:597) 
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) 
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) 
at org.eclipse.equinox.launcher.Main.run(Main.java:1311) 

它看起来像更新可能已经升级了Java版本,可能是:S,但我不知道这是否可以回滚,即使它没有更新。

java version "1.6.0_17" 
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025) 
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) 

在此先感谢!

+0

不错,谢谢,为其他人工作,只是看你的主目录并删除文件夹.fontconfig /别忘了重新启动os x。 – Gcoop 2010-03-30 11:41:15

我更新到10.6.3之后曾与日食相同的问题。

删除sreejith指出的那些文件对我无效,但请注意,我没有重新启动我的Mac。相反,我去寻找更多的建议,并发现了一些在苹果技术支持论坛,其中说删除这些文件,但也发出以下两个命令来清除字体缓存

“atsutil数据库-removeUser”

“命令atsutil数据库 - 删除“

这些独自对我无效。我做了一些更多的谷歌上搜索,发现了一个网站,解释了如何清除字体缓存中豹:

http://www.macworld.com/article/139383/2009/03/fontcacheclear.html

它重复了两次“atsutil”命令,但增加了另一个其中一个重新启动fontd:

“ atsutil服务器-shutdown”

,另一个检查fontd已经重生:

“atsutil服务器-ping”

这是终于让eclipse再次为我工作 - 无需重新启动!

这四个命令对我来说不起作用。 :-(

我不得不推出字体书和解决所有重复的字体 步骤:

1)选择所有字体

2)权利选择全部从列表中的字体

3)单击右键,选择解决重复

4)如果还有小黄三角旁边的一些字体系列名称的开拓这些字体系列和禁用右键以上这样的个人字体,在他们旁边有警告标志。

5)一旦没有更多的警告标志关闭字体书并打开Eclipse。

我希望这会有所帮助。

-Alex

问题详细信息:

它看起来像10.6.3增加一吨重复的字体。据我所知,这些重复的字体是什么导致了Java为了获取字体家族中的字体而进行的本地调用的问题。请参阅下面的Eclipse代码:

NSArray fonts = NSFontManager.sharedFontManager().availableMembersOfFontFamily(nsFamily); 
int fontCount = (int)/*64*/fonts.count(); //this line was giving the null pointer which means the variable fonts was null. This indicates that there is an issue with the FontManager 

还有一种更优雅的方式来执行此操作,而不仅仅是手动删除文件。有关分步说明,请参阅How to fix FDT (or any other Eclipse-based IDE) after Mac OS X 10.6.3 upgrade