java.lang.NullPointerException

YouTrack | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  3. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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:989)
      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
      $Proxy168.resolveTransitively
      1. com.sun.proxy.$Proxy168.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:169)
      2. com.intellij.execution.rmi.RemoteUtil.access$300(RemoteUtil.java:36)
      3. com.intellij.execution.rmi.RemoteUtil$2$1$1.compute(RemoteUtil.java:150)
      4. com.intellij.execution.rmi.RemoteUtil.executeWithClassLoader(RemoteUtil.java:226)
      5. com.intellij.execution.rmi.RemoteUtil$2$1.invoke(RemoteUtil.java:147)
      5 frames
    13. com.sun.proxy
      $Proxy168.resolveTransitively
      1. com.sun.proxy.$Proxy168.resolveTransitively(Unknown Source)
      1 frame
    14. JetBrains idea
      MavenEmbedderWrapper.resolveTransitively
      1. org.jetbrains.idea.maven.server.MavenEmbedderWrapper$8.execute(MavenEmbedderWrapper.java:163)
      2. org.jetbrains.idea.maven.server.MavenEmbedderWrapper$8.execute(MavenEmbedderWrapper.java:160)
      3. org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:89)
      4. org.jetbrains.idea.maven.server.MavenEmbedderWrapper.resolveTransitively(MavenEmbedderWrapper.java:160)
      4 frames
    15. org.jetbrains.idea
      MavenRemoteManager$3.run
      1. org.jetbrains.idea.maven.utils.library.RepositoryAttachHandler.doResolveInner(RepositoryAttachHandler.java:327)
      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$3.run(MavenRemoteManager.java:129)
      5 frames
    16. IDEA
      ApplicationImpl$2.run
      1. com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
      2. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      3. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
      4. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      6. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      7. com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
      8. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308)
      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