ismywb / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

Unable to create editor ID org.eclipse.php.editor: Editor could not be initialized. #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download Eclipse Classic 2.5.3 64-bits edition.
2. Add PDT 2.2 Update site
3. Add DLTK R2 Update site
4. Install PDT 2.2 ( Make sure it selects DLTK R2 and not R1 ).
5. Install SmartyPDT.
6. Try and create a tpl file.

The window does not appear, Eclipse seems to get stuck in an infinite loop.

  Eclipse SDK   3.5.2.M20100211-1343    org.eclipse.sdk.ide
  Eclipse SQL Explorer  3.5.1.v20100211_SR3b
net.sourceforge.sqlexplorer.feature.group
  JNA Library   3.2.3   com.sun.jna.feature.group
  PHP Development Tools (PDT) Runtime Feature
2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc    org.eclipse.php.feature.group
  Smarty Feature    0.9.0   org.eclipse.php.smarty_feature.feature.group
  Subclipse (Required)  1.6.10  org.tigris.subversion.subclipse.feature.group
  Subclipse Integration for Mylyn 3.x (Optional)    3.0.0
org.tigris.subversion.subclipse.mylyn.feature.group
  Subversion Client Adapter (Required)  1.6.10
org.tigris.subversion.clientadapter.feature.feature.group
  Subversion JavaHL Native Library Adapter (Required)   1.6.9.3
org.tigris.subversion.clientadapter.javahl.feature.feature.group
  Subversion Revision Graph 1.0.7
org.tigris.subversion.subclipse.graph.feature.feature.group
  SVNKit Client Adapter (Not required)  1.6.10
org.tigris.subversion.clientadapter.svnkit.feature.feature.group
  SVNKit Library    1.3.2.6267  org.tmatesoft.svnkit.feature.group

Full Trace Stack:

java.lang.AbstractMethodError:
org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceParserFactory.parse(L
org/eclipse/dltk/compiler/env/IModuleSource;Lorg/eclipse/dltk/compiler/problem/I
ProblemReporter;)Lorg/eclipse/dltk/ast/parser/IModuleDeclaration;
    at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:137)
    at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.jav
a:197)
    at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.jav
a:183)
    at
org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.jav
a:174)
    at
org.eclipse.dltk.core.AbstractSourceElementParser.parse(AbstractSourceElementPar
ser.java:42)
    at
org.eclipse.dltk.core.AbstractSourceElementParser.parseSourceModule(AbstractSour
ceElementParser.java:26)
    at
org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourc
eModule.java:507)
    at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:185)
    at
org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:182
)
    at
org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(Becom
eWorkingCopyOperation.java:45)
    at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698)
    at
org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:7
64)
    at
org.eclipse.dltk.internal.core.SourceModule.becomeWorkingCopy(SourceModule.java:
68)
    at
org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider.createFileInfo(
SourceModuleDocumentProvider.java:1251)
    at
org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentPro
vider.java:478)
    at
org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider.connect(SourceM
oduleDocumentProvider.java:1484)
    at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:
4135)
    at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:203)
    at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecorat
edTextEditor.java:1413)
    at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:166)
    at
org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(StructuredTextEditor.java
:1712)
    at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.doSetInput(PHPStructuredE
ditor.java:2208)
    at
org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3116
)
    at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:46
4)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at
org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579)
    at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.jav
a:3134)
    at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3161)
    at
org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredTextEditor.java:2321)
    at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init(PHPStructuredEditor.
java:1151)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
    at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:64
4)
    at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.ja
va:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart
.java:180)
    at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Presenta
blePartFolder.java:270)
    at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRigh
tTabOrder.java:65)
    at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(Ta
bbedStackPresentation.java:473)
    at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:12
56)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:6
3)
    at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
    at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
    at
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
    at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.jav
a:677)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
    at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2
854)
    at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
    at
org.eclipse.ui.wizards.newresource.BasicNewFileResourceWizard.performFinish(Basi
cNewFileResourceWizard.java:111)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    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.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at
org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.
java:253)
    at
org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
    at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCo
mmand.java:508)
    at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.ja
va:169)
    at
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandler
Service.java:241)
    at
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:15
7)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:584)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:501)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.java:411)
    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.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    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(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.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(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Original issue reported on code.google.com by PontusJo...@gmail.com on 11 Mar 2010 at 1:03