GitHub user jonl-percsolutions-com opened a pull request: https://github.com/apache/ant-ivyde/pull/7
Fix IVYDE-386 According to Eclipse documentation, IContributionItem can, in no way, be relied on to be a MenuManager and in Eclipse Oxygen, this code is causing an exception as documented in IVYDE-386, by myself. Adding this check will resolve the Exception, which is causing menu building to fail for not only Ivy, but for other plugins as well. The circumstances around why this is occurring are unknown to myself. https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fui%2Fmenus%2FCommandContributionItem.html https://issues.apache.org/jira/browse/IVYDE-386 You can merge this pull request into a Git repository by running: $ git pull https://github.com/jonl-percsolutions-com/ant-ivyde patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ant-ivyde/pull/7.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #7 ---- commit 9ccc319311e01c202193516880cec5a94d853409 Author: J L <jonl-percsolutions-com@...> Date: 2018-02-28T17:35:14Z Fix IVYDE-386 According to Eclipse documentation, IContributionItem can, in no way, be relied on to be a MenuManager and in Eclipse Oxygen, this code is causing an exception as documented in IVYDE-386, by myself. Adding this check will resolve the Exception, which is causing menu building to fail for not only Ivy, but for other plugins as well. The circumstances around why this is occurring are unknown to myself. https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fui%2Fmenus%2FCommandContributionItem.html https://issues.apache.org/jira/browse/IVYDE-386 ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org