Bug 160320 - [ssh] Remote search is not working for ssh
Summary: [ssh] Remote search is not working for ssh
Status: ASSIGNED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: Future   Edit
Assignee: dsdp.tm.rse-inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-10-10 10:42 EDT by Ali Burak Kulakli CLA
Modified: 2015-09-09 04:51 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Burak Kulakli CLA 2006-10-10 10:42:48 EDT
No search selection in right click as documentation says on ssh connected machine.

Also, I have tried may times to get results but that remote search has not returned any result. Both for local and remote, text and file search on several locations.

-----------Enter bugs above this line-----------
RSE 1.0 Testing round 2
installation : eclipse-platform-3.2.1, cdt-3.1.1
RSE install  : update-site RSE-complete
java.runtime : Sun 1.5.0_08-b03
os.name:     : Windows XP 5.1, Service Pack 2
------------------------------------------------
systemtype   : Unix-ssh (dstore-processes)
targetos     : Fedora Core release 5 (Bordeaux)
targetuname  : Linux fedai 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux
targetvm     : gij (GNU libgcj) version 4.1.0 20060304 (Red Hat 4.1.0-3)
------------------------------------------------
Comment 1 Michael Scharf CLA 2006-10-10 11:04:53 EDT
I have the same problem. It works in one workspace and it does not work in another.

My setup RC1, host XP, 4remote dstore on XP, java 1.5,

Here's a stachtrace I get:

java.lang.NullPointerException
at org.eclipse.rse.ui.view.search.SystemSearchUI.activateSearchResultView(SystemSearchUI.java:65)
at org.eclipse.rse.files.ui.search.SystemSearchPage.showInView(SystemSearchPage.java:697)
at org.eclipse.rse.files.ui.search.SystemSearchPage.performAction(SystemSearchPage.java:672)
at org.eclipse.search.internal.ui.SearchDialog.performAction(SearchDialog.java:451)
at org.eclipse.search.internal.ui.util.ExtendedDialogWindow.buttonPressed(ExtendedDialogWindow.java:159)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:54)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:45)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 2 Michael Scharf CLA 2006-10-10 11:07:18 EDT
OOPs, my search problem seems not related to this bug...
Comment 3 Martin Oberhuber CLA 2006-10-10 18:40:47 EDT
Remote Search is not implemented for ssh subsystems. It only works for dstore. So I see two actual problems here:
 - (enhancement request) implement remote search for ssh. Perhaps by running
   UNIX "find" through a remote shell.
 - (bug) remote search can be opened for subsystems that do not support it

I'm changing the summary to specify [ssh], and reducing severity to "normal" since this is expected behavior (not implemented) and there exists a workaround (i.e. run "find" manually in a remote shell).

If you find other problems with search on dstore or local subsystems, please file a new bug describing the exact problem.
Comment 4 Martin Oberhuber CLA 2006-11-10 17:55:53 EST
Need to investigate effort of integrating remote "find" command vs. disabling the search page
Comment 5 Daniel Sokolowski CLA 2013-03-04 10:07:15 EST
Can we implement this - console find is cumbersome - and until then disable the search or provide a helpful message? 

For a very long time I thought this was just broken and been meaning to submit a bug, and today I set out to do that but learned that Remote Search does not work with SSH connections by design :)
Comment 6 Martin Oberhuber CLA 2013-03-04 11:04:42 EST
Contributions are welcome for this.
Comment 7 Daniel Sokolowski CLA 2014-03-19 22:12:56 EDT
+1 here as I also though it was broken for many years; please don't forget that you can vote on this bug and that there is a donation page:  http://www.eclipse.org/donate/