java.lang.NullPointerException

GitHub | GoogleCodeExporter | 2 years 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 in new bash file dialog

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.NullPointerException
  2. 0

    ListCellRenderer, JTextField and text selection

    Oracle Community | 1 decade ago | 843805
    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 javax.swing.text.JTextComponent.getSelectionEnd()
    2. Java RT
      JTextComponent.setSelectionStart
      1. javax.swing.text.JTextComponent.getSelectionEnd(JTextComponent.java:1803)
      2. javax.swing.text.JTextComponent.setSelectionStart(JTextComponent.java:1792)
      2 frames
    3. IDEA
      DialogWrapperPeerImpl$MyDialog$MyWindowListener$2.run
      1. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.setupSelectionOnPreferredComponent(DialogWrapperPeerImpl.java:1182)
      2. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.access$1800(DialogWrapperPeerImpl.java:67)
      3. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog$MyWindowListener$2.run(DialogWrapperPeerImpl.java:1002)
      3 frames
    4. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
      3. java.awt.EventQueue.access$400(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:697)
      5. java.awt.EventQueue$3.run(EventQueue.java:691)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
      8 frames
    5. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
      3 frames
    6. Java RT
      Dialog.show
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
      4. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
      5. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
      6. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
      9. java.awt.Dialog.show(Dialog.java:1084)
      9 frames
    7. IDEA
      Messages.showInputDialog
      1. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:787)
      2. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:463)
      3. com.intellij.openapi.ui.DialogWrapper.showAndGetOk(DialogWrapper.java:1557)
      4. com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1524)
      5. com.intellij.openapi.ui.Messages$MessageDialog.show(Messages.java:1419)
      6. com.intellij.openapi.ui.Messages.showInputDialog(Messages.java:924)
      6 frames
    8. com.ansorgit.plugins
      NewBashActionBase.invokeDialog
      1. com.ansorgit.plugins.bash.actions.NewBashActionBase.invokeDialog(NewBashActionBase.java:61)
      1 frame
    9. IDEA
      ActionMenuItem$ActionTransmitter.actionPerformed
      1. com.intellij.ide.actions.CreateElementActionBase.actionPerformed(CreateElementActionBase.java:77)
      2. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164)
      3. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:266)
      4. com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:926)
      5. com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
      6. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:236)
      6 frames
    10. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      1 frame
    11. IDEA
      BegMenuItemUI$MyMouseInputHandler.mouseReleased
      1. com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:105)
      2. com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512)
      3. com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
      4. com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
      4 frames
    12. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processMouseEvent(Component.java:6525)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      3. java.awt.Component.processEvent(Component.java:6290)
      4. java.awt.Container.processEvent(Container.java:2234)
      5. java.awt.Component.dispatchEventImpl(Component.java:4881)
      6. java.awt.Container.dispatchEventImpl(Container.java:2292)
      7. java.awt.Component.dispatchEvent(Component.java:4703)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
      11. java.awt.Container.dispatchEventImpl(Container.java:2278)
      12. java.awt.Window.dispatchEventImpl(Window.java:2739)
      13. java.awt.Component.dispatchEvent(Component.java:4703)
      14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
      15. java.awt.EventQueue.access$400(EventQueue.java:97)
      16. java.awt.EventQueue$3.run(EventQueue.java:697)
      17. java.awt.EventQueue$3.run(EventQueue.java:691)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      20. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
      21. java.awt.EventQueue$4.run(EventQueue.java:719)
      22. java.awt.EventQueue$4.run(EventQueue.java:717)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
      25 frames
    13. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
      3 frames
    14. 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