java.lang.NullPointerException

GitHub | patflynn | 4 weeks 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

    user reported error in GCR integration

    GitHub | 4 weeks ago | patflynn
    java.lang.NullPointerException
  2. 0

    Can't select Erlang_SDK

    GitHub | 2 years ago | JeremyOuyang
    java.lang.NoClassDefFoundError: org/intellij/erlang/jps/model/JpsErlangSdkType
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java debugger expression evaluation not working

    YouTrack | 4 years ago
    java.lang.IndexOutOfBoundsException: Wrong offset: 52 textLength: 51
  5. 0

    NPE while creating a new diagram

    GitHub | 5 years ago | mlieshoff
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.google.cloud.tools.intellij.debugger.ui.CloudAttachDialog.syncOrStash()
    2. com.google.cloud
      CloudAttachDialog.doOKAction
      1. com.google.cloud.tools.intellij.debugger.ui.CloudAttachDialog.syncOrStash(CloudAttachDialog.java:415)
      2. com.google.cloud.tools.intellij.debugger.ui.CloudAttachDialog.doOKAction(CloudAttachDialog.java:175)
      2 frames
    3. IDEA
      DialogWrapper$DialogWrapperAction.actionPerformed
      1. com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1871)
      2. com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1837)
      2 frames
    4. Java RT
      DefaultKeyboardFocusManager.dispatchEvent
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      5. javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      6. javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)
      7. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
      8. javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
      9. javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)
      10. javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)
      11. javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2974)
      12. javax.swing.JComponent.processKeyBindings(JComponent.java:2966)
      13. javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
      14. java.awt.Component.processEvent(Component.java:6310)
      15. java.awt.Container.processEvent(Container.java:2236)
      16. java.awt.Component.dispatchEventImpl(Component.java:4889)
      17. java.awt.Container.dispatchEventImpl(Container.java:2294)
      18. java.awt.Component.dispatchEvent(Component.java:4711)
      19. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
      20. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
      21. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
      22. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
      23. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
      23 frames
    5. IDEA
      IdeKeyboardFocusManager.dispatchEvent
      1. com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:27)
      1 frame
    6. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.dispatchEventImpl(Component.java:4760)
      2. java.awt.Container.dispatchEventImpl(Container.java:2294)
      3. java.awt.Window.dispatchEventImpl(Window.java:2746)
      4. java.awt.Component.dispatchEvent(Component.java:4711)
      5. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      6. java.awt.EventQueue.access$500(EventQueue.java:97)
      7. java.awt.EventQueue$3.run(EventQueue.java:709)
      8. java.awt.EventQueue$3.run(EventQueue.java:703)
      9. java.security.AccessController.doPrivileged(Native Method)
      10. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      11. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      12. java.awt.EventQueue$4.run(EventQueue.java:731)
      13. java.awt.EventQueue$4.run(EventQueue.java:729)
      14. java.security.AccessController.doPrivileged(Native Method)
      15. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      16. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      16 frames
    7. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:843)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
      3 frames
    8. 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
    9. IDEA
      DialogWrapper.show
      1. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:779)
      2. com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:457)
      3. com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1693)
      4. com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1635)
      4 frames
    10. git4idea
      DialogManager.show
      1. git4idea.DialogManager.showDialog(DialogManager.java:56)
      2. git4idea.DialogManager.show(DialogManager.java:23)
      2 frames
    11. com.google.cloud
      CloudDebuggerRunner$1.start
      1. com.google.cloud.tools.intellij.debugger.CloudDebuggerRunner$1.start(CloudDebuggerRunner.java:111)
      1 frame
    12. IDEA
      XDebuggerManagerImpl.startSession
      1. com.intellij.xdebugger.impl.XDebuggerManagerImpl.startSession(XDebuggerManagerImpl.java:219)
      2. com.intellij.xdebugger.impl.XDebuggerManagerImpl.startSession(XDebuggerManagerImpl.java:181)
      2 frames
    13. com.google.cloud
      CloudDebuggerRunner.doExecute
      1. com.google.cloud.tools.intellij.debugger.CloudDebuggerRunner.createContentDescriptor(CloudDebuggerRunner.java:95)
      2. com.google.cloud.tools.intellij.debugger.CloudDebuggerRunner.doExecute(CloudDebuggerRunner.java:82)
      2 frames
    14. IDEA
      ExecutionManagerImpl$3.run
      1. com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:43)
      2. com.intellij.execution.impl.ExecutionManagerImpl.lambda$startRunProfile$3(ExecutionManagerImpl.java:384)
      3. com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:91)
      4. com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:41)
      5. com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:116)
      6. com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:126)
      7. com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:122)
      8. com.intellij.execution.impl.ExecutionManagerImpl.lambda$startRunProfile$4(ExecutionManagerImpl.java:441)
      9. com.intellij.execution.impl.ExecutionManagerImpl.compileAndRun(ExecutionManagerImpl.java:296)
      10. com.intellij.execution.impl.ExecutionManagerImpl.startRunProfile(ExecutionManagerImpl.java:441)
      11. com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:40)
      12. com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:61)
      13. com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:50)
      14. com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:118)
      15. com.intellij.execution.impl.ExecutionManagerImpl.start(ExecutionManagerImpl.java:121)
      16. com.intellij.execution.impl.ExecutionManagerImpl.access$300(ExecutionManagerImpl.java:68)
      17. com.intellij.execution.impl.ExecutionManagerImpl$3.run(ExecutionManagerImpl.java:533)
      17 frames
    15. Openapi
      QueueProcessor.runSafely
      1. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:223)
      1 frame
    16. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.util.Alarm$Request$1.run(Alarm.java:387)
      2. com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:318)
      3. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:417)
      4. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:401)
      4 frames
    17. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      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
    18. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:843)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
      3 frames
    19. 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