Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-27839

When task has no dates changing period in Gantt can cause an error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • prod/biggantt/jiraserver/2020/09/16/4.9.22, prod/bigpicture/jiracloud/2020/09/28/9_40, prod/biggantt/jiracloud/2020/09/28/9_40, prod/bigpicture/jiraserver/2020/09/30/8.0.2
    • None
    • None
    • Data Type
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • 3
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_18501"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_18502"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19700"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_18400"); if(cfToHide4){cfToHide4.style.display="none";}
    • 3 weeks, 1 day, 18 hours, 51 minutes, 43 seconds
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0

    Description

      Steps to reproduce 
      This might be a way to reproduce the problem

      • Remove the start and end date in Jira issue view for any task.
      • Go to Gantt of a box that this issue exists.
      • Try to change the task period

      Observed result
      This situation can cause an error in the application.  Please see the example of entries from the Logs below:

      Caused by: java.lang.NullPointerException
      	at com.softwareplant.ppm.task.domain.TaskImpl.validateUpdatePeriod(TaskImpl.java:398)
      	at com.softwareplant.ppm.task.domain.TaskImpl.updatePeriod(TaskImpl.java:370)
      	at com.softwareplant.ppm.task.domain.TaskImpl.syncPeriod(TaskImpl.java:646)
      	at com.softwareplant.ppm.wbs.core.domain.sync.SingleStructureFullSynchronizer.isTaskReschedulingNeeded(SingleStructureFullSynchronizer.java:138)
      	at com.softwareplant.ppm.wbs.core.domain.sync.SingleStructureFullSynchronizer.access$100(SingleStructureFullSynchronizer.java:42)
      	at com.softwareplant.ppm.wbs.core.domain.sync.SingleStructureFullSynchronizer$TaskReschedulingRequirementCheckerJob.lambda$call$0(SingleStructureFullSynchronizer.java:216)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553)
      

      Attachments

        Issue Links

          Activity

            People

              ilya.rybakou Ilya Rybakou
              sebastian.janda Sebastian Janda
              vira.yaremchuk Vira Yaremchuk , ilya.rybakou Ilya Rybakou , tom.kucharski Tom Kucharski , evgeny.frolov Evgeny Frolov (Inactive) , katarzyna.rajchert Katarzyna Rajchert , radoslaw.rachuba Radosław Rachuba , grzegorz.duzy Grzegorz Duży , sebastian.janda Sebastian Janda
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: