java.lang.NullPointerException

GitHub | NumberFourAG | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NPE when hovering over unresolved types

    GitHub | 11 months ago | NumberFourAG
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.eclipse.xtext.parser.antlr.TokenTool.getLexerRuleName()
    2. org.eclipse.xtext
      AbstractJavaBasedContentProposalProvider$DefaultProposalCreator.apply
      1. org.eclipse.xtext.parser.antlr.TokenTool.getLexerRuleName(TokenTool.java:66)
      2. org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter.getRuleName(AbstractLexerBasedConverter.java:116)
      3. org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter.assertTokens(AbstractLexerBasedConverter.java:68)
      4. org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter.assertTokens(AbstractLexerBasedConverter.java:58)
      5. org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter.toString(AbstractLexerBasedConverter.java:49)
      6. org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter.delegateToString(QualifiedNameValueConverter.java:180)
      7. org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter.toString(QualifiedNameValueConverter.java:94)
      8. org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter.toString(QualifiedNameValueConverter.java:1)
      9. org.eclipse.xtext.conversion.impl.KeywordAlternativeConverter.toString(KeywordAlternativeConverter.java:52)
      10. org.eclipse.xtext.conversion.impl.KeywordAlternativeConverter.toString(KeywordAlternativeConverter.java:1)
      11. org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider$DefaultProposalCreator.apply(AbstractJavaBasedContentProposalProvider.java:95)
      12. org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider$DefaultProposalCreator.apply(AbstractJavaBasedContentProposalProvider.java:1)
      12 frames
    3. eu.numberfour.n4js
      ImportsAwareReferenceProposalCreator.lambda$0
      1. eu.numberfour.n4js.ui.proposals.imports.ImportsAwareReferenceProposalCreator.lambda$0(ImportsAwareReferenceProposalCreator.java:104)
      1 frame