java.lang.NullPointerException

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

    AssertionError when trying to resolve conflict in submodule

    YouTrack | 5 years ago
    java.lang.AssertionError: The conflict not found for the file: /path/to/submodule/with/conflict(.)
  2. 0

    Failed to create play 2 project in IDEA 12.1.2

    YouTrack | 4 years ago
    com.intellij.openapi.util.InvalidDataException: Cannot create module
  3. 0

    Open in browser action throws exception

    YouTrack | 6 years ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.android.tools.idea.actions.NewAndroidComponentAction.actionPerformed()
    2. com.android.tools
      NewAndroidComponentAction.actionPerformed
      1. com.android.tools.idea.actions.NewAndroidComponentAction.actionPerformed(NewAndroidComponentAction.java:134)
      1 frame
    3. IDEA
      ActionMenuItem$ActionTransmitter.actionPerformed
      1. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:191)
      2. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:312)
      3. com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
      4. com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
      5. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:282)
      5 frames
    4. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      1 frame
    5. IDEA
      BegMenuItemUI$MyMouseInputHandler.mouseReleased
      1. com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:110)
      2. com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:513)
      3. com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)
      4. com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)
      4 frames
    6. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processMouseEvent(Component.java:6533)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      3. java.awt.Component.processEvent(Component.java:6298)
      4. java.awt.Container.processEvent(Container.java:2236)
      5. java.awt.Component.dispatchEventImpl(Component.java:4889)
      6. java.awt.Container.dispatchEventImpl(Container.java:2294)
      7. java.awt.Component.dispatchEvent(Component.java:4711)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      11. java.awt.Container.dispatchEventImpl(Container.java:2280)
      12. java.awt.Window.dispatchEventImpl(Window.java:2746)
      13. java.awt.Component.dispatchEvent(Component.java:4711)
      14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      15. java.awt.EventQueue.access$500(EventQueue.java:97)
      16. java.awt.EventQueue$3.run(EventQueue.java:709)
      17. java.awt.EventQueue$3.run(EventQueue.java:703)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      20. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      21. java.awt.EventQueue$4.run(EventQueue.java:731)
      22. java.awt.EventQueue$4.run(EventQueue.java:729)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      25 frames
    7. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
      3 frames
    8. 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