Community
Participate
Working Groups
Backport this to 4.3.1 +++ This bug was initially created as a clone of Bug #412927 +++ The attached plugin contributes a popup menu action which visibility depends on a property tester class that throws a NPE. Eclipse E4 (ContributionsAnalyzer.isVisible(MCoreExpression, ExpressionContext)) catches only CoreException which causes such a contribution to corrupt a context menu on Windows (on Linux, this menu isn't displayed at all). Since the isVisible method is often called, it is possible that there are some other issues that are difficult to detect/debug. Test case: - install the attached plugin - right-click some resource Attached is a patch.
Curtis, could you please review: https://git.eclipse.org/r/15784 PW
(In reply to comment #1) > Curtis, could you please review: > https://git.eclipse.org/r/15784 > > PW Not that you can also directly add a reviewer on the change.
(In reply to comment #2) > (In reply to comment #1) > > Curtis, could you please review: > > https://git.eclipse.org/r/15784 > > > > PW > > Not that you can also directly add a reviewer on the change. Note ...
http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_3_maintenance&id=bf2823b0754991d0caff660a7127abc77c1dde3a Fixed in R4_3_maintenance
Verified in build 4.3.0.M20130828-0800