| Summary: | [ui] CCE while selecting feature for uninstall | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | p2 | Assignee: | Matthew Piggott <matthew> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | chanskw, daniel_megert, jigar71436, john.arthorne, kamenlitchev, kboyd31, Olivier_Thomann, pascal, remy.suen, StijnDeWitt, tjwatson | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | Juno M1 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 348986 | ||||||
| Attachments: |
|
||||||
|
Description
Stephan Herrmann
Created attachment 197727 [details]
ResolutionStatusPage
I'm not sure what has caused this to be a problem for 3.7 it has barely been touched since 3.6.2.
In any case, I've attached a patch which includes a fix and modifies a test (well several to move a method into a super class) to catch this.
Released into head & 3.7 maintenance *** Bug 349352 has been marked as a duplicate of this bug. *** *** Bug 350107 has been marked as a duplicate of this bug. *** *** Bug 351387 has been marked as a duplicate of this bug. *** *** Bug 354235 has been marked as a duplicate of this bug. *** *** Bug 365365 has been marked as a duplicate of this bug. *** REGRESSION: I am seeing this issue again in Eclipse Indigo Service Release 1: VERSION: Version: 3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK Build id: M20110909-1335 MESSAGE: 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 DETAILS FROM LOG: java.lang.ClassCastException: org.eclipse.equinox.internal.p2.ui.model.InstalledIUElement cannot be cast to org.eclipse.equinox.internal.p2.ui.model.AvailableIUElement at org.eclipse.equinox.internal.p2.ui.dialogs.ResolutionStatusPage.setDetailText(ResolutionStatusPage.java:139) at org.eclipse.equinox.internal.p2.ui.dialogs.ResolutionResultsWizardPage$1$1.selectionChanged(ResolutionResultsWizardPage.java:124) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162) ... at org.eclipse.equinox.launcher.Main.run(Main.java:1410) We had problems tagging for the build and the fix did not make it into the 3.7.1 build. I'm not sure if a 3.7.2 build is planned, but the fix does is in the 4.2 and 3.8 builds. The 'Version' field on this bug still states '3.7' however. I am assuming that field indicates the version of the software the bug is fixed in? If it is indeed only fixed in 3.8 it may help to set that field to that value. (In reply to comment #10) > The 'Version' field on this bug still states '3.7' however. > > I am assuming that field indicates the version of the software the bug is fixed > in? If it is indeed only fixed in 3.8 it may help to set that field to that > value. No, it means the bug was found in that version. It may be in an older version too, but at least someone has found it in that version anyway. |