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 Oracle Community by 896370, 1 year ago
java.lang.Long cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String	at Thor.API.Operations.tcRequestOperationsClient.findRequests(Unknown Source)	at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)	at weblogic.security.Security.runAs(Security.java:41)	at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)	at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)	at $Proxy62.findRequests(Unknown Source)	at recon.CreateRequests.getProcessInstanceKey(CreateRequests.java:117)	at recon.CreateRequests.submitrequest(CreateRequests.java:204)	at recon.CreateRequests.execute(CreateRequests.java:54)	at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)	at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)	at weblogic.security.Security.runAs(Security.java:41)	at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)	at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)	at org.quartz.core.JobRunShell.run(JobRunShell.java:178)	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)