EWM 7.0.2SR1 fails on Eclipse 2022-12 (4.26) and up due to removed SWTObservables
I have EWM 7.0.2SR1 working with Eclipse 2022-09 (4.25).
But, starting with Eclipse 2022-12 (4.26), opening the "Work Items" perspective fails. An error message appears in the "Team Artifacts" tab saying:
Failed to create the part's controls
Under the Details button, there is a backtrace that starts with:
I found a couple of related Eclipse issues.
According to the comments, SWTObservables was deprecated in 2014. I have not located the actual deprecation notice from that year, nor the announcement of the class being removed in 2022, but the ticket was closed as resolved in 2020. I guess the two-year timer expired after that.
This is someone else noticing the removal of SWTObservables as of Eclipse 2022-12.
It would be nice if someone at IBM would take it upon themselves to notice the deprecation of Eclipse interfaces and stop using them before they get removed. But I know that is a big ask, especially for an iFix. I am mostly opening this question as a reference for others who might encounter the same issue.
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Jun 14 '23, 2:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 14 '23, 2:57 a.m. Thanks for your the observation. I will close the question as there is nothing that could be done. Also, issues with installing EWM into the latest versions of Eclipse and using different Java versions are not unheard of. Ralph Schoon selected this answer as the correct answer
Comments I'm currently using Eclipse 2021-06 with the EWM p2 install without problems.
That information is in the prerequisites section. Note that there is also a limitation to the Java version to be used which will prevent using the newest Eclipse versions, that require newer Java versions. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.