java.lang.NullPointerException

YouTrack | 1 year ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: 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 org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolve()
    2. Aether :: Implementation
      DefaultMetadataResolver.resolveMetadata
      1. org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:279)
      2. org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:173)
      2 frames
    3. Maven Aether Provider
      DefaultVersionResolver.resolveVersion
      1. org.apache.maven.repository.internal.DefaultVersionResolver.resolveVersion(DefaultVersionResolver.java:225)
      1 frame
    4. Aether :: Implementation
      DefaultRepositorySystem.resolveArtifact
      1. org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:272)
      2. org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
      3. org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
      4. org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
      4 frames
    5. Maven
      MavenMetadataSource.retrieve
      1. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:285)
      2. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:267)
      3. org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:579)
      4. org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:192)
      4 frames
    6. Maven Compat
      DefaultLegacyArtifactCollector.collect
      1. org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:532)
      2. org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:144)
      2 frames
    7. org.jetbrains.idea
      CustomMaven3ArtifactResolver.resolveTransitively
      1. org.jetbrains.idea.maven.server.embedder.CustomMaven3ArtifactResolver.resolve(CustomMaven3ArtifactResolver.java:458)
      2. org.jetbrains.idea.maven.server.embedder.CustomMaven3ArtifactResolver.resolveWithExceptions(CustomMaven3ArtifactResolver.java:313)
      3. org.jetbrains.idea.maven.server.embedder.CustomMaven3ArtifactResolver.resolveTransitively(CustomMaven3ArtifactResolver.java:307)
      4. org.jetbrains.idea.maven.server.embedder.CustomMaven3ArtifactResolver.resolveTransitively(CustomMaven3ArtifactResolver.java:286)
      5. org.jetbrains.idea.maven.server.embedder.CustomMaven3ArtifactResolver.resolveTransitively(CustomMaven3ArtifactResolver.java:264)
      6. org.jetbrains.idea.maven.server.embedder.CustomMaven3ArtifactResolver.resolveTransitively(CustomMaven3ArtifactResolver.java:257)
      6 frames
    8. JetBrains idea
      Maven30ServerEmbedderImpl.resolveTransitively
      1. org.jetbrains.idea.maven.server.Maven30ServerEmbedderImpl.resolveTransitively(Maven30ServerEmbedderImpl.java:963)
      1 frame
    9. Java RT
      RemoteObjectInvocationHandler.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
      6. sun.rmi.transport.Transport$1.run(Transport.java:200)
      7. sun.rmi.transport.Transport$1.run(Transport.java:197)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      10. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      11. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      12. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
      13. java.security.AccessController.doPrivileged(Native Method)
      14. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      15. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      16. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      17. java.lang.Thread.run(Thread.java:745)
      18. sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
      19. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
      20. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
      21. java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
      22. java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
      22 frames
    10. com.sun.proxy
      $Proxy195.resolveTransitively
      1. com.sun.proxy.$Proxy195.resolveTransitively(Unknown Source)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    12. IDEA
      RemoteUtil$2$1.invoke
      1. com.intellij.execution.rmi.RemoteUtil.invokeRemote(RemoteUtil.java:124)
      2. com.intellij.execution.rmi.RemoteUtil.access$100(RemoteUtil.java:36)
      3. com.intellij.execution.rmi.RemoteUtil$2$1$1.compute(RemoteUtil.java:105)
      4. com.intellij.execution.rmi.RemoteUtil.executeWithClassLoader(RemoteUtil.java:181)
      5. com.intellij.execution.rmi.RemoteUtil$2$1.invoke(RemoteUtil.java:102)
      5 frames
    13. com.sun.proxy
      $Proxy195.resolveTransitively
      1. com.sun.proxy.$Proxy195.resolveTransitively(Unknown Source)
      1 frame
    14. JetBrains idea
      MavenEmbedderWrapper.resolveTransitively
      1. org.jetbrains.idea.maven.server.MavenEmbedderWrapper$8.execute(MavenEmbedderWrapper.java:168)
      2. org.jetbrains.idea.maven.server.MavenEmbedderWrapper$8.execute(MavenEmbedderWrapper.java:165)
      3. org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:89)
      4. org.jetbrains.idea.maven.server.MavenEmbedderWrapper.resolveTransitively(MavenEmbedderWrapper.java:165)
      4 frames
    15. org.jetbrains.idea
      MavenRemoteManager$4.run
      1. org.jetbrains.idea.maven.utils.library.RepositoryAttachHandler.doResolveInner(RepositoryAttachHandler.java:342)
      2. org.jetbrains.idea.maven.utils.library.RepositoryAttachHandler.resolveAndDownloadImpl(RepositoryAttachHandler.java:144)
      3. org.jetbrains.idea.maven.utils.library.remote.MavenDependenciesRemoteManager.execute(MavenDependenciesRemoteManager.java:79)
      4. org.jetbrains.idea.maven.utils.library.remote.MavenDependenciesRemoteManager.execute(MavenDependenciesRemoteManager.java:31)
      5. org.jetbrains.idea.maven.utils.library.remote.MavenRemoteManager$4.run(MavenRemoteManager.java:134)
      5 frames
    16. IDEA
      ApplicationImpl$8.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
      8. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
      8 frames
    17. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames