Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 287787 - Discover manager menu broken by invalid discoverers
Summary: Discover manager menu broken by invalid discoverers
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Gabriel BARBIER CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 03:27 EDT by Gregoire Dupe CLA
Modified: 2010-09-22 09:45 EDT (History)
3 users (show)

See Also:


Attachments
Path fixing bug into DiscovererHandler.isApplicableTo() (1.36 KB, patch)
2009-08-27 03:27 EDT, Gregoire Dupe CLA
barbier.gabriel: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gregoire Dupe CLA 2009-08-27 03:27:56 EDT
Created attachment 145755 [details]
Path fixing bug into DiscovererHandler.isApplicableTo()

Hello,

Since the last modification (25/08/09 11:42) of the discover manager. The MoDisco menu initialisation fails because some invalid discoverers cause an error in org.eclipse.gmt.modisco.discoverersmanager.handlers.DiscovererHandler.isApplicableTo().

!ENTRY org.eclipse.ui.workbench 4 0 2009-08-26 13:59:36.897
!MESSAGE An unexpected exception was thrown.
!STACK 0
java.lang.AbstractMethodError
        at org.eclipse.gmt.modisco.discoverersmanager.handlers.DiscovererHandler.isApplicableTo(DiscovererHandler.java:41)
        at org.eclipse.gmt.modisco.discoverersmanager.ui.actions.ContributionItemForMoDiscoMenu.fill(ContributionItemForMoDiscoMenu.java:85)
        at org.eclipse.ui.internal.menus.DynamicMenuContributionItem.fill(DynamicMenuContributionItem.java:125)
        at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:737)
[...]

To prevent this problem, it could be interesting to apply the attached patch (org.eclipse.gmt.modisco.discoverersmanager-20090826-1416.patch.txt).

Regards,

Grégoire Dupé
Comment 1 Gabriel BARBIER CLA 2009-08-27 04:47:11 EDT
Thanks Gregoire,

Bug fixed : the patch has been applied and correction is available in head of plugin org.eclipse.gmt.modisco.discoverersmanager

Regards,
Gabriel
Comment 2 Hugo Bruneliere CLA 2009-09-10 04:49:50 EDT
Issue solved and solution committed.