java.lang.NullPointerException

Atlassian JIRA | James Dumay [Atlassian] | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    http://tardigrade.syd.atlassian.com:8085/bamboo/browse/BAM-FC-10239 {code} 2013-07-26 00:51:13,278 WARN [QuartzScheduler_Worker-4] [BuildExpiryBean] Unable to expire BAM-FC-10239 java.lang.NullPointerException at com.atlassian.bamboo.build.artifact.DefaultArtifactLink.isSharedArtifact(DefaultArtifactLink.java:203) at com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates$ArtifactLinkIsSharedArtifactPredicate.apply(ArtifactLinkPredicates.java:89) at com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates$ArtifactLinkIsSharedArtifactPredicate.apply(ArtifactLinkPredicates.java:83) at com.google.common.base.Predicates$NotPredicate.apply(Predicates.java:308) at com.google.common.collect.Iterators.removeIf(Iterators.java:213) at com.google.common.collect.Iterables.removeIf(Iterables.java:184) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.removeArtifactLinks(DefaultArtifactLinkManager.java:176) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeArtifacts(BuildResultsSummaryManagerImpl.java:1013) at sun.reflect.GeneratedMethodAccessor2501.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy50.removeArtifacts(Unknown Source) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expirePlan(BuildExpiryBean.java:267) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expireAllBuilds(BuildExpiryBean.java:128) at com.atlassian.bamboo.build.expiry.BuildExpiryScheduler$BuildExpiryJob.execute(BuildExpiryScheduler.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) {code}

    Atlassian JIRA | 4 years ago | James Dumay [Atlassian]
    java.lang.NullPointerException
  2. 0

    http://tardigrade.syd.atlassian.com:8085/bamboo/browse/BAM-FC-10239 {code} 2013-07-26 00:51:13,278 WARN [QuartzScheduler_Worker-4] [BuildExpiryBean] Unable to expire BAM-FC-10239 java.lang.NullPointerException at com.atlassian.bamboo.build.artifact.DefaultArtifactLink.isSharedArtifact(DefaultArtifactLink.java:203) at com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates$ArtifactLinkIsSharedArtifactPredicate.apply(ArtifactLinkPredicates.java:89) at com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates$ArtifactLinkIsSharedArtifactPredicate.apply(ArtifactLinkPredicates.java:83) at com.google.common.base.Predicates$NotPredicate.apply(Predicates.java:308) at com.google.common.collect.Iterators.removeIf(Iterators.java:213) at com.google.common.collect.Iterables.removeIf(Iterables.java:184) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.removeArtifactLinks(DefaultArtifactLinkManager.java:176) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeArtifacts(BuildResultsSummaryManagerImpl.java:1013) at sun.reflect.GeneratedMethodAccessor2501.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy50.removeArtifacts(Unknown Source) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expirePlan(BuildExpiryBean.java:267) at com.atlassian.bamboo.build.expiry.BuildExpiryBean.expireAllBuilds(BuildExpiryBean.java:128) at com.atlassian.bamboo.build.expiry.BuildExpiryScheduler$BuildExpiryJob.execute(BuildExpiryScheduler.java:113) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) {code}

    Atlassian JIRA | 4 years ago | James Dumay [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.bamboo.build.artifact.DefaultArtifactLink.isSharedArtifact()
    2. com.atlassian.bamboo
      ArtifactLinkPredicates$ArtifactLinkIsSharedArtifactPredicate.apply
      1. com.atlassian.bamboo.build.artifact.DefaultArtifactLink.isSharedArtifact(DefaultArtifactLink.java:203)
      2. com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates$ArtifactLinkIsSharedArtifactPredicate.apply(ArtifactLinkPredicates.java:89)
      3. com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates$ArtifactLinkIsSharedArtifactPredicate.apply(ArtifactLinkPredicates.java:83)
      3 frames
    3. Guava
      Iterables.removeIf
      1. com.google.common.base.Predicates$NotPredicate.apply(Predicates.java:308)
      2. com.google.common.collect.Iterators.removeIf(Iterators.java:213)
      3. com.google.common.collect.Iterables.removeIf(Iterables.java:184)
      3 frames
    4. com.atlassian.bamboo
      BuildResultsSummaryManagerImpl.removeArtifacts
      1. com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.removeArtifactLinks(DefaultArtifactLinkManager.java:176)
      2. com.atlassian.bamboo.resultsummary.BuildResultsSummaryManagerImpl.removeArtifacts(BuildResultsSummaryManagerImpl.java:1013)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor2501.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    7. com.atlassian.bamboo
      AuthorityOverrideMethodSecurityInterceptor.invoke
      1. com.atlassian.bamboo.security.acegi.intercept.aopalliance.AuthorityOverrideMethodSecurityInterceptor.invoke(AuthorityOverrideMethodSecurityInterceptor.java:29)
      1 frame
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    11. com.sun.proxy
      $Proxy50.removeArtifacts
      1. com.sun.proxy.$Proxy50.removeArtifacts(Unknown Source)
      1 frame
    12. com.atlassian.bamboo
      BuildExpiryScheduler$BuildExpiryJob.execute
      1. com.atlassian.bamboo.build.expiry.BuildExpiryBean.expirePlan(BuildExpiryBean.java:267)
      2. com.atlassian.bamboo.build.expiry.BuildExpiryBean.expireAllBuilds(BuildExpiryBean.java:128)
      3. com.atlassian.bamboo.build.expiry.BuildExpiryScheduler$BuildExpiryJob.execute(BuildExpiryScheduler.java:113)
      3 frames
    13. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      1 frame
    14. com.atlassian.bamboo
      SystemAuthorizedThreadPool$1.run
      1. com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38)
      1 frame