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

A task in some cases cannot construct properly period when start and end date not exists

    XMLWordPrintable

Details

    • Data Type
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • 28
    • $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";}
    • 6 days, 4 hours, 20 minutes, 10 seconds
    • 50 minutes, 39 seconds
    • 19 hours, 36 minutes, 33 seconds
    • 4 minutes, 23 seconds
    • 1 minute, 47 seconds
    • 22 seconds
    • 3 days, 1 hour, 50 minutes, 27 seconds

    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:

      javax.servlet.http.Cookie@4e6661ad[name=AWSALBCORS,value=m65kqBgJMvXIJ1OtD8kHLioz9dLds0PcdfBhFtZOZRELjWA1dACFxDl8C3tNO0Q2Ozlk1cypBDUzAnMUEaGez6el9VCY0Hb+OP2HvqOKRglevJTyOeoyUAOWN1El,comment=<null>,domain=<null>,maxAge=-1,path=<null>,secure=false,version=0]
      2020-10-02 11:01:01.838 [http-nio-8080-exec-699-lock-name-bigpicture.0000000.wbsId:1.local.read] WARN com.softwareplant.ppm.task.infrastructure.TaskAnemiaFacadeImpl - there is no start date for task RemoteTask[id=597, extPlatformTaskCombinedId=2@@1@10733, extPlatformTask=com.softwareplant.extplatform.task.api.ExtPlatformTask@12d3ff31]
      2020-10-02 11:01:01.838 [http-nio-8080-exec-699-lock-name-bigpicture.0000000.wbsId:1.local.read] WARN com.softwareplant.ppm.task.infrastructure.TaskAnemiaFacadeImpl - there is no end date for task RemoteTask[id=597, extPlatformTaskCombinedId=2@@1@10733, extPlatformTask=com.softwareplant.extplatform.task.api.ExtPlatformTask@12d3ff31]
      java.lang.NullPointerException
      	at com.softwareplant.util.datatype.Period.<init>(Period.java:27)
      	at com.softwareplant.ppm.task.api.domain.ExtendedTask.<init>(ExtendedTask.java:40)
      	at com.softwareplant.ppm.structure.api.Structure.getStructuredTask(Structure.java:66)
      	at com.softwareplant.ppm.structure.api.filtering.TransformExpandedOnlyCommand.transform(TransformExpandedOnlyCommand.java:27)
      	at com.softwareplant.ppm.structure.api.filtering.TransformExpandedOnlyCommand.transform(TransformExpandedOnlyCommand.java:12)
      	at com.softwareplant.util.tree.PostOrderCommandPredicate.transform(PostOrderCommandPredicate.java:61)
      	at com.softwareplant.util.tree.TreeVertexImpl.processDepthFirstPostorder(TreeVertexImpl.java:416)
      	at com.softwareplant.util.tree.TreeVertexImpl.processDepthFirstPostorder(TreeVertexImpl.java:422)
      	at com.softwareplant.util.tree.TreeVertexImpl.processDepthFirstPostorder(TreeVertexImpl.java:422)
      	at com.softwareplant.util.tree.TreeVertexImpl.processDepthFirstPostorder(TreeVertexImpl.java:407)
      	at com.softwareplant.util.tree.TreeVertexImpl.copy(TreeVertexImpl.java:279)
      	at com.softwareplant.util.tree.TreeImpl.copy(TreeImpl.java:104)
      

      Attachments

        Issue Links

          Activity

            People

              evgeny.frolov Evgeny Frolov (Inactive)
              sebastian.janda Sebastian Janda
              vira.yaremchuk Vira Yaremchuk , tom.kucharski Tom Kucharski , system.jenkins Jenkins , anna.kicior Anna Kicior , tomasz.lewandowski Tomasz Lewandowski , system.gerrit Gerrit , dariusz.dudek Dariusz Dudek , radoslaw.rachuba Radosław Rachuba , dmytro.sagai Dmytro Sagai (Inactive) , pawel.nowicki Paweł Nowicki , katarzyna.rajchert Katarzyna Rajchert , evgeny.frolov Evgeny Frolov (Inactive) , grzegorz.duzy Grzegorz Duży , sebastian.janda Sebastian Janda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: