Community
Participate
Working Groups
Build Identifier: Please export package 'components' of org.eclipse.sphinx.emf.mwe Reproducible: Always
Another thing, there is a bug with org.eclipse.sphinx.emf.mwe.components.ModelLoader#invokeInternal() method: Collection<IModelDescriptor> models = ModelDescriptorRegistry.INSTANCE.getModels(project); If we call getModels(), it'll always return empty collection. But when I run it in debug mode, it's ok --> there is some background jobs run --> we need to add this code before calling getModels(): try { // waiting for finishing some jobs Job.getJobManager().join(IExtendedPlatformConstants.FAMILY_LONG_RUNNING, new NullProgressMonitor()); } catch (Exception ex) { // Ignore exception }
Fixed as proposed in description and comment #0.
I tried the proposed solution, but still is not ok, the size of collection after "getModels()" is 0.(checked also in debug mode).
Mass-closing Resolved tickets