Support Article
Unsupported operation exception - hasValidValue - DSM clipboard
SA-32941
Summary
Calling the DSM clipboard based streaming results in a java.lang.UnsupportedOperationException. While streaming an Offer in PegaMarketing which contains a datetime property in the DSM light clipboard context it throws an UnsupportedOperationException on the hasValidValue method. From the error message it looks like method hasValidValue is not yet implemented for DSMClipboard.
Error Messages
2017-01-06 16:51:40,088 [p: [Admin:MarketAdmins]] [ STANDARD] [ ] [ PegaDM:07.10] (e_HTML_Property.Default.Stream) ERROR - Section 'Default' execution error on page '' of class 'PegaMKT-Work-Offer-SharedIssue-SharedGroup'.
java.lang.UnsupportedOperationException
at com.pega.decision.dsm.strategy.clipboard.DSMClipboardPropertyAbstract.hasValidValue(DSMClipboardPropertyAbstract.java:129)
at com.pegarules.generated.html_property.ra_stream_default_baf17794682e8317fa5eb89510b52d08.execute(ra_stream_default_baf17794682e8317fa5eb89510b52d08.java:293)
at com.pega.pegarules.session.internal.mgmt.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:733)
at com.pega.pegarules.jsptags.ReferenceTag.appendFormattedProperty(ReferenceTag.java:708)
at com.pega.pegarules.jsptags.ReferenceTag.applyFormat(ReferenceTag.java:575)
at com.pega.pegarules.jsptags.ReferenceTag.doEndTag(ReferenceTag.java:408)
Steps to Reproduce
Create a datetime property and stream it with DSM light clipboard Or In PegaMarketing stream and offer with a datetime property.
Root Cause
A defect in Pegasystems’ code or rules
Resolution
Apply HFIX-31671
Published January 31, 2017 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.