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

Can't get BoxId by WbsId - SingleJobExecutorImpl

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • prod/bigpicture/jiracloud/2020/11/09/11_45
    • None
    • None
    • ec7a4332495fd13cd4c307607fde7489, e79251dfd7e170f474845905c70bd12d, a3161e900bc99b21edc0dd8326056f32
    • Tree
    • BigGantt
    • 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";}
    • Sprint 2020/24, Sprint 2020/25
    • PI2020/5
    • 2 days, 16 hours, 35 minutes, 36 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:

      • KIBANA - Steps are currently unknown
      2020-11-13 18:11:14,363 [] ERROR [SP-bigpicture-0041646.DefaultEventBusSingleJobExecutor-4854623] [SingleJobExecutorImpl] [TC:00000000] Token: ec7a4332495fd13cd4c307607fde74890a7debc52c8f3ee31b724b0e66613f78071e094c4116da93395a2541ffae32d3f97a2104a2cbdf01fac6449c7986f973.344ee34c6d10ded21971811405bcc2f8705497aab93decd728d05de9b5d764249221d39b48c3fa1f1ca59cdf615e114839b849ab5cfed0d41b0635b6e48ad05c.Fri Nov 13 18:11:14 UTC 2020, 
      com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: SingleEventTypeJob java.lang.IllegalStateException: Can't get BoxId by WbsId 61058
      	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: java.lang.IllegalStateException: Can't get BoxId by WbsId 61058
      	at com.softwareplant.ppm.wbs.core.domain.LegacyBoxIdWbsIdMapperImpl.lambda$getBoxIdForWbsId$2(LegacyBoxIdWbsIdMapperImpl.java:37)
      	at java.util.Optional.orElseThrow(Optional.java:290)
      	at com.softwareplant.ppm.wbs.core.domain.LegacyBoxIdWbsIdMapperImpl.getBoxIdForWbsId(LegacyBoxIdWbsIdMapperImpl.java:37)
      	at com.softwareplant.ppm.wbs.core.domain.WbsRepositoryImpl.getContextWbsAndSetFields(WbsRepositoryImpl.java:131)
      	at com.softwareplant.ppm.wbs.core.domain.WbsRepositoryImpl.getStructure(WbsRepositoryImpl.java:94)
      	at com.softwareplant.ppm.wbs.core.domain.WbsRepositoryImpl$1.next(WbsRepositoryImpl.java:301)
      	at com.softwareplant.ppm.wbs.core.domain.WbsRepositoryImpl$1.next(WbsRepositoryImpl.java:293)
      	at java.util.Iterator.forEachRemaining(Iterator.java:116)
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      	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.structure.core.infrastructure.StructureRepositoryImpl.getLoadedContextWbsIds(StructureRepositoryImpl.java:79)
      	at com.softwareplant.ppm.structure.core.domain.sync.StructureExternalTaskEventAsyncListener.getLoadedWbsIds(StructureExternalTaskEventAsyncListener.java:86)
      	at com.softwareplant.ppm.structure.core.domain.sync.StructureExternalTaskEventAsyncListener.processEventsAnonymousContext(StructureExternalTaskEventAsyncListener.java:72)
      	at com.softwareplant.extplatform.task.domain.event.ExternalTaskEventTopicAsyncConsumer.handleSharedContextEventBatch(ExternalTaskEventTopicAsyncConsumer.java:76)
      	at com.softwareplant.util.concurrent.eventbus.AbstractEventsBatch.handleGrouped(AbstractEventsBatch.java:51)
      	at com.softwareplant.util.concurrent.eventbus.AbstractEventsBatch.handleAllEventsNoContext(AbstractEventsBatch.java:35)
      	at com.softwareplant.extplatform.task.domain.event.ExternalTaskEventTopicAsyncConsumer.lambda$handle$0(ExternalTaskEventTopicAsyncConsumer.java:64)
      	at com.softwareplant.ppm.scenario.core.ScenarioServiceImpl.runWithinLiveScenario(ScenarioServiceImpl.java:124)
      	at com.softwareplant.ppm.task.domain.scenario.ScenarioExternalTaskEventConsumerInterceptor.invoke(ScenarioExternalTaskEventConsumerInterceptor.java:20)
      	at com.softwareplant.extplatform.task.domain.event.ExternalTaskEventTopicAsyncConsumer.handle(ExternalTaskEventTopicAsyncConsumer.java:62)
      	at com.softwareplant.util.concurrent.eventbus.TechContextEventQueues$SingleEventTypeJob.lambda$call$0(TechContextEventQueues.java:115)
      	at java.util.Collections$SingletonList.forEach(Collections.java:4824)
      	at com.softwareplant.util.concurrent.eventbus.TechContextEventQueues$SingleEventTypeJob.call(TechContextEventQueues.java:115)
      	at com.softwareplant.util.concurrent.eventbus.TechContextEventQueues$SingleEventTypeJob.call(TechContextEventQueues.java:97)
      	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.CurrentUserSystemEndPointInterceptor.invoke(CurrentUserSystemEndPointInterceptor.java:26)
      	at com.softwareplant.system.tenant.core.endpoint.CurrentUserSystemEndPointInterceptor.invoke(CurrentUserSystemEndPointInterceptor.java:11)
      	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.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.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

              pawel.wesolowski Pawel Wesolowski
              michal.dranicki Michał Dranicki (Inactive)
              martyna.turowska Martyna Turowska , kamil.harasimiuk Kamil Harasimiuk , igor.szymanczyk Igor Szymanczyk , marcin.szuppe Marcin Szuppe (Inactive) , pawel.guz Pawel Guz , michal.dranicki Michał Dranicki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: