Support Article

Issue while connecting to CMIS using Pega Survey

SA-27894

Summary



Repository is not getting loaded on connect CMIS rule when connecting to Enterprise Content Management system.
User has Pega Survey framework installed, which is the cause of the issue.


Error Messages



Log file error:

com.pega.pegarules.pub.clipboard.WrongModeException: The property D_pzGetRepositoryMap_pa1467037397618778066pz.pyValue was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getObjectValue() was expecting Java Object mode.  Details: (none)
    at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.getObjectValue(ClipboardPropertyBase.java:2000)
    at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getObject(ClipboardPageImpl.java:1893)
    at com.pegarules.generated.activity.ra_action_pzgetrepositorynames_e442c875eaf48926faae7906916a3256.step1_circum0(ra_action_pzgetrepositorynames_e442c875eaf48926faae7906916a3256.java:186)
    at com.pegarules.generated.activity.ra_action_pzgetrepositorynames_e442c875eaf48926faae7906916a3256.perform(ra_action_pzgetrepositorynames_e442c875eaf48926faae7906916a3256.java:69)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
    at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runRule(DeclarativePageDirectoryImpl.java:994)
    at com.pega.pegarules.exec.internal.declare.infengine.pages.DeclarativePageDirectoryImpl.runLoadActivity(DeclarativePageDirectoryImpl.java:452)
    at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.loadDataPage(ReadOnlyDataPageHandler.java:236)
    at com.pega.pegarules.session.internal.mgmt.base.handler.ReadOnlyDataPageHandler.findDataPage(ReadOnlyDataPageHandler.java:384)
    at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.findDataPageInCurrentDir(AbstractPageDirectory.java:920)
    at com.pega.pegarules.session.internal.mgmt.base.AbstractPageDirectory.getDirectPage(AbstractPageDirectory.java:713)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getDirectPage(ThreadPageDir.java:473)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadPageDir.getPage(ThreadPageDir.java:431)
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.getPage(PRThreadImpl.java:539)
    at com.pega.pegarules.session.internal.mgmt.Executable.findPage(Executable.java:2081)
    at com.pega.pegarules.session.internal.mgmt.Executable.findPage(Executable.java:2034)
    at com.pega.pegarules.session.internal.mgmt.Executable.findPage(Executable.java:2016)
    at com.pegarules.generated.html_section.ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.pxDropdown_2(ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.java:448)
    at com.pegarules.generated.html_section.ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.simpleLayoutCell_4(ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.java:616)
    at com.pegarules.generated.html_section.ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.simpleLayout_3(ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.java:658)
    at com.pegarules.generated.html_section.ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.pzLayoutBodyWrapper_3(ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.java:295)
    at com.pegarules.generated.html_section.ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.pzLayout_3(ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.java:675)
    at com.pegarules.generated.html_section.ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.pzSectionBody_1(ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.java:274)
    at com.pegarules.generated.html_section.ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.execute(ra_stream_pzcmisserverlayout_85a6548ad4c781f3e41e7f19a40eee43.java:102)
    at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4033)
    at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream(AutoStreamRuleRuntime.java:149)
    at com.pegarules.generated.html_section.ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.includeSectionBody_1(ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.java:412)
    at com.pegarules.generated.html_section.ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.pzLayoutBodyWrapper_1(ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.java:401)
    at com.pegarules.generated.html_section.ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.pzLayout_1(ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.java:417)
    at com.pegarules.generated.html_section.ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.pzSectionBody_1(ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.java:237)
    at com.pegarules.generated.html_section.ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.execute(ra_stream_pzmainlayout_4e90dd720e0981a1243a97ec0c6b9f15.java:100)
    at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4033)
    at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream(AutoStreamRuleRuntime.java:149)
    at com.pegarules.generated.html_section.ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.includeSectionBody_2(ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.java:294)
    at com.pegarules.generated.html_section.ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.pzLayoutBodyWrapper_2(ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.java:280)
    at com.pegarules.generated.html_section.ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.pzGroup_1(ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.java:408)
    at com.pegarules.generated.html_section.ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.pzSectionBody_1(ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.java:215)
    at com.pegarules.generated.html_section.ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.execute(ra_stream_ruleformlayout_050a711d23daf7eaada657001cc14ff7.java:100)
    at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4033)
    at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream(AutoStreamRuleRuntime.java:149)
    at com.pegarules.generated.html_section.ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.includeSectionBody_7(ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.java:678)
    at com.pegarules.generated.html_section.ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.pzLayoutBodyWrapper_10(ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.java:664)
    at com.pegarules.generated.html_section.ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.pzLayout_10(ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.java:683)
    at com.pegarules.generated.html_section.ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.pzSectionBody_2(ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.java:245)
    at com.pegarules.generated.html_section.ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.executeStream_2(ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.java:1509)
    at com.pegarules.generated.html_section.ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.execute(ra_stream_ruleformmain_bcbafca26259292e63b9e63318d430ca.java:94)
    at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4033)
    at com.pega.pegarules.session.internal.mgmt.autostreams.AutoStreamRuleRuntime.getSectionStream(AutoStreamRuleRuntime.java:149)
    at com.pegarules.generated.html_harness.ra_stream_ruleform_8ef61cd667f0c817e6aad4ad95a77d91.includeSectionBody_1(ra_stream_ruleform_8ef61cd667f0c817e6aad4ad95a77d91.java:2961)
    at com.pegarules.generated.html_harness.ra_stream_ruleform_8ef61cd667f0c817e6aad4ad95a77d91.generatePegaHarnessDiv_6(ra_stream_ruleform_8ef61cd667f0c817e6aad4ad95a77d91.java:1775)
    at com.pegarules.generated.html_harness.ra_stream_ruleform_8ef61cd667f0c817e6aad4ad95a77d91.execute(ra_stream_ruleform_8ef61cd667f0c817e6aad4ad95a77d91.java:670)
    at com.pega.pegarules.session.internal.mgmt.Executable.getStream(Executable.java:4033)
    at com.pegarules.generated.activity.ra_action_showharnessrule_26f678dfb0bffdec4b4f2305b41f380f.step2_circum0(ra_action_showharnessrule_26f678dfb0bffdec4b4f2305b41f380f.java:194)
    at com.pegarules.generated.activity.ra_action_showharnessrule_26f678dfb0bffdec4b4f2305b41f380f.perform(ra_action_showharnessrule_26f678dfb0bffdec4b4f2305b41f380f.java:70)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
    at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
    at com.pegarules.generated.activity.ra_action_pzopenharness_805829637271b581c4d46bfc01e36566.step5_circum0(ra_action_pzopenharness_805829637271b581c4d46bfc01e36566.java:480)
    at com.pegarules.generated.activity.ra_action_pzopenharness_805829637271b581c4d46bfc01e36566.perform(ra_action_pzopenharness_805829637271b581c4d46bfc01e36566.java:144)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
    at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
    at com.pegarules.generated.activity.ra_action_wbopen_636ddc8d3c8d3933fb470ef82428b1d6.step27_circum0(ra_action_wbopen_636ddc8d3c8d3933fb470ef82428b1d6.java:2404)
    at com.pegarules.generated.activity.ra_action_wbopen_636ddc8d3c8d3933fb470ef82428b1d6.perform(ra_action_wbopen_636ddc8d3c8d3933fb470ef82428b1d6.java:593)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
    at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
    at com.pegarules.generated.activity.ra_action_douiaction_3438e1b79be3fba9725d7cc6be896f92.step26_circum0(ra_action_douiaction_3438e1b79be3fba9725d7cc6be896f92.java:2641)
    at com.pegarules.generated.activity.ra_action_douiaction_3438e1b79be3fba9725d7cc6be896f92.perform(ra_action_douiaction_3438e1b79be3fba9725d7cc6be896f92.java:492)
    at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
    at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
    at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461)
    at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3322)
    at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:385)
    at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)


Steps to Reproduce



1). Create SOAP Server and select any CMIS provider.
2). Create Connect CMIS Rule and select the server type as SOAP / ATOM, select the server instance.
3). Save the connect CMIS rule.
4). Now the Repository should have the list of repository but it does not show any value.


Root Cause



Since there is no pyValue property in SingleValue-JavaObject, RuleResolution picks it from @baseclass which happens to be a text property, as it is picking up a property which has a different mode, which is leading to "WrongMode" exception. Issue occurs with the installation of Pega Survey framework.

Resolution



Apply HFix-29389, which will introduce a new 'pyValue' property of JavaObject mode in SingleValue-JavaObject class.

Published September 13, 2016 - Updated December 15, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.