2010-03-30 87 views
2

我剛剛更新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

我更新到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再次爲我工作 - 無需重新啓動!

0

這四個命令對我來說不起作用。 :-(

我不得不推出字體書和解決所有重複的字體 步驟:

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