java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Yossi Shaul,
  • 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}
    via by Yossi Shaul,
    • 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]
    No Bugmate found.