Eclipse未处理的事件循环异常 [英] Eclipse Unhandled event loop exception

查看:151
本文介绍了Eclipse未处理的事件循环异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的日食靛蓝 - 我使用PDT插件,我有一个例外..任何想法?当我编码行开始有趣,消失,然后再出现。


未处理的事件循环异常



java.lang.Error:错误:无法
匹配输入
org.eclipse.wst.xml.core.internal.parser.XML10Names.zzScanError(XML10Names.java:473)

org.eclipse.wst.xml.core.internal.parser.XML10Names.isValidXML10Name(XML10Names.java:588)

org.eclipse.wst.xml。 core.internal.parser.XML10Names.isValidXML10Name(XML10Names.java:271)

org.eclipse.wst.xml.core.internal.provisional.NameValidator.isValid(NameValidator.java:50)

org.eclipse.wst.xml.core.internal.document.DocumentImpl.isValidName(DocumentImpl.java:1015)

org.eclipse.wst.xml.core .internal.document.DocumentImpl.checkTagNameValidity(DocumentImpl.java:258)

org.eclipse.php.internal.core.documentModel.dom.DOMDocumentForPHP.createElement(DOMDocumentForPHP.java:44)

org.eclipse.wst.xml.core.internal.document.XMLModelParser.insertStartTag(XMLModelParser.java:1482)

org.eclipse.wst.xml.core .internal.document.XMLModelParser.insertStructuredDocumentRegion(XMLModelParser.java:1510)

org.eclipse.wst.xml.core.internal.document.XMLModelParser.replaceStructuredDocumentRegions(XMLModelParser.java:2354)

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)

org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:600)

org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1198)

org.eclipse.wst.sse.core.internal .text.BasicStructuredDocument.internalReplaceText(BasicStructured Document.java:1979)

org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)

org。 eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)

org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access $ 2( JobSafeStructuredDocument.java:1)

org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument $ 3.run(JobSafeStructuredDocument.java:141)

org .eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)

org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)

org.eclipse.wst.sse.ui.internal。 StructuredDocumentToTextAdapter.replaceTextRange(StructuredDocumentToTextAdapter.java:1187)

org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7180)

org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:7994)

org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2456)

org.eclipse.swt.custom.StyledText.handleKey(StyledText。 java:5911)

org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5941)

org.eclipse.swt.custom.StyledText $ 7 .handleEvent(StyledText.java:5635)

org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

org.eclipse.swt .widgets.Widget.sendEvent(Widget.java:1258)

org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at
org .eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)

org.eclipse.swt.widgets.Widget.sendIMKeyEvent(Widget.java:1344)
at
org.eclipse.swt.widgets.Control.gtk_commit(Control.java:2840)

org.eclipse.swt.widgets.Canvas.gtk_commit(Canvas.java:160)

org.eclipse.swt.widgets.Widget.windowProc(Widget.java: 1733)

org.eclipse.swt.widgets.Control.windowProc(Control.java:5016)

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)
org.eclipse.swt.widgets.Control.filterKey(Control.java:2250)

org.eclipse.swt.widgets.Control.gtk_key_press_event (Control.java:3012)

org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:734)

org.eclipse.swt.widgets .Widget.windowProc(Widget.java:1743)

org.eclipse.swt.widgets.Control.windowProc(Control.java:5016)

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
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2258)

org.eclipse中的.OS._g_main_context_iteration(Native
方法) swt.widgets.Display.readAndDispatch(Display.java:3207)

org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)

org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)

org.eclipse.ui.internal.Workbench.access $ 4(Workbench.java:2494)

org.eclipse.ui.internal.Workbench $ 7.run(Workbench.java:674)

org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java :332)
at
org.eclipse.ui.internal.Workbench.creat eAndRunWorkbench(Workbench.java:667)

org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

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)

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.invo ke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:616)

org.eclipse.equinox.launcher。 Main.invokeFramework(Main.java:622)

org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

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
常量:OS = linux,ARCH = x86,WS = gtk,
NL = en_US命令行参数:-os
linux -ws gtk -arch x86



解决方案

新解决方案:有新的PDT靛蓝捆绑(3.0.2)对我来说,开箱即用:
http ://code.google.com/p/zend-sdk/downloads/list



OLD SOLUTION(PDT 3.0.0):



谢谢Valentin,我可以修复我的Eclipse。对于我来说,它的工作原理就是这样:


  1. 打开 https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/lastStableBuild/artifact/build /

  2. 点击内部编号N *

  3. 下载pdt-Update-N * .zip

  4. 在Eclipse中,goto安装新软件

  5. 创建一个带有存档的新站点,并选择下载的zip

  6. 现在,PDT从已下载zip

链接更新,感谢Daff!


Im getting an exception in my eclipse indigo - im using the PDT plugin as well.. any ideas? When i code the lines start acting funny, disappearing, then reappearing.

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

解决方案

NEW SOLUTION: There is new PDT Indigo bundle (3.0.2) which runs fine for me, out-of-the-box: http://code.google.com/p/zend-sdk/downloads/list

OLD SOLUTION (PDT 3.0.0):

Thank you Valentin, I could fix my Eclipse. For me it worked from your link like that:

  1. Open https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/lastStableBuild/artifact/build/
  2. Click on build number N*
  3. Download pdt-Update-N*.zip
  4. In Eclipse goto "Install New Software"
  5. Create a new site with archive and choose the downloaded zip
  6. Now PDT is updated from the downloaded zip

Link updated, thanks to Daff!

这篇关于Eclipse未处理的事件循环异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆