2011-07-02 33 views
14

我的日食靛藍得到一個異常 - 即時通訊使用PDT插件以及..任何想法?當我編碼線開始行事有趣,消失,然後再次出現。Eclipse未處理的事件循環異常

Unhandled event loop exception

java.lang.Error: Error: could not match input at org.eclipse.wst.xml.core.internal.parser.XML10Names.zzScanError(XML10Names.java:473) at org.eclipse.wst.xml.core.internal.parser.XML10Names.isValidXML10Name(XML10Names.java:588) at org.eclipse.wst.xml.core.internal.parser.XML10Names.isValidXML10Name(XML10Names.java:271) at org.eclipse.wst.xml.core.internal.provisional.NameValidator.isValid(NameValidator.java:50) at org.eclipse.wst.xml.core.internal.document.DocumentImpl.isValidName(DocumentImpl.java:1015) at org.eclipse.wst.xml.core.internal.document.DocumentImpl.checkTagNameValidity(DocumentImpl.java:258) at org.eclipse.php.internal.core.documentModel.dom.DOMDocumentForPHP.createElement(DOMDocumentForPHP.java:44) at org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertStartTag(XMLModelParser.java:1482) at org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertStructuredDocumentRegion(XMLModelParser.java:1510) at org.eclipse.wst.xml.core.internal.document.XMLModelParser.replaceStructuredDocumentRegions(XMLModelParser.java:2354) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.handleRefresh(DOMModelImpl.java:524) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.nodesReplaced(DOMModelImpl.java:742) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:600) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1198) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1979) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408) at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1) at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149) at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144) at org.eclipse.wst.sse.ui.internal.StructuredDocumentToTextAdapter.replaceTextRange(StructuredDocumentToTextAdapter.java:1187) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7180) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:7994) at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2456) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5911) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5941) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5635) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267) at org.eclipse.swt.widgets.Widget.sendIMKeyEvent(Widget.java:1344) at org.eclipse.swt.widgets.Control.gtk_commit(Control.java:2840) at org.eclipse.swt.widgets.Canvas.gtk_commit(Canvas.java:160) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1733) at org.eclipse.swt.widgets.Control.windowProc(Control.java:5016) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4408) at org.eclipse.swt.internal.gtk.OS._gtk_im_context_filter_keypress(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_im_context_filter_keypress(OS.java:7793) at org.eclipse.swt.widgets.Control.filterKey(Control.java:2250) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3012) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:734) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1743) at org.eclipse.swt.widgets.Control.windowProc(Control.java:5016) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4408) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8394) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1245) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2258) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:344) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

eclipse.buildId=I20110613-1736 java.version=1.6.0_22 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86

+1

是否有可能讓你更詳細地解釋你到底做了什麼,導致這種情況? – 2011-07-02 01:39:44

+0

我只是編輯一個PHP文件,其中有HTML和PHP。我開始輸入

,然後出現一個自動完成菜單,然後開始行事有趣並拋出異常。 – Mark

+0

只是在說,我遇到了同樣的問題。 Mac 64位Indigo。 – echo

回答

3

正是在PDT,這似乎是修正了一個錯誤: https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=350139

(我知道我回答時已經很遲,但它會幫助那些來自谷歌等人)


編輯:我是如何解決它在我的電腦(我不建議你做我一樣):

從PDT得到的最新穩定每晚構建這對我來說是:https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/166/artifact/build/N201107150957/

似乎是通過使用PDT-更新 - .zip文件更新Eclipse插件的方式在這裏Getting Eclipse PDT nightly build from Hudson解釋。我無法在計算機上執行此操作,而且我也沒有時間調查爲什麼它不起作用。我得到了另一個zip文件(pdt-SDK- .zip),從eclipse庫目錄中刪除了舊的插件,並將其替換爲新的。它沒有用,PHP的觀點在此之後無處可尋。所以,我做了一個骯髒的黑客攻擊:從存檔中取出org.eclipse.php.core_3.0.0.v201107150957.jar,從eclipse庫目錄(org.eclipse.php.core_3.0.0.v20110516-1100)中刪除舊的。罐子在我的情況),並更名爲新的像舊的。

我知道,這可能打破東西,我不推薦給其他人做,除非他們做到這一點作爲一個臨時的hackish修復:-)

我應該嘗試PDT 2雖然...

7

新的解決方案:有新的PDT靛藍束(3.0.2),這對我來說運行正常,外的開箱: http://code.google.com/p/zend-sdk/downloads/list

老辦法(PDT 3.0.0):

謝謝瓦倫丁,我可以修復我的Eclipse 。對於我來說,從你的鏈接這樣的工作:

  1. 打開https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/lastStableBuild/artifact/build/
  2. 點擊版本號N *
  3. 下載PDT-更新-N * .zip文件
  4. 在Eclipse轉到 「安裝新軟件」
  5. 創建歸檔一個新的網站,然後選擇下載的zip
  6. 現在PDT從下載的壓縮更新

鏈接已更新,感謝Daff!

+0

這不再有效。對於第二步,ZIP url會返回一個404. – hafichuk

+1

這樣做,謝謝!可以在https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/lastStableBuild/artifact/找到最新的穩定版本,然後進入顯示的版本並下載pdt-Update- * build-number * .zip – Daff

+0

按照上面評論中的建議嘗試最新的穩定版本後,我仍然收到依賴錯誤。這個錯誤的帖子做了竅門 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=354709 –

0

清理我的Available Software Sites首選項(幫助>安裝新軟件),然後再次更新Eclipse(幫助>檢查更新)爲我解決了這個錯誤。

0

如果有人仍然在尋找這個,那只是發生在我身上,並發現關閉「AMD遊戲進化」應用程序修復了它。如果我再次打開它,它會發生,只要關閉,如果你有它並嘗試

相關問題