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

WbsHierarchySynchronizer - parents finding job java.lang.NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • prod/bigpicture/jiracloud/2020/11/09/11_45
    • None
    • None
    • ca7b58d1ad55b68cb021f33841a90143
    • Infrastructure
    • BigPicture
    • JIRA cloud
    • $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";}
    • 17 hours, 49 minutes, 13 seconds
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • $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

      Steps to reproduce:

      •  Error found in KIBANA

       

      2020-11-17 16:50:35,864 [0109480] ERROR [SP-bigpicture-StructureSyncSingleJobExecutor-87675-t-0109480] [MultitenantJobContextProxyFactory] [TC:00000000] Token: ca7b58d1ad55b68cb021f33841a9014332c58286b5b284d7154a2ddc2187900c89fbfc6fd54ef0b356c50c0c6fa69dbae41e6ddf2e20c1d6020c0bdf3d0b6dbf.fb9db847e6542465e78a7c1dec624136b86ff11a849ebeaa18a922abb188f2f1d8f906c783d445a49463e64c8481ac24b24bacd50b15b1a2e4f63792538981c0.Tue Nov 17 16:50:35 UTC 2020, 
      com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: StructureManagerImpl.sync com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: WbsHierarchySynchronizer - parents finding job 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.cloud.environment.core.multitenant.MultitenantJobContextProxyFactory$1.call(MultitenantJobContextProxyFactory.java:41)
      	at com.softwareplant.util.concurrent.job.SingleJobExecutorImpl.lambda$execute$0(SingleJobExecutorImpl.java:32)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
      	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: com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: WbsHierarchySynchronizer - parents finding job java.lang.NullPointerException
      	... 12 more
      Caused by: java.lang.NullPointerException
      	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:210)
      	at com.softwareplant.extplatform.provider.jiracloud.task.board.JiraCloudUserBoardConfigurationCacheKey.<init>(JiraCloudUserBoardConfigurationCacheKey.java:18)
      	at com.softwareplant.extplatform.provider.jiracloud.task.board.JiraCloudBoardEndpointAdapter.buildConfigCacheKey(JiraCloudBoardEndpointAdapter.java:181)
      	at com.softwareplant.extplatform.provider.jiracloud.task.board.JiraCloudBoardEndpointAdapter.getBoardConfiguration(JiraCloudBoardEndpointAdapter.java:85)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.getBoardConfiguration(JiraCloudAgileSprintHelper.java:117)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.lambda$isTaskStatusInTheLastColumnOnBoard$5(JiraCloudAgileSprintHelper.java:94)
      	at java.util.Optional.flatMap(Optional.java:241)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.isTaskStatusInTheLastColumnOnBoard(JiraCloudAgileSprintHelper.java:94)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.lambda$isTaskInDoneStatus$4(JiraCloudAgileSprintHelper.java:88)
      	at java.util.Optional.map(Optional.java:215)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.isTaskInDoneStatus(JiraCloudAgileSprintHelper.java:88)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.getActiveSprint(JiraCloudAgileSprintHelper.java:79)
      	at com.softwareplant.extplatform.provider.jiracloud.task.field.issue.custom.JiraCloudIssueSprintsCFConnector.getCurrentSprint(JiraCloudIssueSprintsCFConnector.java:86)
      	at com.softwareplant.extplatform.provider.jiracloud.task.field.issue.custom.JiraCloudIssueSprintsCFConnector.loadValue(JiraCloudIssueSprintsCFConnector.java:71)
      	at com.softwareplant.extplatform.provider.jiracloud.task.field.issue.custom.JiraCloudIssueSprintsCFConnector.loadValue(JiraCloudIssueSprintsCFConnector.java:43)
      	at com.softwareplant.extplatform.task.api.ExtPlatformTaskField.loadValue(ExtPlatformTaskField.java:70)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.lambda$getActiveSprintBasedOnExternalTaskFields$2(JiraCloudAgileSprintHelper.java:69)
      	at java.util.Optional.map(Optional.java:215)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.getActiveSprintBasedOnExternalTaskFields(JiraCloudAgileSprintHelper.java:69)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.lambda$getActiveSprintFromExternalTask$1(JiraCloudAgileSprintHelper.java:63)
      	at java.util.Optional.flatMap(Optional.java:241)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.getActiveSprintFromExternalTask(JiraCloudAgileSprintHelper.java:63)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.lambda$extractActiveSprint$0(JiraCloudAgileSprintHelper.java:56)
      	at java.util.Optional.flatMap(Optional.java:241)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.extractActiveSprint(JiraCloudAgileSprintHelper.java:56)
      	at com.softwareplant.extplatform.provider.jiracloud.task.sprint.JiraCloudAgileSprintHelper.getActiveSprint(JiraCloudAgileSprintHelper.java:49)
      	at com.softwareplant.extplatform.provider.jiracloud.task.board.JiraCloudBoardService.getIterationForTask(JiraCloudBoardService.java:54)
      	at com.softwareplant.ppm.extplatform.extension.provider.jiracloud.boxarea.task.scope.structure.builder.JiraCloudExternalBoardIterationStructureBuilderFactory$JiraCloudExternalBoardIterationStructureBuilder.find(JiraCloudExternalBoardIterationStructureBuilderFactory.java:95)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsStructureBuilderParentFinder.lambda$findParentTask$3(WbsStructureBuilderParentFinder.java:72)
      	at java.util.Optional.flatMap(Optional.java:241)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsStructureBuilderParentFinder.findParentTask(WbsStructureBuilderParentFinder.java:72)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsStructureBuilderParentFinder.findSingleParent(WbsStructureBuilderParentFinder.java:63)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsStructureBuilderParentFinder.lambda$findParents$1(WbsStructureBuilderParentFinder.java:46)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsStructureBuilderParentFinder.findParents(WbsStructureBuilderParentFinder.java:45)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsHierarchySynchronizer$ParentFinderBulkJob.lambda$call$0(WbsHierarchySynchronizer.java:147)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsHierarchySynchronizer$ParentFinderBulkJob.call(WbsHierarchySynchronizer.java:148)
      	at com.softwareplant.ppm.wbs.core.domain.sync.WbsHierarchySynchronizer$ParentFinderBulkJob.call(WbsHierarchySynchronizer.java:123)
      	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)
      	at com.softwareplant.ppm.scenario.core.ScenarioActionResultStorageSystemEndpointInterceptor.invoke(ScenarioActionResultStorageSystemEndpointInterceptor.java:26)
      	at com.softwareplant.ppm.scenario.core.ScenarioActionResultStorageSystemEndpointInterceptor.invoke(ScenarioActionResultStorageSystemEndpointInterceptor.java:12)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.manager.cloud.environment.jiracloud.core.permission.JiraCloudInsufficientPermissionsSystemEndPointInterceptor.invoke(JiraCloudInsufficientPermissionsSystemEndPointInterceptor.java:37)
      	at com.softwareplant.system.manager.cloud.environment.jiracloud.core.permission.JiraCloudInsufficientPermissionsSystemEndPointInterceptor.invoke(JiraCloudInsufficientPermissionsSystemEndPointInterceptor.java:14)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.tenant.core.endpoint.RequiredPermissionSystemEndPointInterceptor.invoke(RequiredPermissionSystemEndPointInterceptor.java:30)
      	at com.softwareplant.system.tenant.core.endpoint.RequiredPermissionSystemEndPointInterceptor.invoke(RequiredPermissionSystemEndPointInterceptor.java:12)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.tenant.core.endpoint.TenantActivationSystemEndpointInterceptor.invoke(TenantActivationSystemEndpointInterceptor.java:31)
      	at com.softwareplant.system.tenant.core.endpoint.TenantActivationSystemEndpointInterceptor.invoke(TenantActivationSystemEndpointInterceptor.java:14)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.tenant.core.cache.TenantCacheSystemEndPointInterceptor.invoke(TenantCacheSystemEndPointInterceptor.java:36)
      	at com.softwareplant.system.tenant.core.cache.TenantCacheSystemEndPointInterceptor.invoke(TenantCacheSystemEndPointInterceptor.java:13)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.core.endpoint.TechnicalSystemEndPointInterceptors.run(TechnicalSystemEndPointInterceptors.java:32)
      	at com.softwareplant.system.tenant.core.TenantSystem.runWithinInterceptors(TenantSystem.java:70)
      	at com.softwareplant.system.core.TechnicalSystem.invoke(TechnicalSystem.java:171)
      	at com.softwareplant.system.tenant.core.MultiTenantSystem$1.invoke(MultiTenantSystem.java:126)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:24)
      	at com.softwareplant.system.core.transaction.SystemTransactionManagerImpl.invoke(SystemTransactionManagerImpl.java:25)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.core.endpoint.interceptors.SessionContextSystemEndPointInterceptor.invoke(SessionContextSystemEndPointInterceptor.java:27)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.tenant.core.endpoint.MonitoringTenantSystemEndPointInterceptor.lambda$invoke$0(MonitoringTenantSystemEndPointInterceptor.java:40)
      	at com.softwareplant.util.monitoring.DropwizardMetrics.measure(DropwizardMetrics.java:49)
      	at com.softwareplant.util.monitoring.MonitoringImpl.monitore(MonitoringImpl.java:33)
      	at com.softwareplant.system.tenant.core.endpoint.MonitoringTenantSystemEndPointInterceptor.invoke(MonitoringTenantSystemEndPointInterceptor.java:40)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.manager.cloud.environment.core.multitenant.MultitenantLoggerNDCSetter.invoke(MultitenantLoggerNDCSetter.java:39)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.core.endpoint.interceptors.TransactionContextSystemEndPointInterceptor.invoke(TransactionContextSystemEndPointInterceptor.java:23)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.core.endpoint.interceptors.SystemStatusEndpointInterceptor.invoke(SystemStatusEndpointInterceptor.java:17)
      	at com.softwareplant.system.core.endpoint.SystemEndPointChainImpl.processRequest(SystemEndPointChainImpl.java:28)
      	at com.softwareplant.system.core.endpoint.TechnicalSystemEndPointInterceptors.run(TechnicalSystemEndPointInterceptors.java:32)
      	at com.softwareplant.system.tenant.core.MultiTenantSystem.runWithinInterceptors(MultiTenantSystem.java:69)
      	at com.softwareplant.system.core.TechnicalSystem.invoke(TechnicalSystem.java:171)
      	at com.softwareplant.system.tenant.core.MultiTenantSystem.invoke(MultiTenantSystem.java:109)
      	at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext.call(TenantSystemEndPointJobContext.java:44)
      	... 11 more
      

       

       

      Attachments

        Issue Links

          Activity

            People

              marcin.szuppe Marcin Szuppe (Inactive)
              michal.dranicki Michał Dranicki (Inactive)
              martyna.turowska Martyna Turowska , kamil.harasimiuk Kamil Harasimiuk , marcin.szuppe Marcin Szuppe (Inactive) , maciej.kobierecki Maciej Kobierecki (Inactive) , michal.dranicki Michał Dranicki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: