facebook

Right-Clicks and Selections in Package Explorer / Navigator

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #209498 Reply

    desropolis
    Member

    I use several different shortcuts to start Eclipse. This way I can have an icon for each workspace I use. I use the -data switch on the command line in order to pick my workspace.

    I thought this would work, but unfortunately I am unable to right-click on top-level items in the Package Explorer and Navigator. No context menu comes up. When I do click on some item below the top-level, I get a context menu, and from then on I get a context menu for top-level items.

    The problem is apparent in CVS situations. If I select two files and Synchronize them, it works. From then on it only Synchronizes those files. I can select new ones, but the system behaves as if the original ones were selected.

    I have three different workspaces. One works fine. The other two do not. There is an exception in each of the “bad” workspaces’ log:

    java.lang.NoClassDefFoundError: org/xml/sax/SAXException
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:138)
    at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
    at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:151)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:103)
    at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:270)
    at org.eclipse.ui.internal.PluginAction.<init>(PluginAction.java:94)
    at org.eclipse.ui.internal.ObjectPluginAction.<init>(ObjectPluginAction.java:36)
    at org.eclipse.ui.internal.ActionDescriptor.createAction(ActionDescriptor.java:201)
    at org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:126)
    at org.eclipse.ui.internal.ActionDescriptor.<init>(ActionDescriptor.java:67)
    at org.eclipse.ui.internal.ObjectActionContributor.createActionDescriptor(ObjectActionContributor.java:133)
    at org.eclipse.ui.internal.PluginActionBuilder.readElement(PluginActionBuilder.java:144)
    at org.eclipse.ui.internal.ObjectActionContributor.readElement(ObjectActionContributor.java:185)
    at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:136)
    at org.eclipse.ui.internal.registry.RegistryReader.readElementChildren(RegistryReader.java:126)
    at org.eclipse.ui.internal.ObjectActionContributor.readConfigElement(ObjectActionContributor.java:163)
    at org.eclipse.ui.internal.ObjectActionContributor.isApplicableTo(ObjectActionContributor.java:149)
    at org.eclipse.ui.internal.ObjectContributorManager.isApplicableTo(ObjectContributorManager.java:235)
    at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:123)
    at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:57)
    at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:78)
    at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:257)
    at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:336)
    at org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:333)
    at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:345)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:865)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:845)
    at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3170)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2812)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1229)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:2545)
    at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
    at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:218)
    at org.eclipse.swt.widgets.Display.runPopups(Display.java:2047)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1722)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)

    Following are the standard bits of info.

    Windows XP / Eclipse 2.1.2 / My Eclipse 2.7.101 / JDK 1.3.1_01
    Eclipse was not freshly installed for MyEclipse.
    MyEclipse has been upgraded to its current version using uninstall-install
    Omondo is installed – willing to uninstall, don’t know how!
    7 plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*

    #209501 Reply

    Riyad Kalla
    Member

    Hmm, lets figure out if this is a ME-induced problem or Eclipse problem. You can temporarily uninstall MyEclipse by going into the <eclipse dir>\links directory and moving the com.genuitec.eclipse.MyEclipse.link file to your desktop, then restart Eclipse. Now try the right click operations… are they still failing? If they are, this is an Eclipse issue and I’m wondering if upgrading your JDK or removing your config data (<workspace>\.metadata\.config dir) might help this. If the problem has gone away, then we’ll need to look more into your log file to see if there is anything telling for us to run with.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Right-Clicks and Selections in Package Explorer / Navigator

You must be logged in to post in the forum log in