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

NullPointerException while syncing a decorator of task

    XMLWordPrintable

Details

    • Space
    • 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 minutes, 51 seconds
    • 4 days, 20 hours, 24 minutes, 35 seconds
    • 3 minutes, 14 seconds
    • 38 minutes, 31 seconds
    • 2 minutes, 26 seconds
    • 9 seconds
    • 1 day, 1 hour, 46 minutes
    • $i18n.getText("admin.common.words.hide")
      $i18n.getText("admin.common.words.show")
      var cfToHide1 = document.getElementById("rowForcustomfield_21302"); if(cfToHide1){cfToHide1.style.display="none";} var cfToHide2 = document.getElementById("rowForcustomfield_19201"); if(cfToHide2){cfToHide2.style.display="none";} var cfToHide3 = document.getElementById("rowForcustomfield_19300"); if(cfToHide3){cfToHide3.style.display="none";} var cfToHide4 = document.getElementById("rowForcustomfield_19301"); if(cfToHide4){cfToHide4.style.display="none";} var cfToHide5 = document.getElementById("rowForcustomfield_19302"); if(cfToHide5){cfToHide5.style.display="none";} var cfToHide6 = document.getElementById("rowForcustomfield_19303"); if(cfToHide6){cfToHide6.style.display="none";} var cfToHide7 = document.getElementById("rowForcustomfield_19204"); if(cfToHide7){cfToHide7.style.display="none";} var cfToHide8 = document.getElementById("rowForcustomfield_19205"); if(cfToHide8){cfToHide8.style.display="none";}

    Description

      Comment: There is a problem while adjusting decorator for the task without extplatform task (embedded task).

      Prerequisites: In ‘BigPicture Technical configuration’ sync settings, set Labels in Milestone field

      Steps to reproduce:

      1. Navigate to ‘Gantt’ module of any Box
      2. Convert any Task to Milestone
      3. Click ‘Data’ from the header menu
      4. Click ‘Re-sync’ from the drop-down list

      Actual Result 
      NullPointerException occurs in the log. The error might look like one the attached screenshot below.

      Expected Result 
      Re-sync does not cause any errors

       

      Example of stack trace from the Logs below.

      com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: TaskRepositoryImpl.syncTask java.lang.NullPointerException
      	at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext.call(TenantSystemEndPointJobContext.java:72)
      	at com.softwareplant.system.core.concurrent.job.TransactionContextJobContextProxyFactory.lambda$createProxy$5df0134e$1(TransactionContextJobContextProxyFactory.java:18)
      	at com.softwareplant.system.manager.jiraserver.environment.JiraJobContextProxyFactory.lambda$createProxy$fe459f1a$1(JiraJobContextProxyFactory.java:30)
      	at com.softwareplant.util.concurrent.job.SingleJobExecutorImpl.lambda$execute$0(SingleJobExecutorImpl.java:32)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:652)
      	at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:649)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:649)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NullPointerException
      	at com.softwareplant.ppm.task.domain.TaskImpl.syncDecoration(TaskImpl.java:611)
      	at com.softwareplant.ppm.scheduling.core.domain.task.TaskTypeDecoratorAdjusterImpl.adjustTaskTypeDecoratorAsMilestone(TaskTypeDecoratorAdjusterImpl.java:63)
      	at com.softwareplant.ppm.scheduling.core.domain.task.TaskTypeDecoratorAdjusterImpl.adjustTaskTypeDecorator(TaskTypeDecoratorAdjusterImpl.java:50)
      	at com.softwareplant.ppm.task.domain.TaskRepositoryImpl$SyncTaskJob.syncSingleTask(TaskRepositoryImpl.java:366)
      	at com.softwareplant.ppm.task.domain.TaskRepositoryImpl$SyncTaskJob.lambda$syncSingleTaskInBusinessTransaction$1(TaskRepositoryImpl.java:361)
      	at com.softwareplant.ppm.task.domain.TaskRepositoryImpl$SyncTaskJob.wrapInBusinessTransaction(TaskRepositoryImpl.java:372)
      	at com.softwareplant.ppm.task.domain.TaskRepositoryImpl$SyncTaskJob.syncSingleTaskInBusinessTransaction(TaskRepositoryImpl.java:361)
      	at com.softwareplant.ppm.task.domain.TaskRepositoryImpl$SyncTaskJob.lambda$call$0(TaskRepositoryImpl.java:351)
      	at java.lang.Iterable.forEach(Iterable.java:75)
      	at com.softwareplant.ppm.task.domain.TaskRepositoryImpl$SyncTaskJob.call(TaskRepositoryImpl.java:349)
      	at com.softwareplant.ppm.task.domain.TaskRepositoryImpl$SyncTaskJob.call(TaskRepositoryImpl.java:324)
      	at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext$2.call(TenantSystemEndPointJobContext.java:88)
      	at com.softwareplant.util.concurrent.job.JobContextImpl.call(JobContextImpl.java:8)
      	at com.softwareplant.ppm.scenario.core.ScenarioContextJobContextProxyFactory.lambda$createProxy$e12e3d61$1(ScenarioContextJobContextProxyFactory.java:17)
      	at com.softwareplant.system.core.concurrent.job.BusinessTransactionJobContextProxy.lambda$createProxy$4d58840c$1(BusinessTransactionJobContextProxy.java:26)
      	at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext.jobContextCall(TenantSystemEndPointJobContext.java:77)
      	at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext.access$100(TenantSystemEndPointJobContext.java:16)
      	at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext$1.invoke(TenantSystemEndPointJobContext.java:63)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:24)
      
      

      Attachments

        Activity

          People

            sebastian.janda Sebastian Janda
            sebastian.janda Sebastian Janda
            system.jenkins Jenkins , piotr.zadora Piotr Zadora , radoslaw.rachuba Radosław Rachuba , grzegorz.duzy Grzegorz Duży , system.gerrit Gerrit , sebastian.janda Sebastian Janda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: