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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Vincent Chin [Atlassian],
  • Stack trace

    • 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(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.