DWPC ERROR (38): Invoking the custom action returned an error java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Digital Workplace Advanced


    APPLIES TO:

    3.x / 18.x / 19.x



    PROBLEM:

    ERROR (38): Invoking the custom action returned an error.  The current transaction is rejected. No update to the database occurs.] when using 'Create Entry' to write data to Remedy form: Example (SCS:Interface:CryptoUtilWS), this is a custom form.

    com.bmc.myservice.common.util.exception.MyServiceException: [ERROR (38): Invoking the custom action returned an error. 
    The current transaction is rejected. No update to the database occurs.]
        at com.bmc.myservice.common.util.exception.MyServiceExceptionUtils.rethrowRxException(MyServiceExceptionUtils.java:36)
        at com.bmc.myservice.common.util.SrvInterceptor.invoke(SrvInterceptor.java:31)
        at com.sun.proxy.$Proxy269.startProcessInstance(Unknown Source)
        at com.bmc.myservice.servicerequest.RegularSbeRequestHandlingStrategy$1.lambda$call$0(RegularSbeRequestHandlingStrategy.java:223)
        at com.bmc.myservice.servicerequest.ServiceRequestSrvImpl.withServiceRequestThreadLocal(ServiceRequestSrvImpl.java:3547)
        at com.bmc.myservice.servicerequest.RegularSbeRequestHandlingStrategy$1.call(RegularSbeRequestHandlingStrategy.java:222)
        at com.bmc.myservice.servicerequest.RegularSbeRequestHandlingStrategy$1.call(RegularSbeRequestHandlingStrategy.java:207)
        at com.bmc.myservice.common.util.HttpCallContext.lambda$wrapWithClonedHttpCallContext$0(HttpCallContext.java:115)
        at com.bmc.myservice.common.background.BackgroundTaskUtils.lambda$0(BackgroundTaskUtils.java:82)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    Caused by: com.bmc.arsys.server.rx.services.RxFrameworkException: [ERROR (38): Invoking the custom action returned an error. 
    The current transaction is rejected. No update to the database occurs.]
        at com.bmc.arsys.server.rx.services.action.DefaultCustomActionManager.invokeMethod(DefaultCustomActionManager.java:424)
        at com.bmc.arsys.server.rx.services.action.DefaultCustomActionManager.execute(DefaultCustomActionManager.java:286)
        at com.bmc.arsys.server.rx.services.action.DefaultCustomActionManager.execute(DefaultCustomActionManager.java:226)
        at com.bmc.arsys.server.rx.services.action.ActionServiceImpl.execute(ActionServiceImpl.java:203)
        at com.bmc.arsys.server.rx.services.process.ProcessServiceImpl.executeActivityInternal(ProcessServiceImpl.java:857)
        at com.bmc.arsys.server.rx.services.process.ProcessServiceImpl.executeActivity(ProcessServiceImpl.java:810)
        at com.bmc.arsys.server.rx.services.process.activiti.ServiceActionImpl.execute(ServiceActionImpl.java:52)
        at org.activiti.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34)
        at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)
        at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)
        at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:51)
        at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:40)
        at com.bmc.arsys.rx.processengine.business.domain.ArClassDelegate.execute(ArClassDelegate.java:39)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:54)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:66)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:116)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:454)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:105)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:54)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44)
        at org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.leave(AbstractBpmnActivityBehavior.java:47)
        at org.activiti.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:41)
        at com.bmc.arsys.rx.processengine.business.domain.ArClassDelegate.execute(ArClassDelegate.java:39)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:54)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:66)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:116)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:454)
        at org.activiti.engine.impl.bpmn.behavior.ExclusiveGatewayActivityBehavior.leave(ExclusiveGatewayActivityBehavior.java:73)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:54)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:66)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:116)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:44)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:454)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:105)
        at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:54)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44)
        at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:54)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStartInitial.eventNotificationsCompleted(AtomicOperationProcessStartInitial.java:45)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStart.eventNotificationsCompleted(AtomicOperationProcessStart.java:53)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:90)
        at com.bmc.arsys.rx.processengine.business.impl.interceptor.ArCommandContext.performOperation(ArCommandContext.java:119)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:629)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:624)
        at org.activiti.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:388)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:98)
        at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:1)
        at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)
        at com.bmc.arsys.rx.processengine.business.impl.cfg.ArCommandExecutorImpl.execute(ArCommandExecutorImpl.java:28)
        at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKeyAndTenantId(RuntimeServiceImpl.java:82)
        at com.bmc.arsys.server.rx.services.process.activiti.adapter.ProcessEngineAdapterImpl.startProcessInstance(ProcessEngineAdapterImpl.java:166)
        at com.bmc.arsys.server.rx.services.process.ProcessServiceImpl.startProcessInstance(ProcessServiceImpl.java:362)
        at com.bmc.myservice.common.rxproxy.ProcessServiceProxyImpl.startProcessInstance_aroundBody54(ProcessServiceProxyImpl.java:175)
        at com.bmc.myservice.common.rxproxy.ProcessServiceProxyImpl$AjcClosure55.run(ProcessServiceProxyImpl.java:1)
        at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
        at com.bmc.arsys.server.internal.aspects.ARTransactionalManager.manageTenantDbTransaction(ARTransactionalManager.java:271)
        at com.bmc.arsys.server.internal.aspects.ARTransactionalManager.manageTenantDbTransaction(ARTransactionalManager.java:257)
        at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageRxInstanceTransaction(AspectHelperImpl.java:380)
        at com.bmc.arsys.rx.services.common.aspect.TransactionMangerAspect.manageRxInstanceTransaction(TransactionMangerAspect.java:102)
        at com.bmc.myservice.common.rxproxy.ProcessServiceProxyImpl.startProcessInstance_aroundBody56(ProcessServiceProxyImpl.java:174)
        at com.bmc.myservice.common.rxproxy.ProcessServiceProxyImpl$AjcClosure57.run(ProcessServiceProxyImpl.java:1)
        at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:229)
        at com.bmc.arsys.server.internal.aspects.AccessControlInterceptor.monitorFacadeMethod(AccessControlInterceptor.java:361)
        at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageAccessControl(AspectHelperImpl.java:187)
        at com.bmc.arsys.rx.services.common.aspect.AccessControlAspect.monitorMethod(AccessControlAspect.java:69)
        at com.bmc.myservice.common.rxproxy.ProcessServiceProxyImpl.startProcessInstance_aroundBody58(ProcessServiceProxyImpl.java:174)
        at com.bmc.myservice.common.rxproxy.ProcessServiceProxyImpl$AjcClosure59.run(ProcessServiceProxyImpl.java:1)
        at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
        at com.bmc.arsys.server.rx.services.common.aspect.AspectHelperImpl.manageDesignCall(AspectHelperImpl.java:506)
        at com.bmc.arsys.rx.services.common.aspect.DesignCallAspect.monitorMethod(DesignCallAspect.java:76)
        at com.bmc.myservice.common.rxproxy.ProcessServiceProxyImpl.startProcessInstance(ProcessServiceProxyImpl.java:174)
        at com.bmc.myservice.process.ProcessSrvImpl.startProcessInstance(ProcessSrvImpl.java:844)
        at sun.reflect.GeneratedMethodAccessor2775.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.bmc.myservice.common.util.SrvInterceptor.invoke(SrvInterceptor.java:27)
        ... 11 more
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor3192.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.bmc.arsys.server.rx.services.action.DefaultCustomActionManager.invokeMethod(DefaultCustomActionManager.java:412)
        ... 217 more
    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
        at com.bmc.myservice.connect.ar.api.ArApiManager.convertToARValue(ArApiManager.java:558)
        at com.bmc.myservice.connect.ar.api.ArApiManager.convertToAREntry(ArApiManager.java:533)
        at com.bmc.myservice.connect.ar.api.ArApiManager.createEntry(ArApiManager.java:422)
        at com.bmc.myservice.connect.ar.api.ArApiManager.createEntry(ArApiManager.java:385)
        at com.bmc.myservice.connect.remedy.service.CrudOnAnyFormService.createEntry(CrudOnAnyFormService.java:40)
        at com.bmc.myservice.connect.remedy.service.RemedyService.createEntry(RemedyService.java:809)
        ... 221 more
     


    CAUSE:

    Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number Error due maping a string in a number field


    SOLUTION:

    Change mapping to correct format


    Article Number:

    000171600


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles