Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:

java.lang.NoClassDefFoundError: org/eclipse/jface/databinding/swt/SWTObservables

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.

0 votes


Accepted answer

Permanent link

 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

0 votes

Comments

I'm currently using Eclipse 2021-06 with the EWM p2 install without problems.
When I tried 2021-12, there was a defect that prevented it from working - some context menus were missing. At the time, I was told that Eclipse version was not supported by the EWM p2 client. The official support for Eclipse is documented on the deployment wiki at https://www.ibm.com/software/reports/compatibility/clarity-reports/report/html/softwareReqsForProduct?deliverableId=EDD1D170F4F011E9AB9E8E93B6B03A05&osPlatforms=Windows&duComponentIds=D004|D002|D001|D003|S005|S006&mandatoryCapIds=30|9|24|35|13|132|42|16|26|40&optionalCapIds=133|66|135|7|5|1|187|74|19|137|27|4#.

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 13 '23, 4:45 p.m.

Question was seen: 873 times

Last updated: Jun 14 '23, 4:26 a.m.

Confirmation Cancel Confirm