Community
Participate
Working Groups
Xtext goes through all resources in ResourceSet and tries to get the IResourceDescription for every URI. If the URI describes a non Xtext-resource the result of IResourceServiceProvider resourceServiceProvider = registry.getResourceServiceProvider(uri, null); in the class org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions leads to null. So if the next step is Manager manager = resourceServiceProvider.getResourceDescriptionManager(); we have a NullPointerException. In my opinion the builder should not care about non Xtext resources. The org.eclipse.xtext.builder.impl.javasupport.JdtToBeBuiltComputer should filter out such resources.
Created attachment 155108 [details] Screenshot of the situation
Created attachment 155109 [details] Resources to be updated in builder
The builder should not throw a NPE if there is no IResourceServiceProvider available for a given URI.
This one was already fixed.
Closing bug which were set to RESOLVED before Eclipse Neon.0.