Community
Participate
Working Groups
Created attachment 202232 [details] Proposed patch to fix the issue. The code for isEnabled() for these two occurrences of ManageProvidedInterfacesHandler is incorrect and can lead to ClassCastExceptions. Indeed, the code first checks if the selection is instanceOf Port, but even if it is not, it then goes on casting to Port anyway a few line after, instead of returning false right away. See attached patch for proposed fix.
(1) I, Alain LE GUENNEC, wrote 100% of the code I've provided. (2) This code contains no cryptography (3) I have the right to contribute the code to Eclipse. (4) I contribute the content under the EPL.
Applied in r5316 - r5317 - r5318 (trunk & 0.8.1)