I'm seeing an NPE here
// No definition found, delegate the resolution to the imports
for (Import import_ : this.contribution.getImports()) {
if (import_ instanceof NamespaceImport) {
NamespaceImport namespaceImport = (NamespaceImport)import_;
if
(namespaceImport.getNamespace().equals(qname.getNamespaceURI())) {
// Delegate the resolution to the import resolver
======> resolved =
namespaceImport.getModelResolver().resolveModel(Composite.class,
(Composite)unresolved);
if (!resolved.isUnresolved()) {
return modelClass.cast(resolved);
}
}
}
}
because the result of getModelResolver() is null
I'm digging into it, but I'm learning what the code does so it's
taking me a little while. Has anyone else seen this and have an
insight as to why its happening. It's probably a config thing in my
eclipse env.
cheers, Kelvin.