#152 Cannot open projects using right click.

v0.3.0
closed-out-of-date
nobody
None
5
2006-08-07
2005-03-17
Anonymous
No

after installing the perl 0.3.0 plugin, i am having
trouble opening up any kinda project by right clicking
on the project in the navigator view.

BUT, sometimes it does work, most of the time it does not.

By selecting any type of project and choosing open
project from the project menu, all project open up fine.

In addition, once a project, any kinda project, is
opened, i am able to right click, using the navigator
window and have the menu pop up.

blackbsd@mountain.net

os: gentoo linux, kernel 2.6.9
eclipse: 3.0.1

other plugins:
CDT

Discussion

  • mef

    mef - 2005-03-22

    Logged In: YES
    user_id=1175798

    I am seeing this too, also on Linux, with Eclipse 3.1M5a.
    Here's the backtrace in the .metadata/.log file when I
    right-click on a project.

    !ENTRY org.eclipse.ui 4 0 2005-03-22 10:14:23.810
    !MESSAGE
    org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart
    !STACK 0
    java.lang.ClassCastException:
    org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart
    at
    org.epic.core.popupmenus.TogglePerlNatureActionDelegate.setActivePart(TogglePerlNatureActionDelegate.java:40)
    at
    org.eclipse.ui.internal.ObjectPluginAction.setActivePart(ObjectPluginAction.java:66)
    at
    org.eclipse.ui.internal.ObjectActionContributor.contributeObjectActions(ObjectActionContributor.java:132)
    at
    org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:138)
    at
    org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:195)
    at
    org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:220)
    at
    org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:285)
    at
    org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:372)
    at
    org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:369)
    at
    org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:386)
    at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116)
    at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1009)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1033)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1014)
    at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:175)
    at org.eclipse.swt.widgets.Display.runPopups(Display.java:2754)
    at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2424)
    at
    org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
    at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
    at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    at
    org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
    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:585)
    at
    org.eclipse.core.launcher.Main.invokeFramework(Main.java:268)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
    at org.eclipse.core.launcher.Main.run(Main.java:887)
    at org.eclipse.core.launcher.Main.main(Main.java:871)

     
  • Andy

    Andy - 2005-07-28

    Logged In: YES
    user_id=1320166

    I have this same problem in IBM Rational Web Developer.

    I have found that switching to the Resource perspective
    somehow allows the context menus to work correctly on the
    projects.

    This problem is particularly annoying because if we run a
    CVS comparison in the Web perspective it indicates that the
    workspace and remote code are identical when they are not.

    I recommend using the Resource perspective until it's
    resolved.

     
  • Eileen

    Eileen - 2005-12-02

    Logged In: YES
    user_id=1395241

    I also had this same exact issue when using v0.3.0 of the
    EPIC plugin.

    My Eclipse environment is:

    OS - WindowsXP SP1
    Java - 1.4.2_08
    Eclipse - Version: 3.1.0 Build id: I20050627-1435
    Other Plugins:
    - MyEclipse Enterprise Workbench 3.9.310
    - Eclipse ClearCase Integration 1.0.3

    However, I found that once I updated to the latest test
    version of the EPIC plugin (v0.3.12) the issue disappeared.

     
  • Jan Ploski

    Jan Ploski - 2006-08-07
    • status: open --> closed-out-of-date
     
  • Jan Ploski

    Jan Ploski - 2006-08-07

    Logged In: YES
    user_id=86907

    This problem seems related to an invalid class cast which
    can no longer occur as of EPIC 0.4.0. Therefore, closing as
    'Out of date'.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks