java.lang.NullPointerException

GitHub | metasim | 10 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 opening file

    GitHub | 10 months ago | metasim
    java.lang.NullPointerException
  2. 0

    null

    GitHub | 10 months ago | johnlindquist
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.vladsch.idea.multimarkdown.psi.impl.PsiImplUtil.lastNonWhiteSpaceChild()
    2. com.vladsch.idea
      ListToggleStateSelectionAction.isSelected
      1. com.vladsch.idea.multimarkdown.psi.impl.PsiImplUtil.lastNonWhiteSpaceChild(PsiImplUtil.java:243)
      2. com.vladsch.idea.multimarkdown.psi.impl.PsiImplUtil.followingBlankLine(PsiImplUtil.java:296)
      3. com.vladsch.idea.multimarkdown.psi.impl.PsiImplUtil.followingBlankLine(PsiImplUtil.java:298)
      4. com.vladsch.idea.multimarkdown.psi.impl.PsiImplUtil.followingBlankLine(PsiImplUtil.java:298)
      5. com.vladsch.idea.multimarkdown.editor.actions.handlers.ListItemContext$Companion.tightenListDeleteLines(ListItemContext.kt:667)
      6. com.vladsch.idea.multimarkdown.editor.actions.handlers.ListItemContext$Companion.canTightenList(ListItemContext.kt:584)
      7. com.vladsch.idea.multimarkdown.editor.actions.styling.ListTightAction.isSelected(ListTightAction.kt:29)
      8. com.vladsch.idea.multimarkdown.editor.actions.styling.ListToggleStateSelectionAction.isSelected(ListToggleStateSelectionAction.kt:66)
      8 frames
    3. IDEA
      ToggleAction.update
      1. com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:64)
      1 frame
    4. com.vladsch.idea
      ListToggleStateSelectionAction.update
      1. com.vladsch.idea.multimarkdown.editor.actions.styling.ListToggleStateSelectionAction.update(ListToggleStateSelectionAction.kt:80)
      1 frame
    5. IDEA
      ActionButton.addNotify
      1. com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:120)
      2. com.intellij.openapi.actionSystem.impl.ActionButton.addNotify(ActionButton.java:181)
      2 frames
    6. Java RT
      Container.add
      1. java.awt.Container.addImpl(Container.java:1121)
      2. java.awt.Container.add(Container.java:417)
      2 frames
    7. IDEA
      ActionManagerImpl$MyTimer.actionPerformed
      1. com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.fillToolBar(ActionToolbarImpl.java:308)
      2. com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:948)
      3. com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:64)
      4. com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:173)
      5. com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:191)
      6. com.intellij.openapi.wm.impl.FocusManagerImpl.flushRequest(FocusManagerImpl.java:675)
      7. com.intellij.openapi.wm.impl.FocusManagerImpl.flushNow(FocusManagerImpl.java:656)
      8. com.intellij.openapi.wm.impl.FocusManagerImpl.flushIdleRequests(FocusManagerImpl.java:626)
      9. com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:60)
      10. com.intellij.openapi.wm.impl.FocusManagerImpl$11.run(FocusManagerImpl.java:522)
      11. com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2405)
      12. com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:500)
      13. com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:108)
      14. com.intellij.openapi.actionSystem.impl.ToolbarUpdater.access$400(ToolbarUpdater.java:40)
      15. com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyTimerListener.run(ToolbarUpdater.java:163)
      16. com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:54)
      17. com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.runListenerAction(ActionManagerImpl.java:1431)
      18. com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.notifyListeners(ActionManagerImpl.java:1421)
      19. com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:1405)
      19 frames
    8. Java RT
      EventQueue.dispatchEvent
      1. javax.swing.Timer.fireActionPerformed(Timer.java:313)
      2. javax.swing.Timer$DoPostEvent.run(Timer.java:245)
      3. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      4. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      5. java.awt.EventQueue.access$500(EventQueue.java:97)
      6. java.awt.EventQueue$3.run(EventQueue.java:709)
      7. java.awt.EventQueue$3.run(EventQueue.java:703)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      10. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      10 frames
    9. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
      3 frames
    10. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames