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

Integer cannot be cast to java.lang.String error when clicking on Fix Integrity Checker

    XMLWordPrintable

Details

    • Tree
    • BigPicture, BigGantt
    • JIRA cloud
    • 43
    • 43
    • $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";}
    • 4 hours, 39 minutes, 46 seconds
    • 2 days, 56 minutes, 49 seconds
    • 1 day, 47 minutes, 22 seconds
    • 0
    • 0
    • 1 minute, 52 seconds
    • 6 days, 23 seconds

    Description

      Steps to reproduce

      • User should have tasks without any WBS. Out of scope of any Program Box.
      • Go to technical configuration -> Advanced
      • Click on Fix integrity checker button

      Expected result
      The button is working correctly. No error in app and in logs displayed.

      Observed result
      There is an error in logs as below:

      2020-10-14 01:46:50,322 [0099622] ERROR [SP-bigpicture-0099622.TaskIntegrityScheduledJobExecutor-154327-t-0099622] [MultitenantJobContextProxyFactory] [TC:00000000] Token: 1f64b5ed8069d853ffb46a2d834536f9c021fd1a0f82974d21f98b566f85e7b971ec9273883e644463a5fc9f71f95361b97de92910612f008f1c68cc6d60e3df.bc2d7ef25dc9286f41979c6b7a7418c3fb581f53b9829d13f90be091c62cfaddd2ec8206fd692c324663b1ad01b6a9f855f4707e34870e03b178b0925d332ae4.Wed Oct 14 01:46:50 UTC 2020, 
      com.softwareplant.util.concurrent.job.JobExecutionException: jobDescription: TaskIntegrityJob.TaskIntegrityJob java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
      	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.ScheduledJobExecutorImpl.lambda$schedule$0(ScheduledJobExecutorImpl.java:29)
      	at com.softwareplant.util.concurrent.job.CustomScheduledThreadPoolExecutor$LogOnExceptionRunnable.run(CustomScheduledThreadPoolExecutor.java:70)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      	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.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
      	at com.softwareplant.ppm.structure.core.infrastructure.integrity.TaskIntegrityJobFactory$TaskIntegrityJob.retainTasksToRemove(TaskIntegrityJobFactory.java:103)
      	at com.softwareplant.ppm.structure.core.infrastructure.integrity.TaskIntegrityJobFactory$TaskIntegrityJob.call(TaskIntegrityJobFactory.java:84)
      	at com.softwareplant.ppm.structure.core.infrastructure.integrity.TaskIntegrityJobFactory$TaskIntegrityJob.call(TaskIntegrityJobFactory.java:62)
      	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)
      	... 15 more
      

      Attachments

        Activity

          People

            sebastian.janda Sebastian Janda
            albert.cieslak Albert Cieślak
            system.jenkins Jenkins , katarzyna.rajchert Katarzyna Rajchert , maciej.bukrewicz Maciej Bukrewicz (Inactive) , rafal.zalewski Rafał Zalewski (Inactive) , tomasz.lewandowski Tomasz Lewandowski , system.gerrit Gerrit , radoslaw.rachuba Radosław Rachuba , evgeny.frolov Evgeny Frolov (Inactive) , igor.szymanczyk Igor Szymanczyk , 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: