I20241119-1800
Throwing an Exception here currently causes more pain then just continuing. Ideally one would rework the getter JavaProject.getResolvedClasspath() to never modify the javamodel, but it's not clear how todo that in a compatible way. https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/1742