Question

62
Views
hiray Member since 2017 9 posts
PEGA
Posted: 3 months ago
Last activity: 3 months 2 weeks ago
Solved

Error in "Auto-map all data" (JSON) in Data Transform

こんにちは、

Connect-Rest POSTメソッドを使用して応答をクリップボードにマッピングします。 データ変換を使用してクリップボード情報をJSONにマッピングします。(すべてのデータオプションの自動マップ)一部のプロパティ情報はpzExternalNameを使用し、一部は成功し、一部は失敗します。

成功

     "カスタム":{          "id1": "ダミーデータ"         、 "id2": "ダミーデータ"       }

不合格

     "カスタム":{          "0": "ダミーデータ"         、 "1": "ダミーデータ"       }  

Connect-RESTでMap to JSONを使用すると、成功します。Mapto Clipboardを使用してデータ変換でマッピングを使用すると、エラーが発生します。DataTransformでマッピングするときにpzExternalNameが数値を使用できないかどうか教えてください。

外部サービスの仕様によると、Connect-RestのMap to JSONオプションを使用した場合、通常のレスポンス以外のエラーでHTMLが返されてエラーが発生するため、このメソッドは使用できません。

 

エラーログ

*****

2020-06-10 00:00:00,000 [ttp-nio-8080-exec-16] [STANDARD] [] [App:01.01.01](ngineinterface.service.HttpAPI)エラーxx.xx.xxx.xx | xx .xx.xx.xx pocuser-xx.xx.xx.xx:com.pega.pegarules.pub.PRRuntimeError  com.pega.pegarules.pub.PRRuntimeError:com.pega.pegarules.session.internal.mgmt.base      でのPRRuntimeError .ThreadRunner.runActivitiesAlt(ThreadRunner.java:713)〜[prprivate.jar :?]      at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:490)〜[prprivate.jar :?]      com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3813)〜[prprivate.jar :?]      com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:438)〜[prenginext.jar :?]      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)〜[?:? ]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1.8.0_211]      at java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_211]      at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1382)〜[prprivate.jar :?]      at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1114)で[prprivate.jar :?]      com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:968)〜[prprivate.jar :?]      at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI。 java:361)〜[prenginext.jar :?]      at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:892)〜[prprivate.jar :?]      at com.pega。 pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331)〜[prprivate.jar :?]      at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngineで(EngineImpl.java:274)〜[prprivate.jar :?]      com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251)〜[prprivate.jar :?]      at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner( JNDIEnvironment.java:275)〜[prpublic.jar :?]      at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:220)〜[prpublic.jar :?]      at com.pega.pegarules。 web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:728)〜[prwebj2ee.jar :?]      at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:412)〜[prwebj2ee.jar :? ]      at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)〜[?:?]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1.8.0_211]      java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_211]      at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:381)〜[prbootstrap- 8.2.1-214.jar:8.2.1-214]      at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:422)〜[prbootstrap-8.2.1-214.jar:8.2.1     -214 ]  at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)〜[prbootstrap-api-8.2.1-214.jar:8.2.1-214]      at com.pega .pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)〜[prbootstrap-api-8.2.1-214.jar:8.2.1-214]      com.pega.pegarulesのcom.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:141)〜[prbootstrap-api-8.2.1-214.jar:8.2.1-214]      にあります。 internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:102)〜[prbootstrap-api-8.2.1-214.jar:8.2.1-214]      at javax.servlet.http.HttpServlet.service(HttpServlet.java :634)〜[servlet-api.jar :?]      at com.pega.pegarules.internal.web.servlet.WebStandardBoot.service(WebStandardBoot.java:167)〜[prbootstrap-api-8.2.1-214.jar: 8.2.1-214]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)〜[servlet-api.jar :?]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 231)〜[catalina.jar:9.0.20]      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)     にあるorg.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)にある[catalina.jar:9.0.20]  〜[tomcat-websocket.jar:9.0.20]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)〜[catalina.jar:9.0.20]      at org.apache.catalina.core。 ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)〜[catalina.jar:9.0.20]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)〜[catalina.jar:9.0.20]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)〜[catalina.jar:9.0.20]      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)〜[catalina.jar:9.0.20]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)〜[ catalina.jar:9.0.20]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)〜[catalina.jar:9.0.20]      at org.apache.catalina.valves.AbstractAccessLogValve.invoke( AbstractAccessLogValve.java:678)〜[catalina.jar:9.0.20]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)〜[catalina.jar:9.0.20]      at org.apache。 catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)〜[catalina.jar:9.0.20]      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)〜[tomcat-coyote.jar:9.0.20]      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)〜[ tomcat-coyote.jar:9.0.20]      at org.apache.coyote.AbstractProtocol $ ConnectionHandler.process(AbstractProtocol.java:836)〜[tomcat-coyote.jar:9.0.20]      at org.apache.tomcat.util。 net.NioEndpoint $ SocketProcessor.doRun(NioEndpoint.java:1839)〜[tomcat-coyote.jar:9.0.20]      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)〜[tomcat -coyote.jar:9.0.20]      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[?:1.8.0_211]      at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)[?:1.8.0_211]      at org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run(TaskThread.java:61)〜 [tomcat-util.jar:9.0.20]      at java.lang.Thread.run(Thread.java:748)[?:1.8.0_211]  原因:com.pega.pegarules.pub.clipboard.InvalidReferenceException:参照0は無効です。理由:無効なプロパティ名:      com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.setName(ClipboardPropertyBase.java:1690)〜[prprivate.jar :?]      at com.pega.pegarules.data.internal .clipboard.ClipboardPageImpl.put(ClipboardPageImpl.java:1881)〜[prprivate.jar :?]      com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getProperty(ClipboardPageImpl.java:812)〜[prprivate.jar :?]      at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getProperty(ClipboardPageImpl。 java:706)〜[prprivate.jar :?]      at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.getProperty(ClipboardPropertyBase.java:1562)〜[prprivate.jar :?]      at com.pega.pegarules。 data.internal.clipboard.mapping.json.ClipboardJSONDeserializer.createChildProperty(ClipboardJSONDeserializer.java:401)〜[prprivate.jar :?]      at com.pega.pegarules.data.internal.clipboard.mapping.json.ClipboardJSONDeserializer.populateClipboardWithJipizerClipboardWithJoseDlipizer .java:261)〜[prprivate.jar :?]      com.pega.pegarules.data.internal.clipboard.mappingでcom.pega.pegarules.data.internal.clipboardJSONDeserializer.populateClipboardPage(ClipboardJSONDeserializer.java:116)〜[prprivate.jar :?]      にcom.pega.pegarules.data.internal.clipboard.mapping.json.ClipboardJSONDeserializer。 json.ClipboardJSONMapper.deserialize(ClipboardJSONMapper.java:41)〜[prprivate.jar :?]      :com.pegarules.generated.model.ra_model_jsonmap_1543710cf1186964501c2824138f359c.performで(ra_model_jsonmap_1543710cf1186964501c2824138f359c.java:70)〜[?]      com.pegaで。 pegarules.session.internal.mgmt.Executable.applyModel(Executable.java:4503)〜[prprivate.jar :?]      com.pegarules.generated.activity.sh_action_filelist_f9e40c32255c5fa737129c1f50d51ae6.step10_circum0(sh_action_filelist_f9e40c32255c5fa737129c1f50d51ae6.java:852)で〜[?:? ]      com.pegarules.generated.activity.sh_action_filelist_f9e40c32255c5fa737129c1f50d51ae6.perform(sh_action_filelist_f9e40c32255c5fa737129c1f50d51ae6.java:244)〜[?:?]      でcom.pega.pegarules.java.able.Excutable.Excution.Excutive.Excution.Excution.Excution.Ext.External.Externalmg prprivate.jar :?]      at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:2133)〜[prprivate.jar :?]      at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_025cb29e81d295d991d2ed2step2d0dumd5dd2dd20e1d75d0d0d2d75d0d0e2d0d0e0d0e0e0e0e0e0e0e0e0e3e0e0e0e0e0e0e0e0e0ee0e0e0e0e0e0e方に引き付けられました。 ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.java:276)〜[:??]      com.pegarules.generated.activity.ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.performで(ra_action_pyrunrecordexecute_025cb29e81d295d991d37ad8d1e40455.java:90)〜[:??]      com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695)〜[prprivate.jar :?]      at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable。 Javaの:10961)〜[prprivate.jar :?]      com.pegarules.generated.activity.ra_action_pzrunrecordexecute_f4ac7e72a6eb3491929444ab39097588.step11_circum0で(ra_action_pzrunrecordexecute_f4ac7e72a6eb3491929444ab39097588.java:1026)〜[:??]      com.pegarules.generated.activity.ra_action_pzrunrecordexecute_f4ac7e72a6eb3491929444ab39097588.performで( ra_action_pzrunrecordexecute_f4ac7e72a6eb3491929444ab39097588.java:248)〜[?:?]      at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2695)〜[prprivate.jar :?]      com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)〜[prprivate.jar :?]で      ... 52以上 

*****

 

宜しくお願いします、

Pega Platform 8.2.1 Data Integration Java and Activities
Share this page LinkedIn