Problem Note 60825: A generic Java exception might occur when you create a process definition in SAS® Risk Finance Workbench
In SAS Risk Finance Workbench, a generic Java exception might occur when you are creating a process definition. If a ROLE name in a process definition is greater than 60, the following generic Java exception is generated:
ERROR com.sas.stress.util.MessageLoggingArrayList - Sheet "Tasks", line 3: invalid value in the "ROLE" column - Maximum length of 60 exceeded for "TestRoleName61CharactersInSMC01234567890123456789012345678901".
ERROR com.sas.stress.rest.controller.ControllerExceptionHandler - Generic exception handling for request:
http://< hostname:7980>/SASRiskandFinanceWorkbench/rest/tasks/definitions
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:899)
at java.lang.StringBuilder.substring(StringBuilder.java:72)
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:846)
at java.lang.StringBuilder.substring(StringBuilder.java:72)
at com.sas.stress.rest.services.ProcessOrchestrationService.importProcessDefinition (ProcessOrchestrationService.java:1645)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at com.sas.stress.util.EntryPointAspect.logAround(EntryPointAspect.java:58)
at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy276.importProcessDefinition(Unknown Source)
at com.sas.stress.rest.controller.ProcessOrchestrationController.uploadProcessDefinition(ProcessOrchestrationController.java:161)
at com.sas.stress.rest.controller.ProcessOrchestrationController$$FastClassBySpringCGLIB$$7fb3fc6a.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Risk and Finance Workbench | Microsoft® Windows® for x64 | 2.3 | 3.1 | 9.4 TS1M4 | 9.4 TS1M5 |
Linux for x64 | 2.3 | 3.1 | 9.4 TS1M4 | 9.4 TS1M5 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When you create a process definition, a generic Java exception might occur. If a ROLE name in a process definition is greater than 60, the generic Java exception is generated.
Type: | Problem Note |
Priority: | high |
Topic: | Analytics ==> Financial Analysis
|
Date Modified: | 2017-08-02 12:12:46 |
Date Created: | 2017-07-26 16:00:09 |