java.lang.NullPointerException: null

JFrog JIRA | Yossi Shaul | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I deleted a Debian repository with 1 deb file with metadata and got the following in the log: {code} 2014-07-27 16:12:11,132 [art-exec-16] [ERROR] (o.a.s.a.AsyncAdvice :168) Could not execute async method: 'public abstract void org.artifactory.addon.debian.DebianService.artifactDeleted(org.artifactory.sapi.fs.VfsItem,org.artifactory.md.Properties)'. java.lang.NullPointerException: null at org.artifactory.addon.debian.DebianUtils.isAutomaticLayer(DebianUtils.java:53) ~[classes/:na] at org.artifactory.addon.debian.DebianServiceImpl.artifactDeleted(DebianServiceImpl.java:133) ~[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:348) ~[classes/:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:213) ~[classes/:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) ~[classes/:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:189) ~[classes/:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:146) ~[classes/:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102) [classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] 2014-07-27 16:12:11,142 [pool-2-thread-9] [INFO ] {code}

    JFrog JIRA | 3 years ago | Yossi Shaul
    java.lang.NullPointerException: null
  2. 0

    I deleted a Debian repository with 1 deb file with metadata and got the following in the log: {code} 2014-07-27 16:12:11,132 [art-exec-16] [ERROR] (o.a.s.a.AsyncAdvice :168) Could not execute async method: 'public abstract void org.artifactory.addon.debian.DebianService.artifactDeleted(org.artifactory.sapi.fs.VfsItem,org.artifactory.md.Properties)'. java.lang.NullPointerException: null at org.artifactory.addon.debian.DebianUtils.isAutomaticLayer(DebianUtils.java:53) ~[classes/:na] at org.artifactory.addon.debian.DebianServiceImpl.artifactDeleted(DebianServiceImpl.java:133) ~[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:348) ~[classes/:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:213) ~[classes/:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) ~[classes/:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:189) ~[classes/:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:146) ~[classes/:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102) [classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] 2014-07-27 16:12:11,142 [pool-2-thread-9] [INFO ] {code}

    JFrog JIRA | 3 years ago | Yossi Shaul
    java.lang.NullPointerException: null
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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

      null

      at org.artifactory.addon.debian.DebianUtils.isAutomaticLayer()
    2. org.artifactory.addon
      DebianServiceImpl.artifactDeleted
      1. org.artifactory.addon.debian.DebianUtils.isAutomaticLayer(DebianUtils.java:53)[classes/:na]
      2. org.artifactory.addon.debian.DebianServiceImpl.artifactDeleted(DebianServiceImpl.java:133)[classes/:na]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_60]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_60]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_60]
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE]
      3 frames
    5. org.artifactory.schedule
      AsyncAdvice$1.call
      1. org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:348)[classes/:na]
      2. org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:213)[classes/:na]
      3. org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56)[classes/:na]
      4. org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:189)[classes/:na]
      5. org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:146)[classes/:na]
      5 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_60]
      1 frame
    7. org.artifactory.schedule
      ArtifactoryConcurrentExecutor$RunnableWrapper.run
      1. org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102)[classes/:na]
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_60]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_60]
      3. java.lang.Thread.run(Thread.java:745)[na:1.7.0_60]
      3 frames