[
https://issues.jboss.org/browse/JBIDE-12901?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-12901:
-------------------------------------
Attached a patch upstream... they seem to be responsive and accepting it.
Show in File Browser shows error for EAP 5.1.2
----------------------------------------------
Key: JBIDE-12901
URL:
https://issues.jboss.org/browse/JBIDE-12901
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers, UpStream
Affects Versions: 4.0.0.Beta1
Environment: JBDS 6.0.0.Beta1 B45
Reporter: Martin Malina
Assignee: Rob Stryker
Labels: upstream
Fix For: 4.0.x, 4.1.x
Attachments: ifile-error.png, RemoteSystemExplorer-JBIDE-12901.png
When you try to see what's in the deployment folder of a remote EAP 5.1.2 server, you
will get an error (but the Remote System explorer will be opened correctly and will show
the files).
{code}
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
java.lang.ClassCastException: org.eclipse.core.internal.resources.Folder cannot be cast
to org.eclipse.core.resources.IFile
at
org.eclipse.rse.internal.files.ui.view.SystemViewRemoteFileAdapter.getLocalResource(SystemViewRemoteFileAdapter.java:632)
at
org.eclipse.rse.internal.files.ui.view.SystemViewRemoteFileAdapter.getImageDescriptor(SystemViewRemoteFileAdapter.java:574)
at
org.eclipse.rse.ui.view.SystemTableViewProvider.getImage(SystemTableViewProvider.java:236)
at
org.eclipse.jface.viewers.DecoratingLabelProvider.getImage(DecoratingLabelProvider.java:85)
at
org.eclipse.rse.internal.ui.view.SystemDecoratingLabelProvider.getColumnImage(SystemDecoratingLabelProvider.java:46)
at
org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:71)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
at
org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:399)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:485)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2167)
at
org.eclipse.jface.viewers.AbstractTableViewer.createItem(AbstractTableViewer.java:277)
at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:757)
at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:649)
at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:636)
at org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:592)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1443)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
at
org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:590)
at org.eclipse.rse.ui.view.SystemTableView.inputChanged(SystemTableView.java:479)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:280)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)
at
org.eclipse.rse.internal.ui.view.SystemTableViewPart.setInput(SystemTableViewPart.java:1599)
at
org.eclipse.rse.internal.ui.view.SystemTableViewPart.setInput(SystemTableViewPart.java:1578)
at
org.jboss.ide.eclipse.as.rse.ui.SystemShowInTableAction.run(SystemShowInTableAction.java:77)
at
org.jboss.ide.eclipse.as.rse.ui.RSEDeploymentPreferenceUI$2.openExplorer(RSEDeploymentPreferenceUI.java:115)
at
org.jboss.tools.as.wst.server.ui.xpl.ExploreActionProvider.runExplore(ExploreActionProvider.java:89)
at
org.jboss.tools.as.wst.server.ui.xpl.ExploreActionProvider.runExplore(ExploreActionProvider.java:83)
at
org.jboss.tools.as.wst.server.ui.xpl.ExploreActionProvider.access$0(ExploreActionProvider.java:82)
at
org.jboss.tools.as.wst.server.ui.xpl.ExploreActionProvider$1.run(ExploreActionProvider.java:74)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4134)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3980)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3619)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira