Question

5
Replies
373
Views
RiyazM03 Member since 2016 6 posts
VirtusaPolaris
Posted: August 21, 2017
Last activity: August 30, 2017
Closed
Solved

class "java.lang.Long" does not match mode "String" of property

Hi,

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

Riyaz

***Edited by Moderator Marissa to update categories***

Data Integration
Moderation Team has archived post
Share this page LinkedIn