Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350107

Summary: Exception thrown while Uninstalling Plugin
Product: [Eclipse Project] Equinox Reporter: Kris <kboyd31>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Kris CLA 2011-06-22 19:48:25 EDT
Build Identifier: 20110615-0604

Went to remove a plugin I had installed (didn't matter which plugin in my testing) and when hitting the "Uninstall..." feature from "Installed Software", I get the following exception in the Uninstall Details dialog when clicking on an item in the "items to be uninstalled" list:

An error has occurred. See error log for more details.
org.eclipse.equinox.internal.p2.ui.model.InstalledIUElement cannot be cast to org.eclipse.equinox.internal.p2.ui.model.AvailableIUElement

It prevents you from clicking on the "Next..." button at the bottom and it also prevents you from seeing Details about the plugin.

Reproducible: Always

Steps to Reproduce:
1.Help --> Install New Software... --> "already installed" -->  Eclipse Installation Details --> Installed Software
2.Select a plugin to uninstall, click "Uninstall..."
3.Click on the plugin in the "items to be uninstalled" list, exception occurs.
Comment 1 DJ Houghton CLA 2011-06-23 08:13:42 EDT

*** This bug has been marked as a duplicate of bug 348941 ***