Community
Participate
Working Groups
Created attachment 178721 [details] stacktrace See attached stacktrace.
Created attachment 178722 [details] project to reproduce the error To reproduce: - Import project Bug325085 from the attached zip - Do "Navigate > Open EPackage", and select the genmodel metamodel for example - Apply the "My" facet - Expand an EClass, and click on the "/firstChar" attribute You should get the NPE.
Created attachment 178723 [details] patch Here is a patch that trivially fixes the NPE.
The problem is due to the fact that I set just "my" as the nsURI of the FacetSet in my example. So, the nsURI doesn't have a scheme. I think this patch can be applied for RC4, since it's trivial and the NPE can easily happen if the user wasn't careful to set a correctly formed nsURI on his FacetSets.
I applied the patch to branch 0.8 in revision 3023.
The patch has been successfully applied.