Skip to main content
Known Participant
April 14, 2021
Solved

error tracing

  • April 14, 2021
  • 3 replies
  • 1 view

Hi 

How would I trace the ID highlighted below?

Problem:  An error occurred in executing an Activity Class.

Details:  An error occurred while trying to write to the entity “Address_Change” [id=39a31850-1255-4783-85ab-d8548142c140@2029, type=Address_Change (id=3516)] (data store: xxx Data Store). Details: java.lang.ClassCastException: The value of type 'class java.lang.String' must be of type 'class java.lang.Integer' Data:

Getting this error. Any help would be greatly appreciated

New to appian.

Thanks in advance

    Best answer by harshas2775

    Please check the column definitions in database and CDT. Looks like at one place some CDT column is defined as Integer and at another its String. Making the data type consistent in both places should resolve this error. 

    3 replies

    harshas2775
    Brainy
    April 15, 2021

    Please check the column definitions in database and CDT. Looks like at one place some CDT column is defined as Integer and at another its String. Making the data type consistent in both places should resolve this error. 

    Inspiring
    April 15, 2021

    Hi ,

    It looks like you have defined the cdt field as Interger and storing the String value. So just check the CDT 

    vipint0001
    New Participant
    April 15, 2021

    Hii, As It is a ClassCastException, It is expecting an Integer value and getting String type. May be you have defined field in the CDT as Integer and passing a String for it.