Posted: 21 Aug 2017 5:56 EDT Last activity: 30 Aug 2017 6:27 EDT
class "java.lang.Long" does not match mode "String" of property
I am using @(Pega-RULES:DateTime).parseDateString(SelectedRelease.ReleaseDate) built in function in an activity's property set step. This activity is called by a data page (D_COMPLIANCERELEASE). I pass releaseId as parameter.
Inside the activity it calls an obj-open using this ID to retriew release data. The release data contains a value called "ReleaseDate" I have developed this using Pega 7.16 and it works fine. when I deploy the Pega 7.16 build file into Pega 7.15 it gives the same result and works fine. But when I try to do the same with Pega 7.17 and Pega 7.18 it gives me following error.
I got this error when i run the data page.
"Error loading RULE-DECLARE-PAGES D_COMPLIANCERELEASE #20170515T062233.540 GMT , ( 'CurrentReleaseID=RID9' ) , Reason : class "java.lang.Long" does not match mode "String" of property "D_ComplianceRelease.releaseStartDate". Details: Invalid value for aValue passed to com.pega.pegarules.data.internal.clipboard.ClipboardPropertyStrMinFeatureImpl.setValueOverride(Object)"
Could anyone help me to resolve this issue
Thanks and Regards
***Edited by Moderator Marissa to update categories***
Thank you for your response. I generated the Date time (Pega Rules) library and checked but same issue is there. I checked the signature in both Pega 7.16 and Pega 7.17. they look same. Please find the attached description of both version. image captions differenciate the version. Also find the tracer error attached. I also attached the property-set step.
Note: .releaseStartDate is a text property.
Could you please update with this further information provided.