java.lang.NullPointerException

jetbrains.com | 6 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

    IntelliJ IDEA 13.1 Released! | IntelliJ IDEA Blog

    jetbrains.com | 11 months ago
    java.lang.NullPointerException
  2. 0

    IntelliJ IDEA 13.1 Released! | IntelliJ IDEA Blog

    jetbrains.com | 6 months ago
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.android.tools.idea.gradle.project.GradleBuildFileUpdater.rootsChanged()
    2. com.android.tools
      GradleBuildFileUpdater.rootsChanged
      1. com.android.tools.idea.gradle.project.GradleBuildFileUpdater.rootsChanged(GradleBuildFileUpdater.java:250)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Openapi
      MessageBusImpl$1.invoke
      1. com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114)
      2. com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
      3. com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:234)
      4. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
      5. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:216)
      6. com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
      7. com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
      8. com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
      8 frames
    5. com.sun.proxy
      $Proxy74.rootsChanged
      1. com.sun.proxy.$Proxy74.rootsChanged(Unknown Source)
      1 frame
    6. IDEA
      ProjectRootManagerImpl$LibraryTableMultilistener.beforeLibraryRemoved
      1. com.intellij.openapi.roots.impl.ProjectRootManagerComponent.fireRootsChangedEvent(ProjectRootManagerComponent.java:233)
      2. com.intellij.openapi.roots.impl.ProjectRootManagerImpl.b(ProjectRootManagerImpl.java:427)
      3. com.intellij.openapi.roots.impl.ProjectRootManagerImpl.access$100(ProjectRootManagerImpl.java:56)
      4. com.intellij.openapi.roots.impl.ProjectRootManagerImpl$BatchSession.a(ProjectRootManagerImpl.java:108)
      5. com.intellij.openapi.roots.impl.ProjectRootManagerImpl$BatchSession.rootsChanged(ProjectRootManagerImpl.java:121)
      6. com.intellij.openapi.roots.impl.ProjectRootManagerImpl.mergeRootsChangesDuring(ProjectRootManagerImpl.java:334)
      7. com.intellij.openapi.roots.impl.ProjectRootManagerImpl$LibraryTableMultilistener.beforeLibraryRemoved(ProjectRootManagerImpl.java:555)
      7 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. IDEA
      EventDispatcher$1.invoke
      1. com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:90)
      2. com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
      3. com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:67)
      3 frames
    9. com.sun.proxy
      $Proxy35.beforeLibraryRemoved
      1. com.sun.proxy.$Proxy35.beforeLibraryRemoved(Unknown Source)
      1 frame
    10. IDEA
      LibraryTableBase$LibraryModel.commit
      1. com.intellij.openapi.roots.impl.libraries.LibraryTableBase.b(LibraryTableBase.java:123)
      2. com.intellij.openapi.roots.impl.libraries.LibraryTableBase.a(LibraryTableBase.java:167)
      3. com.intellij.openapi.roots.impl.libraries.LibraryTableBase.access$300(LibraryTableBase.java:38)
      4. com.intellij.openapi.roots.impl.libraries.LibraryTableBase$LibraryModel.commit(LibraryTableBase.java:213)
      4 frames
    11. com.android.tools
      GradleProjectImporter$3.execute
      1. com.android.tools.idea.gradle.project.GradleProjectImporter$3.execute(GradleProjectImporter.java:260)
      1 frame
    12. IDEA
      ExternalSystemApiUtil.executeProjectChangeAction
      1. com.intellij.openapi.externalSystem.util.DisposeAwareProjectChange.run(DisposeAwareProjectChange.java:36)
      2. com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5$1.run(ExternalSystemApiUtil.java:364)
      3. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984)
      4. com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil$5.run(ExternalSystemApiUtil.java:361)
      5. com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.executeOnEdt(ExternalSystemApiUtil.java:374)
      6. com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil.executeProjectChangeAction(ExternalSystemApiUtil.java:359)
      6 frames
    13. com.android.tools
      AndroidGradleProjectComponent.projectOpened
      1. com.android.tools.idea.gradle.project.GradleProjectImporter.resetProject(GradleProjectImporter.java:249)
      2. com.android.tools.idea.gradle.project.GradleProjectImporter.reImportProject(GradleProjectImporter.java:217)
      3. com.android.tools.idea.gradle.project.GradleProjectImporter.reImportProject(GradleProjectImporter.java:199)
      4. com.android.tools.idea.gradle.project.AndroidGradleProjectComponent.configureGradleProject(AndroidGradleProjectComponent.java:157)
      5. com.android.tools.idea.gradle.project.AndroidGradleProjectComponent.projectOpened(AndroidGradleProjectComponent.java:109)
      5 frames
    14. IDEA
      RecentProjectsManagerBase$MyAppLifecycleListener.appStarting
      1. com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:412)
      2. com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:74)
      3. com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:447)
      4. com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectOpened(ProjectManagerImpl.java:159)
      5. com.intellij.openapi.project.impl.ProjectManagerImpl.e(ProjectManagerImpl.java:1057)
      6. com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:422)
      7. com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:513)
      8. com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:181)
      9. com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsManager.java:45)
      10. com.intellij.ide.RecentProjectsManagerBase.doReopenLastProject(RecentProjectsManagerBase.java:345)
      11. com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:370)
      11 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    16. Openapi
      MessageBusImpl$1.invoke
      1. com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114)
      2. com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
      3. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
      4. com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
      5. com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
      6. com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
      6 frames
    17. com.sun.proxy
      $Proxy36.appStarting
      1. com.sun.proxy.$Proxy36.appStarting(Unknown Source)
      1 frame
    18. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.idea.IdeaApplication.c(IdeaApplication.java:284)
      2. com.intellij.idea.IdeaApplication.access$500(IdeaApplication.java:56)
      3. com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:261)
      4. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319)
      4 frames
    19. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      3. java.awt.EventQueue.access$200(EventQueue.java:103)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:692)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      8 frames
    20. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
      3 frames
    21. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      6 frames