Community
Participate
Working Groups
Build Identifier: 20110301-1815 According to the contract of org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.getUnresolvedProxyMessage(ILinkingDiagnosticContext) it can return a null pointer. That null then propagates to org.eclipse.xtext.linking.lazy.LazyLinkingResource.getDiagnosticList(DiagnosticMessage) and causes an NPE. By default, Xtext doesn't run into this but it is a problem when the ILinkingDiagnosticMessageProvider is replaced. Reproducible: Always
Currently, my workaround is to inject a modified LazyLinkingResource with: @Override protected List<Diagnostic> getDiagnosticList(DiagnosticMessage message) throws AssertionError { if (message != null) { return super.getDiagnosticList(message); } return ImmutableList.of (); }
FIx pushed to MASTER.
Closing all bugs that were set to RESOLVED before Neon.0