I used to use EclipseColorer to edit bash (and other) scripts. But I'm
hitting an error whenever I try to open a script. Any suggestions would be
appreciated.
I get the following error:
Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
Exception Stack Trace:
java.lang.ClassCastException: org.eclipse.ui.ide.FileStoreEditorInput
incompatible with org.eclipse.jface.viewers.TreePath
at
com.ibm.etools.unix.shdt.basheditor.editors.outline.OutlineContentProvider.g
etElements(OutlineContentProvider.java:84)
at
org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.j
ava:1001)
at
org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:701)
at
org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeView
er.java:1349)
at
org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:341)
at
org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredVie
wer.java:907)
at
org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeV
iewer.java:621)
at
org.eclipse.jface.viewers.AbstractTreeViewer.lambda$0(AbstractTreeViewer.jav
a:817)
at
org.eclipse.jface.viewers.AbstractTreeViewer$$Lambda$62.000000001AD5BEF0.run
(Unknown Source)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeView
er.java:795)
at
org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:596)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeView
er.java:766)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(Abstract
TreeViewer.java:1538)
at
org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:
772)
at
org.eclipse.jface.viewers.AbstractTreeViewer.lambda$1(AbstractTreeViewer.jav
a:1523)
at
org.eclipse.jface.viewers.AbstractTreeViewer$$Lambda$61.000000001122C0D0.run
(Unknown Source)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredVie
wer.java:1458)
at
org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:354
)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredVie
wer.java:1419)
at
org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer
.java:1517)
at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:286)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:16
96)
at
com.ibm.etools.unix.shdt.basheditor.editors.outline.ContentOutline.createCon
trol(ContentOutline.java:66)
at
org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutli
ne.java:131)
at
org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:400)
at
org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:743)
at
org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentO
utline.java:193)
at
org.eclipse.ui.part.PageBookView$4.partBroughtToTop(PageBookView.java:1048)
at
org.eclipse.ui.internal.WorkbenchPage$27.run(WorkbenchPage.java:5198)
at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.jav
a:5195)
at
org.eclipse.ui.internal.WorkbenchPage.access$14(WorkbenchPage.java:5179)
at
org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(Workbe
nchPage.java:217)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl$7.run(PartServiceImpl.j
ava:314)
at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(Pa
rtServiceImpl.java:311)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.access$4(PartServiceImp
l.java:309)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServi
ceImpl.java:106)
at
org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandl
er.java:40)
at
org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
at
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
at
org.eclipse.swt.widgets.Display.syncExec(Display.java:4821)
at
org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Applicat
ion.java:211)
at
org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEven
tHandler.java:36)
at
org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHand
lerWrapper.java:201)
at
org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHa
ndlerTracker.java:197)
at
org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHa
ndlerTracker.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.
java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(L
istenerQueue.java:148)
at
org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminIm
pl.java:135)
at
org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.j
ava:78)
at
org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.j
ava:39)
at
org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java
:94)
at
org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventP
ublisher.java:60)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierIm
pl.java:374)
at
org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelected
Element(ElementContainerImpl.java:173)
at
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(Mo
delServiceImpl.java:617)
at
org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServic
eImpl.java:581)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(Part
ServiceImpl.java:770)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceI
mpl.java:401)
at
org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImp
l.java:1214)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3261
)
at
org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3176)
at
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3158)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3153)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3117)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)
at
org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1397)
at
org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAct
ion.java:97)
at
org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAct
ion.java:70)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:
228)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Action
ContributionItem.java:565)
at
org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionI
tem.java:397)
at
org.eclipse.jface.action.ActionContributionItem$$Lambda$36.000000001AE47A40.
handleEvent(Unknown Source)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at
org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRende
ringEngine.java:1121)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderi
ngEngine.java:1022)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.
java:150)
at
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.
java:138)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:134)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:104)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Thanks,
Michael Quigley
Computer Services
The Way international
www.TheWay.org <
http://www.theway.org/>
As an Amazon Associate we earn from qualifying purchases.