Project: Eclipse_Platform_UI
Bug 131692 [Contributions] ContributionManager.insertAfter throws unhelpful IllegalArgumentException
Reported: 2006-03-14 08:13:34 | Status: resolved fixed

look at insertBefore and you see this line throw new IllegalArgumentException("can't find ID " + ID);//$NON-NLS-1$ but in insertAfter it looks like this throw new IllegalArgumentException("can't find ID");//$NON-NLS-1$ NOTE: in the second example it doesn't tell you what the ID is. My "patch" is to make insertAfter behave like insertBefore

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ContributionManager.java