jboffel / smartypdt

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

Outline view ClassCastException #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open any smarty template 

What is the expected output? What do you see instead?
OUtline window shows an error

What version of the product are you using? On what operating system?
smartypdt 0.5.2, eclipse 3.3.1.1 vista

Please provide any additional information below.

!SESSION 2008-02-06 10:30:04.303
-----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui.workbench 4 0 2008-02-06 10:30:20.819
!MESSAGE Unable to create view ID org.eclipse.ui.views.ContentOutline:
org.eclipse.wst.html.ui.views.contentoutline.HTMLContentOutlineConfiguration
cannot be cast to
org.eclipse.php.internal.ui.outline.PHPContentOutlineConfiguration
!STACK 0
java.lang.ClassCastException:
org.eclipse.wst.html.ui.views.contentoutline.HTMLContentOutlineConfiguration
cannot be cast to
org.eclipse.php.internal.ui.outline.PHPContentOutlineConfiguration
    at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.getAdapter(Unknown
Source)
    at org.eclipse.ui.internal.views.ViewsPlugin.getAdapter(ViewsPlugin.java:103)
    at
org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.j
ava:129)
    at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:399)
    at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:741)
    at org.eclipse.ui.part.PageBookView.showBootstrapPart(PageBookView.java:907)
    at org.eclipse.ui.part.PageBookView.createPartControl(PageBookView.java:482)
    at
org.eclipse.ui.views.contentoutline.ContentOutline.createPartControl(ContentOutl
ine.java:119)
    at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:370)
    at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227)
    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.ViewPane.setVisible(ViewPane.java:531)
    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:12
56)
    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:668)
    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
    at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:5
64)
    at
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:270)
    at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:931)
    at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2515)
    at org.eclipse.ui.internal.WorkbenchWindow$23.run(WorkbenchWindow.java:2837)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2818)
    at
org.eclipse.ui.internal.WorkbenchWindow$17.runWithException(WorkbenchWindow.java
:2135)
    at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.ja
va:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:80
1)
    at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
    at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.ja
va:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
    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 issue reported on code.google.com by r...@cityofcairns.com on 6 Feb 2008 at 12:42

GoogleCodeExporter commented 9 years ago
I am getting the same too!

Original comment by jonp.eld...@gmail.com on 6 Feb 2009 at 1:25