java.lang.NullPointerException

GitHub | igmar | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NPE during parsing

    GitHub | 3 years ago | vertex-github
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error when using Parse Tree View

    GitHub | 3 years ago | nlacombe42
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.antlr.v4.semantics.SymbolChecks.checkForModeConflicts()
    2. ANTLR 4 Tool
      Tool.loadGrammar
      1. org.antlr.v4.semantics.SymbolChecks.checkForModeConflicts(SymbolChecks.java:278)
      2. org.antlr.v4.semantics.SemanticPipeline.process(SemanticPipeline.java:132)
      3. org.antlr.v4.Tool.processNonCombinedGrammar(Tool.java:399)
      4. org.antlr.v4.Tool.process(Tool.java:386)
      5. org.antlr.v4.Tool.loadGrammar(Tool.java:606)
      5 frames
    3. org.antlr.intellij
      ANTLRv4PluginController$MyFileEditorManagerAdapter.selectionChanged
      1. org.antlr.intellij.plugin.parsing.ParsingUtils.loadLexerGrammarFor(ParsingUtils.java:510)
      2. org.antlr.intellij.plugin.parsing.ParsingUtils.loadGrammars(ParsingUtils.java:447)
      3. org.antlr.intellij.plugin.ANTLRv4PluginController.updateGrammarObjectsFromFile_(ANTLRv4PluginController.java:362)
      4. org.antlr.intellij.plugin.ANTLRv4PluginController.updateGrammarObjectsFromFile(ANTLRv4PluginController.java:346)
      5. org.antlr.intellij.plugin.ANTLRv4PluginController.currentEditorFileChangedEvent(ANTLRv4PluginController.java:283)
      6. org.antlr.intellij.plugin.ANTLRv4PluginController$MyFileEditorManagerAdapter.selectionChanged(ANTLRv4PluginController.java:552)
      6 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    5. Openapi
      MessageBusImpl$2.invoke
      1. com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:117)
      2. com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:377)
      3. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:364)
      4. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:350)
      5. com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:343)
      6. com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:42)
      7. com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:226)
      7 frames
    6. com.sun.proxy
      $Proxy87.selectionChanged
      1. com.sun.proxy.$Proxy87.selectionChanged(Unknown Source)
      1 frame
    7. IDEA
      FileEditorManagerImpl.a
      1. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:1593)
      2. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$9$1.run(FileEditorManagerImpl.java:1069)
      3. com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:631)
      4. com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:615)
      5. com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:585)
      6. com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:481)
      7. com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2397)
      8. com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:461)
      9. com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:456)
      10. com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:64)
      11. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$9.run(FileEditorManagerImpl.java:1066)
      12. com.intellij.openapi.util.BusyObject$Impl$Simple.execute(BusyObject.java:123)
      13. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.notifyPublisher(FileEditorManagerImpl.java:1062)
      14. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:1593)
      15. com.intellij.openapi.fileEditor.impl.EditorsSplitters.a(EditorsSplitters.java:624)
      16. com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:633)
      17. com.intellij.openapi.fileEditor.impl.EditorWindow.setEditor(EditorWindow.java:687)
      18. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.a(FileEditorManagerImpl.java:904)
      18 frames
    8. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    9. IDEA
      IdeEventQueue.f
      1. com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:863)
      1 frame