java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String 2016-07-14 12:09:02.002954500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.lambda$getValue$0(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003005500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl$$Lambda$3629/22471835.apply(Unknown Source) 2016-07-14 12:09:02.003006500 at com.atlassian.fugue.Option.map(Option.java:272) 2016-07-14 12:09:02.003006500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.getValue(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003017500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.RuleMessageConversionHelper.getLongFromRuleMessage(RuleMessageConversionHelper.java:12) 2016-07-14 12:09:02.003019500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.loadIssue(IssueMessageHelperImpl.java:197) 2016-07-14 12:09:02.003049500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:139) 2016-07-14 12:09:02.003050500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:88) 2016-07-14 12:09:02.003061500 at sun.reflect.GeneratedMethodAccessor1802.invoke(Unknown Source) 2016-07-14 12:09:02.003061500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-07-14 12:09:02.003062500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-07-14 12:09:02.003062500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-07-14 12:09:02.003072500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003087500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)

Atlassian JIRA | Vincent Chin [Atlassian] | 5 months ago
  1. 0

    h2.Summary The SLA Time Remaining condition is broken. The error will happen whenever the SLA "when" condition is used. When used, the automation will not trigger. h2. Affected Versions ServiceDesk 3.3.0-OD-01-001-D20160706T042017+ in combination with Automation plugin 2.3.0-D20160705T014023+ .This was deployed during daily update on 12/07/2016 h2. Log visibility {noformat} [c.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.ClassCastException - java.lang.Long cannot be cast to java.lang.String'. {noformat} After setting ozymandias logger to debug: {noformat} 2016-07-14 12:09:02.002951500 2016-07-14 12:09:01,998 Caesium-1-1 DEBUG administrador.bi [c.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.ClassCastException - java.lang.Long cannot be cast to java.lang.String'. 2016-07-14 12:09:02.002953500 java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String 2016-07-14 12:09:02.002954500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.lambda$getValue$0(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003005500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl$$Lambda$3629/22471835.apply(Unknown Source) 2016-07-14 12:09:02.003006500 at com.atlassian.fugue.Option.map(Option.java:272) 2016-07-14 12:09:02.003006500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.getValue(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003017500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.RuleMessageConversionHelper.getLongFromRuleMessage(RuleMessageConversionHelper.java:12) 2016-07-14 12:09:02.003019500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.loadIssue(IssueMessageHelperImpl.java:197) 2016-07-14 12:09:02.003049500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:139) 2016-07-14 12:09:02.003050500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:88) 2016-07-14 12:09:02.003061500 at sun.reflect.GeneratedMethodAccessor1802.invoke(Unknown Source) 2016-07-14 12:09:02.003061500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-07-14 12:09:02.003062500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-07-14 12:09:02.003062500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-07-14 12:09:02.003072500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003087500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-07-14 12:09:02.003099500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-07-14 12:09:02.003099500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003100500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) 2016-07-14 12:09:02.003111500 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) 2016-07-14 12:09:02.003111500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003112500 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) 2016-07-14 12:09:02.003121500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003122500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) 2016-07-14 12:09:02.003132500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) 2016-07-14 12:09:02.003133500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003133500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) 2016-07-14 12:09:02.003142500 at com.sun.proxy.$Proxy4040.getIssue(Unknown Source) 2016-07-14 12:09:02.003142500 at com.atlassian.servicedesk.plugins.automation.modules.rulethen.WorkflowTransitionThenAction.invoke(WorkflowTransitionThenAction.java:59) 2016-07-14 12:09:02.003143500 at com.atlassian.servicedesk.plugins.automation.internal.module.ThenActionManagerImpl$3.onModuleShouldDisplay(ThenActionManagerImpl.java:148) 2016-07-14 12:09:02.003151500 at com.atlassian.servicedesk.plugins.automation.internal.module.ThenActionManagerImpl$3.onModuleShouldDisplay(ThenActionManagerImpl.java:137) 2016-07-14 12:09:02.003152500 at com.atlassian.servicedesk.plugins.automation.internal.descriptors.condition.ConditionAwarePluginPointFunction.onModule(ConditionAwarePluginPointFunction.java:20) 2016-07-14 12:09:02.003162500 at com.atlassian.ozymandias.SafePluginPointAccess$AccumulatingVisitor.visit(SafePluginPointAccess.java:602) 2016-07-14 12:09:02.003174500 at com.atlassian.ozymandias.SafePluginPointAccess.invokeModule(SafePluginPointAccess.java:528) 2016-07-14 12:09:02.003174500 at com.atlassian.ozymandias.SafePluginPointAccess.descriptors(SafePluginPointAccess.java:206) 2016-07-14 12:09:02.003175500 at com.atlassian.ozymandias.SafePluginPointAccess.descriptor(SafePluginPointAccess.java:215) 2016-07-14 12:09:02.003176500 at com.atlassian.ozymandias.SafePluginPointAccess.forKey(SafePluginPointAccess.java:136) 2016-07-14 12:09:02.003188500 at com.atlassian.ozymandias.SafePluginPointAccess.forKey(SafePluginPointAccess.java:114) 2016-07-14 12:09:02.003188500 at com.atlassian.servicedesk.plugins.automation.internal.module.ThenActionManagerImpl.executeThenAction(ThenActionManagerImpl.java:136) 2016-07-14 12:09:02.003189500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.RuleActionInvoker.executeThenAction(RuleActionInvoker.java:110) 2016-07-14 12:09:02.003200500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.RuleActionInvoker.invokeActions(RuleActionInvoker.java:92) 2016-07-14 12:09:02.003200500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.RuleProcessorImpl.processIfThen(RuleProcessorImpl.java:153) 2016-07-14 12:09:02.003214500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.RuleProcessorImpl.processImpl(RuleProcessorImpl.java:115) 2016-07-14 12:09:02.003215500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.RuleProcessorImpl.process(RuleProcessorImpl.java:87) 2016-07-14 12:09:02.003215500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.RuleProcessorImpl.doExecute(RuleProcessorImpl.java:59) 2016-07-14 12:09:02.003229500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.RuleProcessorImpl.doExecute(RuleProcessorImpl.java:39) 2016-07-14 12:09:02.003230500 at com.atlassian.servicedesk.plugins.automation.internal.module.RuleExecutionInterceptorManagerImpl.runInterceptors(RuleExecutionInterceptorManagerImpl.java:66) 2016-07-14 12:09:02.003239500 at com.atlassian.servicedesk.plugins.automation.internal.module.RuleExecutionInterceptorManagerImpl.access$100(RuleExecutionInterceptorManagerImpl.java:21) 2016-07-14 12:09:02.003240500 at com.atlassian.servicedesk.plugins.automation.internal.module.RuleExecutionInterceptorManagerImpl$TailInterceptorChain.next(RuleExecutionInterceptorManagerImpl.java:92) 2016-07-14 12:09:02.003253500 at com.atlassian.servicedesk.internal.automation.PortalContextRuleExecutionInterceptor$$anonfun$doIntercept$1.apply$mcV$sp(PortalContextRuleExecutionInterceptor.scala:21) 2016-07-14 12:09:02.003254500 at com.atlassian.servicedesk.internal.automation.PortalContextRuleExecutionInterceptor$$anonfun$doIntercept$1.apply(PortalContextRuleExecutionInterceptor.scala:21) 2016-07-14 12:09:02.003265500 at com.atlassian.servicedesk.internal.automation.PortalContextRuleExecutionInterceptor$$anonfun$doIntercept$1.apply(PortalContextRuleExecutionInterceptor.scala:21) 2016-07-14 12:09:02.003266500 at scala.Option.fold(Option.scala:158) 2016-07-14 12:09:02.003267500 at com.atlassian.servicedesk.internal.automation.PortalContextRuleExecutionInterceptor.doIntercept(PortalContextRuleExecutionInterceptor.scala:22) 2016-07-14 12:09:02.003277500 at com.atlassian.servicedesk.plugins.automation.internal.module.RuleExecutionInterceptorManagerImpl.runInterceptors(RuleExecutionInterceptorManagerImpl.java:72) 2016-07-14 12:09:02.003278500 at com.atlassian.servicedesk.plugins.automation.internal.module.RuleExecutionInterceptorManagerImpl.runInterceptors(RuleExecutionInterceptorManagerImpl.java:39) 2016-07-14 12:09:02.003290500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.ExecutionJobProcessorImpl.processWithInterceptors(ExecutionJobProcessorImpl.java:188) 2016-07-14 12:09:02.003291500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.ExecutionJobProcessorImpl$2.run(ExecutionJobProcessorImpl.java:175) 2016-07-14 12:09:02.003300500 at com.atlassian.servicedesk.plugins.automation.internal.execution.context.user.RunAsUserServiceImpl.runAsUser(RunAsUserServiceImpl.java:43) 2016-07-14 12:09:02.003301500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.ExecutionJobProcessorImpl.processInUserContext(ExecutionJobProcessorImpl.java:166) 2016-07-14 12:09:02.003386500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.ExecutionJobProcessorImpl.processJobImpl(ExecutionJobProcessorImpl.java:148) 2016-07-14 12:09:02.003387500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.process.ExecutionJobProcessorImpl.processJob(ExecutionJobProcessorImpl.java:85) 2016-07-14 12:09:02.003413500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.async.AsynchronousExecutionJobExecutor.execute(AsynchronousExecutionJobExecutor.java:33) 2016-07-14 12:09:02.003414500 at com.atlassian.servicedesk.plugins.automation.internal.execution.engine.async.AsynchronousExecutionThreadManagerImpl$ServiceDeskAutomationAsynchronousRuleExecutionJobRunner.runJob(AsynchronousExecutionThreadManagerImpl.java:95) 2016-07-14 12:09:02.003422500 at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153) 2016-07-14 12:09:02.003422500 at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118) 2016-07-14 12:09:02.003422500 at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97) 2016-07-14 12:09:02.003430500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:401) 2016-07-14 12:09:02.003431500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:369) 2016-07-14 12:09:02.003431500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:347) 2016-07-14 12:09:02.003437500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:255) 2016-07-14 12:09:02.003443500 at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:252) 2016-07-14 12:09:02.003444500 at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65) 2016-07-14 12:09:02.003444500 at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59) 2016-07-14 12:09:02.003449500 at com.atlassian.scheduler.caesium.impl.Sc {noformat} h2.Workaround There is no workaround.

    Atlassian JIRA | 5 months ago | Vincent Chin [Atlassian]
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String 2016-07-14 12:09:02.002954500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.lambda$getValue$0(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003005500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl$$Lambda$3629/22471835.apply(Unknown Source) 2016-07-14 12:09:02.003006500 at com.atlassian.fugue.Option.map(Option.java:272) 2016-07-14 12:09:02.003006500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.getValue(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003017500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.RuleMessageConversionHelper.getLongFromRuleMessage(RuleMessageConversionHelper.java:12) 2016-07-14 12:09:02.003019500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.loadIssue(IssueMessageHelperImpl.java:197) 2016-07-14 12:09:02.003049500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:139) 2016-07-14 12:09:02.003050500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:88) 2016-07-14 12:09:02.003061500 at sun.reflect.GeneratedMethodAccessor1802.invoke(Unknown Source) 2016-07-14 12:09:02.003061500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-07-14 12:09:02.003062500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-07-14 12:09:02.003062500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-07-14 12:09:02.003072500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003087500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
  2. 0

    h3.Summary When attempting to use the said post function, the post function doesn't set the value of the reporter field based on the value of the parent also it returns *Copy Field value to parent* error. There are 2 problems here when attempting to set the Reporter field value . * Reporter field is not set based on parent issue Reporter field value. * *Set Field Value from Parent* is returning an error for *Copy Field Value to Parent*. h3. Steps to Reproduce # Modify an existing project workflow; add the *Set Field Value from Parent* to the create issue transition. # Attempt to create a sub-task from an existing issue in the project. h3. Expected Results Sub-task reporter field is set to the parent ticket reporter h3.Actual Results Sub-task reporter is not set and when checking the logs, logs shows error for another post function, *Copy Field Value to Parent*. {quote} 2015-09-10 14:17:05.910418500 2015-09-10 14:17:05,904 ajp-nio-127.0.0.104-8009-exec-88 WARN sysadmin 857x19079x1 1hgmn2g 202.68.74.170,104.192.140.242 /secure/QuickCreateIssue.jspa [c.i.j.plugins.functions.CopyFieldValueFromParentFunction] Error while executing Copy Field Value to Parent function: java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910421500 java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-09-10 14:17:05.910436500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:879) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-09-10 14:17:05.910438500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-09-10 14:17:05.910439500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-09-10 14:17:05.910440500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-09-10 14:17:05.910440500 ... 3 filtered {quote}

    Atlassian JIRA | 1 year ago | Vincent Chin [Atlassian]
    java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124)
  3. 0

    h3.Summary When attempting to use the said post function, the post function doesn't set the value of the reporter field based on the value of the parent also it returns *Copy Field value to parent* error. There are 2 problems here when attempting to set the Reporter field value . * Reporter field is not set based on parent issue Reporter field value. * *Set Field Value from Parent* is returning an error for *Copy Field Value to Parent*. h3. Steps to Reproduce # Modify an existing project workflow; add the *Set Field Value from Parent* to the create issue transition. # Attempt to create a sub-task from an existing issue in the project. h3. Expected Results Sub-task reporter field is set to the parent ticket reporter h3.Actual Results Sub-task reporter is not set and when checking the logs, logs shows error for another post function, *Copy Field Value to Parent*. {quote} 2015-09-10 14:17:05.910418500 2015-09-10 14:17:05,904 ajp-nio-127.0.0.104-8009-exec-88 WARN sysadmin 857x19079x1 1hgmn2g 202.68.74.170,104.192.140.242 /secure/QuickCreateIssue.jspa [c.i.j.plugins.functions.CopyFieldValueFromParentFunction] Error while executing Copy Field Value to Parent function: java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910421500 java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) 2015-09-10 14:17:05.910433500 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) 2015-09-10 14:17:05.910436500 at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:879) 2015-09-10 14:17:05.910437500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:737) 2015-09-10 14:17:05.910438500 at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:636) 2015-09-10 14:17:05.910439500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:198) 2015-09-10 14:17:05.910440500 at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:163) 2015-09-10 14:17:05.910440500 ... 3 filtered {quote}

    Atlassian JIRA | 1 year ago | Vincent Chin [Atlassian]
    java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser 2015-09-10 14:17:05.910430500 at com.googlecode.jsu.util.WorkflowUtils.setFieldValue(WorkflowUtils.java:741) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.CopyFieldValueFromParentFunction.executeFunction(CopyFieldValueFromParentFunction.java:81) 2015-09-10 14:17:05.910431500 at com.innovalog.jmwe.plugins.functions.AbstractPreserveChangesPostFunction.execute(AbstractPreserveChangesPostFunction.java:124)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    bpelx:exec - how to get Schema document.

    Oracle Community | 1 decade ago | 527137
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement 06/09/19 14:49:25 at bpel.sfsdassignmentbatch.ExecLetBxExe7.execute(ExecLetBxExe7.java:114) 06/09/19 14:49:25 at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:49) 06/09/19 14:49:25 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:197) 06/09/19 14:49:25 at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3266) 06/09/19 14:49:25 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1696) 06/09/19 14:49:25 at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) 06/09/19 14:49:25 at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184) 06/09/19 14:49:25 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269) 06/09/19 14:49:25 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5239) 06/09/19 14:49:25 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1082) 06/09/19 14:49:25 at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:527) 06/09/19 14:49:25 at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:332) 06/09/19 14:49:25 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 06/09/19 14:49:25 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 06/09/19 14:49:25 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 06/09/19 14:49:25 at java.lang.reflect.Method.invoke(Method.java:585) 06/09/19 14:49:25 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35) 06/09/19 14:49:25 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) 06/09/19 14:49:25 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) 06/09/19 14:49:25 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) 06/09/19 14:49:25 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31) 06/09/19 14:49:25 at java.security.AccessController.doPrivileged(Native Method) 06/09/19 14:49:25 at javax.security.auth.Subject.doAs(Subject.java:396) 06/09/19 14:49:25 at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
  6. 0

    Weka: Use saved train model to run test on android

    Stack Overflow | 2 years ago | Mr Vy
    java.lang.ClassCastException: weka.classifiers.trees.J48 09-12 11:27:26.626: W/System.err(323): at vta.behaviourtrack.Classifier.onCreate(Classifier.java:72) 09-12 11:27:26.626: W/System.err(323): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 09-12 11:27:26.626: W/System.err(323): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611) 09-12 11:27:26.636: W/System.err(323): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663) 09-12 11:27:26.636: W/System.err(323): at android.app.ActivityThread.access$1500(ActivityThread.java:117) 09-12 11:27:26.647: W/System.err(323): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931) 09-12 11:27:26.647: W/System.err(323): at android.os.Handler.dispatchMessage(Handler.java:99) 09-12 11:27:26.657: W/System.err(323): at android.os.Looper.loop(Looper.java:123) 09-12 11:27:26.666: W/System.err(323): at android.app.ActivityThread.main(ActivityThread.java:3683) 09-12 11:27:26.666: W/System.err(323): at java.lang.reflect.Method.invokeNative(Native Method)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long cannot be cast to java.lang.String 2016-07-14 12:09:02.002954500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.lambda$getValue$0(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003005500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl$$Lambda$3629/22471835.apply(Unknown Source) 2016-07-14 12:09:02.003006500 at com.atlassian.fugue.Option.map(Option.java:272) 2016-07-14 12:09:02.003006500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.RuleMessageImpl.getValue(RuleMessageImpl.java:62) 2016-07-14 12:09:02.003017500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.RuleMessageConversionHelper.getLongFromRuleMessage(RuleMessageConversionHelper.java:12) 2016-07-14 12:09:02.003019500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.loadIssue(IssueMessageHelperImpl.java:197) 2016-07-14 12:09:02.003049500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:139) 2016-07-14 12:09:02.003050500 at com.atlassian.servicedesk.plugins.automation.internal.execution.message.helper.IssueMessageHelperImpl.getIssue(IssueMessageHelperImpl.java:88) 2016-07-14 12:09:02.003061500 at sun.reflect.GeneratedMethodAccessor1802.invoke(Unknown Source) 2016-07-14 12:09:02.003061500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-07-14 12:09:02.003062500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-07-14 12:09:02.003062500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) 2016-07-14 12:09:02.003071500 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) 2016-07-14 12:09:02.003072500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 2016-07-14 12:09:02.003087500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)

      at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke()
    2. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2 frames