Closed kwin closed 2 weeks ago
@kwin Are you planning to provide a fix for this in debug also?
@SarikaSinha I did already in the linked PR: https://github.com/eclipse-jdt/eclipse.jdt.debug/pull/360
@SarikaSinha Can you have a look at the attached PR?
The key issue is that ResourcesPlugin.getWorkspace() is called during bundle start of the jdt.internal.launching.LaunchingPlugin
https://github.com/eclipse-jdt/eclipse.jdt.debug/blob/1515a46e6ab94ec2947e9cfd346bec785b1520ef/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/LaunchingPlugin.java#L561
I see exceptions like these
This happens with org.eclipse.jdt.launching 3.21.0.v20231103-0759.
Due to the fact that this is a race condition (and depends on the bundle loading order) I could not reproduce it with OOTB Eclipse, but once I install https://sling.apache.org/documentation/development/ide-tooling.html from https://nightlies.apache.org/sling/eclipse/
A similar issue was reported (and fixed) for platform: https://github.com/eclipse-platform/eclipse.platform/issues/748