java.lang.NullPointerException

GitHub | GlennVM | 12 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Argument 0 for @NotNull parameter of com/intellij/util/xml/XmlName.<init> must not be null

    YouTrack | 7 years ago
    java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/util/xml/XmlName.<init> must not be null
  2. 0

    This version of the rendering library is more recent than your version of IntelliJ IDEA

    YouTrack | 2 years ago
    org.jetbrains.android.uipreview.RenderingException: This version of the rendering library is more recent than your version of IntelliJ IDEA. Please update IntelliJ IDEA
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Failed to load the LayoutLib: com/android/layoutlib/bridge/Bridge : Unsupported major.minor version 52.0

    Stack Overflow | 10 months ago | l l l l l lee
    org.jetbrains.android.uipreview.RenderingException: Failed to load the LayoutLib: com/android/layoutlib/bridge/Bridge : Unsupported major.minor version 52.0

    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.intellij.openapi.util.io.FileUtilRt.toSystemIndependentName()
    2. Openapi
      FileUtil.toSystemIndependentName
      1. com.intellij.openapi.util.io.FileUtilRt.toSystemIndependentName(FileUtilRt.java:207)
      2. com.intellij.openapi.util.io.FileUtil.toSystemIndependentName(FileUtil.java:634)
      2 frames
    3. org.jetbrains.android
      AndroidTargetData$1.run
      1. org.jetbrains.android.sdk.AndroidTargetData$1.run(AndroidTargetData.java:99)
      1 frame
    4. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:867)
      1 frame
    5. org.jetbrains.android
      SystemResourceManager.getAttributeDefinitions
      1. org.jetbrains.android.sdk.AndroidTargetData.getAllAttrDefs(AndroidTargetData.java:96)
      2. org.jetbrains.android.sdk.AndroidTargetData.getPublicAttrDefs(AndroidTargetData.java:86)
      3. org.jetbrains.android.resourceManagers.SystemResourceManager.getAttributeDefinitions(SystemResourceManager.java:89)
      3 frames
    6. JetBrains android
      AndroidDomExtender.registerExtensions
      1. org.jetbrains.android.dom.AndroidDomExtender.registerExtensionsForManifest(AndroidDomExtender.java:579)
      2. org.jetbrains.android.dom.AndroidDomExtender.processAttrsAndSubtags(AndroidDomExtender.java:627)
      3. org.jetbrains.android.dom.AndroidDomExtender.registerExtensions(AndroidDomExtender.java:836)
      4. org.jetbrains.android.dom.AndroidDomExtender.registerExtensions(AndroidDomExtender.java:75)
      4 frames
    7. IDEA
      DomInvocationHandler.invoke
      1. com.intellij.util.xml.reflect.DomExtenderEP.extend(DomExtenderEP.java:62)
      2. com.intellij.util.xml.impl.DynamicGenericInfo.runDomExtenders(DynamicGenericInfo.java:164)
      3. com.intellij.util.xml.impl.DynamicGenericInfo.access$000(DynamicGenericInfo.java:49)
      4. com.intellij.util.xml.impl.DynamicGenericInfo$1.compute(DynamicGenericInfo.java:84)
      5. com.intellij.util.xml.impl.DynamicGenericInfo$1.compute(DynamicGenericInfo.java:81)
      6. com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112)
      7. com.intellij.util.xml.impl.DynamicGenericInfo.checkInitialized(DynamicGenericInfo.java:81)
      8. com.intellij.util.xml.impl.DynamicGenericInfo.getFixedChildrenDescriptions(DynamicGenericInfo.java:220)
      9. com.intellij.util.xml.impl.DomSemContributor$3.fun(DomSemContributor.java:102)
      10. com.intellij.util.xml.impl.DomSemContributor$3.fun(DomSemContributor.java:91)
      11. com.intellij.semantic.SemServiceImpl$6$1.fun(SemServiceImpl.java:129)
      12. com.intellij.semantic.SemServiceImpl$6$1.fun(SemServiceImpl.java:125)
      13. com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:216)
      14. com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:186)
      15. com.intellij.semantic.SemService.getSemElement(SemService.java:37)
      16. com.intellij.util.xml.impl.DomInvocationHandler.getFixedChild(DomInvocationHandler.java:644)
      17. com.intellij.util.xml.impl.GetFixedChildInvocation.invoke(GetFixedChildInvocation.java:32)
      18. com.intellij.util.xml.impl.DomInvocationHandler.invoke(DomInvocationHandler.java:689)
      18 frames
    8. org.jetbrains.android
      Manifest$$EnhancerByCGLIB$$fe91717a.getApplication
      1. org.jetbrains.android.dom.manifest.Manifest$$EnhancerByCGLIB$$fe91717a.getApplication(<generated>)
      1 frame
    9. com.android.tools
      ManifestInfo$4.compute
      1. com.android.tools.idea.model.ManifestInfo$4.compute(ManifestInfo.java:350)
      2. com.android.tools.idea.model.ManifestInfo$4.compute(ManifestInfo.java:344)
      2 frames
    10. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:884)
      1 frame
    11. com.android.tools
      DefaultActivityLocator$1.compute
      1. com.android.tools.idea.model.ManifestInfo.getApplicationComponents(ManifestInfo.java:344)
      2. com.android.tools.idea.model.ManifestInfo.getActivities(ManifestInfo.java:308)
      3. com.android.tools.idea.run.activity.DefaultActivityLocator$1.compute(DefaultActivityLocator.java:71)
      4. com.android.tools.idea.run.activity.DefaultActivityLocator$1.compute(DefaultActivityLocator.java:68)
      4 frames
    12. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:884)
      1 frame
    13. com.android.tools
      AndroidRunConfigurationBase.checkConfiguration
      1. com.android.tools.idea.run.activity.DefaultActivityLocator.computeDefaultActivity(DefaultActivityLocator.java:68)
      2. com.android.tools.idea.run.activity.DefaultActivityLocator.validate(DefaultActivityLocator.java:56)
      3. com.android.tools.idea.run.editor.DefaultActivityLaunch$State.checkConfiguration(DefaultActivityLaunch.java:47)
      4. com.android.tools.idea.run.AndroidRunConfiguration.checkConfiguration(AndroidRunConfiguration.java:94)
      5. com.android.tools.idea.run.AndroidRunConfigurationBase.validate(AndroidRunConfigurationBase.java:144)
      6. com.android.tools.idea.run.AndroidRunConfigurationBase.checkConfiguration(AndroidRunConfigurationBase.java:87)
      6 frames
    14. IDEA
      ExecutionManagerImpl$5.run
      1. com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.checkSettings(RunnerAndConfigurationSettingsImpl.java:417)
      2. com.intellij.execution.impl.RunManagerImpl.canRunConfiguration(RunManagerImpl.java:536)
      3. com.intellij.execution.impl.RunManagerImpl.canRunConfiguration(RunManagerImpl.java:531)
      4. com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:65)
      5. com.intellij.execution.impl.ExecutionManagerImpl.start(ExecutionManagerImpl.java:396)
      6. com.intellij.execution.impl.ExecutionManagerImpl.access$400(ExecutionManagerImpl.java:61)
      7. com.intellij.execution.impl.ExecutionManagerImpl$5.run(ExecutionManagerImpl.java:384)
      7 frames
    15. Openapi
      QueueProcessor.runSafely
      1. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
      1 frame
    16. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.util.Alarm$Request$1.run(Alarm.java:351)
      2. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
      2 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:734)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
      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