Open GoogleCodeExporter opened 9 years ago
Same problem after upgrading to 0.5.3.
Tried to open a smarty template file and received the same error
PDT 1.0.2
log file snippet
!ENTRY org.eclipse.ui 4 0 2008-02-06 10:27:48.515
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/php/internal/ui/preferences/util/WeakPropertyChangeListener
at
org.eclipse.php.smarty.ui.editor.configuration.SmartyStructuredTextViewerConfigu
ration.setupPropertyChangeListener(SmartyStructuredTextViewerConfiguration.java:
164)
at
org.eclipse.php.smarty.ui.editor.configuration.SmartyStructuredTextViewerConfigu
ration.getPHPContentAssistant(SmartyStructuredTextViewerConfiguration.java:187)
at org.eclipse.php.internal.ui.editor.PHPStructuredTextViewer.configure(Unknown Source)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEdito
r.java:3201)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.ja
va:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(Abstract
DecoratedTextEditor.java:378)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEdit
or.java:1724)
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:426)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.ja
va:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart
.java:179)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Presenta
blePartFolder.java:268)
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:400)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:843)
at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829)
at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent
(TabbedStackPresentation.java:131)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractT
abFolder.java:267)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractT
abFolder.java:276)
at
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.acces
s$1(DefaultTabFolder.java:1)
at
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.han
dleEvent(DefaultTabFolder.java:84)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Original comment by joel...@gmail.com
on 6 Feb 2008 at 1:38
I thought this was just my workspace environment when working with latest from
SVN,
but appears that I'm not alone now that 0.5.3 is released using the latest
version.
Just committed a fix, changed the imported class in file
SmartyStructuredTextViewerConfiguration.java to be:
//import
org.eclipse.php.internal.ui.preferences.util.WeakPropertyChangeListener;
import org.eclipse.php.internal.core.util.WeakPropertyChangeListener;
(old version commented out)
Please reply back if this is fixed or not with the change.
Original comment by ohhe...@gmail.com
on 14 Feb 2008 at 2:53
I have similar(?) error. Trying open .tpl files cause error mesage:
Error opening the editor.
tried to access field
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.isExternal from class
org.eclipse.php.smarty.ui.editor.SmartyStructuredEditor
Original comment by dominik.bulaj
on 11 Jun 2008 at 11:09
Original issue reported on code.google.com by
toni.suo...@gmail.com
on 5 Feb 2008 at 5:41