Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context menu does not open sometimes because of a NPE #18

Open
GoogleCodeExporter opened this issue May 2, 2015 · 2 comments
Open

Context menu does not open sometimes because of a NPE #18

GoogleCodeExporter opened this issue May 2, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I am using 1.3.0 on windows.

I want to open the context menu with a right click on some items in the view no 
context menu appears (sometimes)

I get the following stack trace:

java.lang.NullPointerException
    at com.eclipserunner.views.impl.RunnerViewSelection.canBeOpened(RunnerViewSelection.java:95)
    at com.eclipserunner.views.impl.RunnerView.setupActionEnablement(RunnerView.java:350)
    at com.eclipserunner.views.impl.RunnerView.menuAboutToShow(RunnerView.java:305)
    at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:342)
    at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:473)
    at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:469)
    at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495)
...


I attached a patch that should solve the problem....

Michael


Original issue reported on code.google.com by [email protected] on 11 Oct 2012 at 9:45

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant