Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPDT Can't open PHP file!!!
https://www.eclipse.org/forums/index.php/mv/msg/165457/524170/#msg_524170
Any other file can be opened.
Error info:
java.lang.AbstractMethodError: org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceP arserFactory.parse(Lorg/eclipse/dltk/compiler/env/IModuleSou rce;Lorg/eclipse/dltk/compiler/problem/IProblemReporter;)Lor g/eclipse/dltk/ast/parser/IModuleDeclaration;
at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUti l.java:137)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:197)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:183)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration( SourceParserUtil.java:174)
at org.eclipse.dltk.core.AbstractSourceElementParser.parse(Abst ractSourceElementParser.java:42)
at org.eclipse.dltk.core.AbstractSourceElementParser.parseSourc eModule(AbstractSourceElementParser.java:26)
at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStr ucture(AbstractSourceModule.java:507)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openab le.java:185)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(M odelElement.java:182)
at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.ex ecuteOperation(BecomeWorkingCopyOperation.java:45)
at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOpera tion.java:698)
at org.eclipse.dltk.internal.core.ModelOperation.runOperation(M odelOperation.java:764)
at org.eclipse.dltk.internal.core.SourceModule.becomeWorkingCop y(SourceModule.java:68)
at org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProv ider.createFileInfo(SourceModuleDocumentProvider.java:1251)
at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect (TextFileDocumentProvider.java:478)
at org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProv ider.connect(SourceModuleDocumentProvider.java:1484)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(Abst ractTextEditor.java:4135)
at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(Status TextEditor.java:203)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetI nput(AbstractDecoratedTextEditor.java:1413)
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor .java:166)
at org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(Struc turedTextEditor.java:1712)
at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.doSet Input(PHPStructuredEditor.java:2208)
at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:3116)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2579)
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3134)
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3161)
at org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredT extEditor.java:2321)
at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init( PHPStructuredEditor.java:1151)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:798)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:644)
at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:286)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2857)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2701)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2685)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2676)
at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEdit or(EditorUtility.java:405)
at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEdit or(EditorUtility.java:166)
at org.eclipse.dltk.internal.ui.actions.OpenActionUtil.open(Ope nActionUtil.java:45)
at org.eclipse.dltk.ui.actions.OpenAction.run(OpenAction.java:2 59)
at org.eclipse.dltk.ui.actions.OpenAction.run(OpenAction.java:2 40)
at org.eclipse.dltk.ui.actions.SelectionDispatchAction.dispatch Run(SelectionDispatchAction.java:259)
at org.eclipse.dltk.ui.actions.SelectionDispatchAction.run(Sele ctionDispatchAction.java:235)
at org.eclipse.dltk.internal.ui.scriptview.ScriptExplorerAction Group.handleOpen(ScriptExplorerActionGroup.java:304)
at org.eclipse.php.internal.ui.explorer.PHPExplorerActionGroup. handleOpen(PHPExplorerActionGroup.java:103)
at org.eclipse.dltk.internal.ui.scriptview.ScriptExplorerPart$4 .open(ScriptExplorerPart.java:667)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:840)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:1101)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:1205)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:264)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:258)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:298)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
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(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
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)
]]>HonestQiao 2010-03-31T03:50:12-00:00Re: PDT Can't open PHP file!!!
https://www.eclipse.org/forums/index.php/mv/msg/165457/524171/#msg_524171
]]>HonestQiao 2010-03-31T03:52:12-00:00