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

Some sub boxes don't have a scope

    XMLWordPrintable

Details

    • Infrastructure
    • BigPicture, BigGantt
    • JIRA server, JIRA cloud
    • 10
    • 10
    • $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";}
    • 1 hour, 30 minutes, 48 seconds
    • 20 hours, 23 minutes, 44 seconds
    • 1 hour, 9 minutes, 6 seconds
    • 2 hours, 23 minutes, 18 seconds
    • 20 minutes, 35 seconds
    • 15 minutes, 17 seconds
    • 3 days, 20 hours, 29 minutes, 42 seconds

    Description

      Some boxes are not usable, because they or their descendants don't have the scope in the database.

      This problem occurs in the following scenarios:

      • Opening any module of the broken Box
      • Opening the board module for parents of broken boxes

      Example of the stack trace:

      2020-10-12 20:35:49,228 [0109318] ERROR [SP-bigpicture-0109318.DefaultEventBusSingleJobExecutor-201074-t-0109318] [MultitenantJobContextProxyFactory] [TC:00000000] Token: 87d04b42a8dc630b178e021e1f00b1d445804118a5138fd1558b24b5801eb391a7ee16e32b3eb0faa3052e15d328fd8bf0f664d05e0ddefb16fe40e691a5b24f.1bf660defd508e4d8de12603f1220c4d41aa782d1087415bcc1f7ec14eac0eefce9144433d5baa48646c63d2bba4a35893626854386a05a86ff2cd24a7553fe3.Mon Oct 12 20:35:49 UTC 2020, 
      com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: Async event handling: BoxTeamsAllocationChangedEvent java.util.NoSuchElementException: No value present
          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.util.NoSuchElementException: No value present
          at java.util.Optional.get(Optional.java:135)
          at com.softwareplant.ppm.boxarea.task.scope.infrastructure.BoxScopeRepositoryImpl.getByBoxRefId(BoxScopeRepositoryImpl.java:46)
          at com.softwareplant.ppm.boxarea.task.scope.core.BoxScopeComponentImpl.getBoxScope(BoxScopeComponentImpl.java:24)
          at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at com.softwareplant.ppm.box.core.command.domain.box.proxy.BoxProxyHandlerLogger.invoke(BoxProxyHandlerLogger.java:29)
          at com.sun.proxy.$Proxy153.getBoxScope(Unknown Source)
          at com.softwareplant.ppm.boxarea.task.scope.core.OwnScopeBoxParentFinderImpl.getBoxScopeType(OwnScopeBoxParentFinderImpl.java:56)
          at com.softwareplant.ppm.boxarea.task.scope.core.OwnScopeBoxParentFinderImpl.getSelfOrOwnScopeParent(OwnScopeBoxParentFinderImpl.java:45)
          at com.softwareplant.ppm.agile.domain.box.AgileBoxRepository.getProgramBoxIdForBoxId(AgileBoxRepository.java:44)
          at com.softwareplant.ppm.box.schedule.scope.program.ProgramBoxTeamRepository.getTeamsByBoxId(ProgramBoxTeamRepository.java:38)
          at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableWbsFactory.createBoxWbsOfCorrectType(BoxConfigurableWbsFactory.java:57)
          at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableWbsFactory.createBoxWbs(BoxConfigurableWbsFactory.java:49)
          at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableWbsRepository.lambda$findBoxWbs$2(BoxConfigurableWbsRepository.java:67)
          at java.util.Optional.map(Optional.java:215)
          at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxConfigurableWbsRepository.findBoxWbs(BoxConfigurableWbsRepository.java:67)
          at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxAndWbsLifecycleSynchronizer.lambda$updateScopeConfigurations$0(BoxAndWbsLifecycleSynchronizer.java:78)
          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.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
          at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
          at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxAndWbsLifecycleSynchronizer.updateScopeConfigurations(BoxAndWbsLifecycleSynchronizer.java:80)
          at com.softwareplant.ppm.box.schedule.scope.core.command.domain.configuration.wbs.BoxAndWbsLifecycleSynchronizer.onBoxTeamsAllocationChanged(BoxAndWbsLifecycleSynchronizer.java:73)
          at com.softwareplant.util.concurrent.eventbus.AsyncEventBus$AsyncEventJob.call(AsyncEventBus.java:42)
          at com.softwareplant.util.concurrent.eventbus.AsyncEventBus$AsyncEventJob.call(AsyncEventBus.java:24)
          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:39)
          at com.softwareplant.system.tenant.core.endpoint.TenantActivationSystemEndpointInterceptor.invoke(TenantActivationSystemEndpointInterceptor.java:16)
          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:122)
          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:105)
          at com.softwareplant.system.tenant.core.concurrent.job.TenantSystemEndPointJobContext.call(TenantSystemEndPointJobContext.java:44)
          ... 11 more
      

      Attachments

        Activity

          People

            albert.cieslak Albert Cieślak
            albert.cieslak Albert Cieślak
            system.jenkins Jenkins , marcin.kozinski Marcin Koziński , system.gerrit Gerrit , grzegorz.duzy Grzegorz Duży , albert.cieslak Albert Cieślak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: