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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Vincent Chin [Atlassian], 1 year ago
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
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.