Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-6132

NPE on manual reminder email if due date is null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.8.0
    • 2.7.0
    • None
    • None

    Description

      Theres an auto-unboxing null pointer at

      2012-05-18 15:45:30,063 ERROR [quartzScheduler_Worker-5 ] fisheye.app DefaultNotificationManager-processNotification - Error processing notification
      java.lang.NullPointerException
      	at com.cenqua.crucible.notification.batch.creators.ReminderBatchCreator$ReviewReminderSegment.getPrettyTimePeriod(ReminderBatchCreator.java:100)
      	at com.cenqua.crucible.notification.batch.creators.ReminderBatchCreator$ReviewReminderSegment.<init>(ReminderBatchCreator.java:89)
      	at com.cenqua.crucible.notification.batch.creators.ReminderBatchCreator$ReviewReminderSegment.create(ReminderBatchCreator.java:82)
      	at com.cenqua.crucible.notification.batch.creators.ReminderBatchCreator.getEmailSegment(ReminderBatchCreator.java:134)
      	at com.cenqua.crucible.notification.DefaultNotificationManager.getBatchMessage(DefaultNotificationManager.java:507)
      	at com.cenqua.crucible.notification.DefaultNotificationManager.processNotification(DefaultNotificationManager.java:465)
      	at com.cenqua.crucible.notification.DefaultNotificationManager.processNotifications(DefaultNotificationManager.java:302)
      	at com.cenqua.crucible.notification.DefaultNotificationManager.access$100(DefaultNotificationManager.java:70)
      	at com.cenqua.crucible.notification.DefaultNotificationManager$2.run(DefaultNotificationManager.java:266)
      	at com.atlassian.fisheye.quartz.QuartzManager$RunnableJob.execute(QuartzManager.java:407)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

      when the due date for the review is null. we'll have to consider what we want to do in the case of a manual reminder email when there is no due date.

      the workaround for now is to add a due date to the review. this can be done via a project default.

      Attachments

        Activity

          People

            rtekhov Roman Tekhov (Inactive)
            gcrain Geoff Crain (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 23m
                23m