|
|
|
|
|
Re: Broken popup menu with compatibility layer [message #1359957 is a reply to message #1359870] |
Fri, 16 May 2014 11:39  |
Eclipse User |
|
|
|
Best is to file a bug
Tom
On 16.05.14 16:48, Karl Puperze wrote:
> I did a little debugging! The dynamic menu contribution has a visible
> when condition. The PopupMenuExtender tries to fill this menu
> contribution before the visible when condition gets evaluated. In this
> case the implementing class is expecting something different and
> therefore throws a NullPointerException. In eclipse 3.x it was handled
> differently. The visible when condition was evaluated first and in this
> case the getContributionItems method was never called and never threw an
> exception. Is the new handling implemented on purpose or is it a bug?
> When handling changed I need to review all my dynamic menu contribution
> implementations and make them more failsafe.
|
|
|
Powered by
FUDForum. Page generated in 0.05169 seconds