Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT Can't open PHP file!!!
icon8.gif  PDT Can't open PHP file!!! [message #524170] Wed, 31 March 2010 03:50 Go to next message
HonestQiao  is currently offline HonestQiao Friend
Messages: 2
Registered: March 2010
Junior Member
After an upgrade , PDT Can't open PHP file!!!

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)
Re: PDT Can't open PHP file!!! [message #524171 is a reply to message #524170] Wed, 31 March 2010 03:52 Go to previous message
HonestQiao  is currently offline HonestQiao Friend
Messages: 2
Registered: March 2010
Junior Member
PDT Version:
http://my.chinaunix.net/attachment/201003/31/82215_12700075095q3H.png
Previous Topic:Current Line Number in External Tools Arguments?
Next Topic:Skip folders
Goto Forum:
  


Current Time: Tue May 18 02:54:22 GMT 2021

Powered by FUDForum. Page generated in 0.02322 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top