SAP Knowledge Base Article - Public

2564470 - Error "CX_SY_MOVE_CAST_ERROR" when entering an invalid value in variable screen

Symptom

The exception below occurs in Analysis Office when entering an invalid value in variable screen:

------------------
An exception with the type CX_SY_MOVE_CAST_ERROR was raised, but was not handled locally or declared in a RAISING clause.
------------------

The trace of Analysis Office (see note 2129389) contains the following entries:

------------------
>> General .NET Exception:
Object reference not set to an instance of an object.
at IKVM.Internal.DotNetTypeWrapper.GetName(Type type)
at IKVM.Internal.AssemblyClassLoader.GetWrapperFromAssemblyType(Type type)
at IKVM.Internal.ClassLoaderWrapper.GetWrapperFromType(Type type)
at IKVM.NativeCode.bali.lang.ExceptionHelper.getClassNameFromType(Type type)
at bali.lang.ExceptionHelper.ExceptionInfoHelper.Append(ArrayList list1, StackTrace trace1, Int32 num1)
at bali.lang.ExceptionHelper.ExceptionInfoHelper.get_StackTrace(Exception exception1)
at bali.lang.ExceptionHelper.getStackTrace(Exception x)
...
------------------

The following errors occur when executing the trace in RSTT transaction:

------------------
An exception with the type CX_SY_MOVE_CAST_ERROR was raised, but was not handled locally or declared in a RAISING clause.
Source type \CLASS=CL_RSBOLAP_VARIABLE_CHARACTERI is not compatible, for the purposes of assignment, with target type ...
ERISTIC
CL_RSBOLAP_DYN_DATA_GENERATOR >> Row: Inc: 57 Prog: CREATE_CATALOG_FROM_CHAR
------------------

Environment

SAP Analysis for Microsoft Office

Reproducing the Issue

  1. Insert a data source in Analysis Office;
  2. Try to enter an invalid value in variable screen;
  3. Confirm the exception; 

Resolution

Implement SAP note 2491626 in the BW system.

See Also

2491626 - Java BICS: regression on emtpy variable value help

Keywords

CX_SY_MOVE_CAST_ERROR, error, exception, variable, invalid, incorrect, validation, prompt, prompts , KBA , BI-RA-AO-XLA , Excel Addin , BW-BEX-ET , Enduser Technology , Problem

Product

SAP Analysis for Microsoft Office all versions