java.lang.NullPointerException

Atlassian JIRA | Martijn Stokhof | 2 years ago
  1. 0

    Situation: * the latest release of a build is deleted using the 'Delete release' function in the release details view. The release was deployed on environment A. * Environment A has a notification set to inform a user at deployment start and finish. * A new deployment on environment A is started, creating a new release from the latest build. * Notification cannot be sent due to NullPointerException: 2015-02-26 04:33:03,806 INFO [http-apr-8085-exec-24] [AccessLogFilter] martijn POST http://bamboo.solid-fx.com:8085/deploy/executeManualDeployment.action 150103kb 2015-02-26 04:33:04,080 INFO [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-10] [BuildQueueManagerImpl] Attempting to queue Deployment of 'SFX.Core-1.0.1-revision:8232' on 'UAT'. 2015-02-26 04:33:04,080 INFO [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-10] [ExecutionPhaseServiceImpl] Deployment of 'SFX.Core-1.0.1-revision:8232' on 'UAT' queued 2015-02-26 04:33:04,096 WARN [http-apr-8085-exec-8] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,096 INFO [http-apr-8085-exec-8] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,096 INFO [http-apr-8085-exec-8] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-239&globalId=MAIN-161 136361kb 2015-02-26 04:33:04,097 WARN [http-apr-8085-exec-11] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,097 INFO [http-apr-8085-exec-11] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,097 INFO [http-apr-8085-exec-11] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-363 136000kb 2015-02-26 04:33:04,100 INFO [http-apr-8085-exec-8] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.002 2015-02-26 04:33:04,105 INFO [http-apr-8085-exec-11] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.005 2015-02-26 04:33:04,107 WARN [http-apr-8085-exec-4] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,107 INFO [http-apr-8085-exec-4] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,107 INFO [http-apr-8085-exec-8] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.006 2015-02-26 04:33:04,107 INFO [http-apr-8085-exec-4] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-364 134772kb 2015-02-26 04:33:04,109 WARN [http-apr-8085-exec-7] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,109 INFO [http-apr-8085-exec-7] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,109 INFO [http-apr-8085-exec-7] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-365 134428kb 2015-02-26 04:33:04,113 INFO [http-apr-8085-exec-4] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.004 2015-02-26 04:33:04,113 INFO [http-apr-8085-exec-9] [AccessLogFilter] martijn GET http://bamboo.solid-fx.com:8085/deploy/viewDeploymentResult.action?deploymentResultId=5668869 133961kb 2015-02-26 04:33:04,114 INFO [http-apr-8085-exec-7] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.002 2015-02-26 04:33:04,140 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-6] [MultipartEmailTransport] Failed to send out Deployment Started Notification multipart email java.lang.NullPointerException at com.atlassian.bamboo.deployments.versions.service.DeploymentVersionServiceImpl.findVersionsBetween(DeploymentVersionServiceImpl.java:709) at com.atlassian.bamboo.deployments.versions.service.DeploymentVersionVcsChangesetServiceImpl.compareVersionsByChangesets(DeploymentVersionVcsChangesetServiceImpl.java:101) at com.atlassian.bamboo.deployments.notification.DeploymentStartedNotification.getContext(DeploymentStartedNotification.java:115) at com.atlassian.bamboo.deployments.notification.DeploymentStartedNotification.getEmailSubject(DeploymentStartedNotification.java:72) at com.atlassian.bamboo.notification.transports.AbstractEmailTransport.beginEmail(AbstractEmailTransport.java:53) at com.atlassian.bamboo.notification.transports.MultipartEmailTransport.sendNotification(MultipartEmailTransport.java:51) at com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:60) at com.atlassian.bamboo.deployments.notification.DeploymentNotificationEventListener.onDeploymentStarted(DeploymentNotificationEventListener.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:722)

    Atlassian JIRA | 2 years ago | Martijn Stokhof
    java.lang.NullPointerException
  2. 0

    Situation: * the latest release of a build is deleted using the 'Delete release' function in the release details view. The release was deployed on environment A. * Environment A has a notification set to inform a user at deployment start and finish. * A new deployment on environment A is started, creating a new release from the latest build. * Notification cannot be sent due to NullPointerException: 2015-02-26 04:33:03,806 INFO [http-apr-8085-exec-24] [AccessLogFilter] martijn POST http://bamboo.solid-fx.com:8085/deploy/executeManualDeployment.action 150103kb 2015-02-26 04:33:04,080 INFO [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-10] [BuildQueueManagerImpl] Attempting to queue Deployment of 'SFX.Core-1.0.1-revision:8232' on 'UAT'. 2015-02-26 04:33:04,080 INFO [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-10] [ExecutionPhaseServiceImpl] Deployment of 'SFX.Core-1.0.1-revision:8232' on 'UAT' queued 2015-02-26 04:33:04,096 WARN [http-apr-8085-exec-8] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,096 INFO [http-apr-8085-exec-8] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,096 INFO [http-apr-8085-exec-8] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-239&globalId=MAIN-161 136361kb 2015-02-26 04:33:04,097 WARN [http-apr-8085-exec-11] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,097 INFO [http-apr-8085-exec-11] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,097 INFO [http-apr-8085-exec-11] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-363 136000kb 2015-02-26 04:33:04,100 INFO [http-apr-8085-exec-8] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.002 2015-02-26 04:33:04,105 INFO [http-apr-8085-exec-11] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.005 2015-02-26 04:33:04,107 WARN [http-apr-8085-exec-4] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,107 INFO [http-apr-8085-exec-4] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,107 INFO [http-apr-8085-exec-8] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.006 2015-02-26 04:33:04,107 INFO [http-apr-8085-exec-4] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-364 134772kb 2015-02-26 04:33:04,109 WARN [http-apr-8085-exec-7] [AuthenticatorImpl] No executing user assigned for 2LO requests 2015-02-26 04:33:04,109 INFO [http-apr-8085-exec-7] [AuthenticatorImpl] Authenticated app 'jira:6576470' as user 'null' successfully 2015-02-26 04:33:04,109 INFO [http-apr-8085-exec-7] [AccessLogFilter] 192.168.177.13 GET http://bamboo.solid-fx.com:8085/rest/remote-link-aggregation/latest/aggregation?globalId=RED-365 134428kb 2015-02-26 04:33:04,113 INFO [http-apr-8085-exec-4] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.004 2015-02-26 04:33:04,113 INFO [http-apr-8085-exec-9] [AccessLogFilter] martijn GET http://bamboo.solid-fx.com:8085/deploy/viewDeploymentResult.action?deploymentResultId=5668869 133961kb 2015-02-26 04:33:04,114 INFO [http-apr-8085-exec-7] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.002 2015-02-26 04:33:04,140 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-3-thread-6] [MultipartEmailTransport] Failed to send out Deployment Started Notification multipart email java.lang.NullPointerException at com.atlassian.bamboo.deployments.versions.service.DeploymentVersionServiceImpl.findVersionsBetween(DeploymentVersionServiceImpl.java:709) at com.atlassian.bamboo.deployments.versions.service.DeploymentVersionVcsChangesetServiceImpl.compareVersionsByChangesets(DeploymentVersionVcsChangesetServiceImpl.java:101) at com.atlassian.bamboo.deployments.notification.DeploymentStartedNotification.getContext(DeploymentStartedNotification.java:115) at com.atlassian.bamboo.deployments.notification.DeploymentStartedNotification.getEmailSubject(DeploymentStartedNotification.java:72) at com.atlassian.bamboo.notification.transports.AbstractEmailTransport.beginEmail(AbstractEmailTransport.java:53) at com.atlassian.bamboo.notification.transports.MultipartEmailTransport.sendNotification(MultipartEmailTransport.java:51) at com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:60) at com.atlassian.bamboo.deployments.notification.DeploymentNotificationEventListener.onDeploymentStarted(DeploymentNotificationEventListener.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:722)

    Atlassian JIRA | 2 years ago | Martijn Stokhof
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 com.atlassian.bamboo.deployments.versions.service.DeploymentVersionServiceImpl.findVersionsBetween()
    2. com.atlassian.bamboo
      DeploymentNotificationEventListener.onDeploymentStarted
      1. com.atlassian.bamboo.deployments.versions.service.DeploymentVersionServiceImpl.findVersionsBetween(DeploymentVersionServiceImpl.java:709)
      2. com.atlassian.bamboo.deployments.versions.service.DeploymentVersionVcsChangesetServiceImpl.compareVersionsByChangesets(DeploymentVersionVcsChangesetServiceImpl.java:101)
      3. com.atlassian.bamboo.deployments.notification.DeploymentStartedNotification.getContext(DeploymentStartedNotification.java:115)
      4. com.atlassian.bamboo.deployments.notification.DeploymentStartedNotification.getEmailSubject(DeploymentStartedNotification.java:72)
      5. com.atlassian.bamboo.notification.transports.AbstractEmailTransport.beginEmail(AbstractEmailTransport.java:53)
      6. com.atlassian.bamboo.notification.transports.MultipartEmailTransport.sendNotification(MultipartEmailTransport.java:51)
      7. com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:60)
      8. com.atlassian.bamboo.deployments.notification.DeploymentNotificationEventListener.onDeploymentStarted(DeploymentNotificationEventListener.java:172)
      8 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    4. com.atlassian.event
      AsynchronousAbleEventDispatcher$1$1.run
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46)
      2 frames
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    6. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      2. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      3. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      4. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      4 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame