jboffel / smartypdt

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

Loading Error on Eclipse 3.4 #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Plugin error when opening a smarty template

What is the expected output? What do you see instead?
Plug-in "org.eclipse.php.smarty.ui" was unable to instantiate class
"org.eclipse.php.smarty.ui.editor.configuration.SmartyStructuredTextViewerConfig
uration".

What version of the product are you using? On what operating system?
Eclipse 3.4, PDT 2.0, SmartyPTD 5.5

Please provide any additional information below.

java.lang.NoClassDefFoundError:
org/eclipse/php/internal/ui/editor/PHPCodeHyperlinkDetector
at
org.eclipse.php.smarty.ui.editor.configuration.SmartyStructuredTextViewerConfigu
ration.<init>(SmartyStructuredTextViewerConfiguration.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
mpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExt
ension(RegistryStrategyOSGI.java:170)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(E
xtensionRegistry.java:867)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtensio
n(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableEx
tension(ConfigurationElementHandle.java:51)
at
org.eclipse.wst.sse.ui.internal.ExtendedConfigurationBuilder.createExtension(Ext
endedConfigurationBuilder.java:99)
at
org.eclipse.wst.sse.ui.internal.ExtendedConfigurationBuilder.createConfiguration
s(ExtendedConfigurationBuilder.java:144)
at
org.eclipse.wst.sse.ui.internal.ExtendedConfigurationBuilder.getConfigurations(E
xtendedConfigurationBuilder.java:213)
at
org.eclipse.wst.sse.ui.internal.ExtendedConfigurationBuilder.getConfiguration(Ex
tendedConfigurationBuilder.java:185)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.createSourceViewerConfiguration(Stru
cturedTextEditor.java:1728)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.updateSourceViewerConfiguration(Stru
cturedTextEditor.java:3403)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.update(StructuredTextEditor.java:305
5)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.setModel(StructuredTextEditor.java:2
977)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(StructuredTextEditor.java
:1983)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.doSetInput(Unknown
Source)
at
org.eclipse.php.smarty.ui.editor.SmartyStructuredEditor.doSetInput(SmartyStructu
redEditor.java:105)
at
org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3025
)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:44
6)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2483)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.jav
a:3043)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3070)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredTextEditor.java:2546)
at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init(Unknown Source)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:64
3)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.ja
va:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2
820)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:337)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:325)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:187)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3474)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3064)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:382)
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:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Original issue reported on code.google.com by jeremy.p...@gmail.com on 21 Jul 2008 at 4:52

GoogleCodeExporter commented 9 years ago
Same versions of Eclipse/PDT and I receive an error also, but my error message 
is slightly different:

java.lang.ClassCastException: 
org.eclipse.ui.editors.text.TextSourceViewerConfiguration
    at org.eclipse.php.internal.ui.editor.SemanticHighlightingManager.install(Unknown Source)
    at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.installSemanticHighlighting(Unknown Source)
    at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.createPartControl(Unknown Source)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
    at org.eclipse.dltk.internal.ui.actions.OpenModelElementWithMenu.openEditor(OpenModelElementWithMenu.java:339)
    at org.eclipse.dltk.internal.ui.actions.OpenModelElementWithMenu.access$0(OpenModelElementWithMenu.java:331)
    at 
org.eclipse.dltk.internal.ui.actions.OpenModelElementWithMenu$2.handleEvent(Open
ModelElementWithMenu.java:197)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3474)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3064)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    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:193)
    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:382)
    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:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Original comment by hooc...@gmail.com on 22 Sep 2008 at 3:13

GoogleCodeExporter commented 9 years ago
Have the same problem

Original comment by d.rach...@gmail.com on 25 Feb 2009 at 5:12