java.lang.NullPointerException: null

JFrog JIRA | Yossi Shaul | 2 years ago
  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 | 2 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 | 2 years ago | Yossi Shaul
    java.lang.NullPointerException: null
  3. 0
    Elasticsearch 1.x and 2.x nodes are not compatible, make sure your setup contains nodes of the same major version.
    via GitHub by dakrone
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    It is a JDK bug, no workaround currently.
    via GitHub by jroper
  6. 0
    Some of the parametes ar enull

    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