HA模式下动态表单内的动态视图对象

时间:2018-02-07 10:29:04

标签: oracle-adf

此问题在HA模式下无法重现

我们在HA模式下遇到动态表单中动态视图对象的应用程序问题。如下所示,我们在UI中有一个动态表单,它绑定到动态视图对象:

<dynamic:form value="#{bindings.ZcqDqInput1Iterator}" id="idf" />

ZcqDqInput1Iterator绑定AM中的动态视图对象:

<iterator Binds="ZcqDqInput1" RangeSize="25"    DataControl="DQRealTimeUtilityAMDataControl"    id="ZcqDqInput1Iterator"/>

最近,应用程序已启用HA模式,以处理钝化和激活方案。我已在AM中覆盖activateState以重新创建视图对象。绑定到视图对象ZcqDqInput1。

从某些步骤导航到此屏幕会显示以下错误:

Caused by: oracle.jbo.InvalidParamException: JBO-25006: Value 00010000000EACED00057708FFFFFFFFFFFFFFFF passed as parameter String to method Constructor:Key is invalid: {3}.
at oracle.jbo.Key.parseBytes(Key.java:543)
at oracle.jbo.Key.<init>(Key.java:185)
at oracle.jbo.server.IteratorStateHolder.getCurrentRowKey(IteratorStateHolder.java:35)
at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3998)
at oracle.jbo.server.ViewRowSetIteratorImpl.getRangeSize(ViewRowSetIteratorImpl.java:646)
at oracle.jbo.server.ViewRowSetImpl.getRangeSize(ViewRowSetImpl.java:3194)
at oracle.jbo.server.ViewObjectImpl.getRangeSize(ViewObjectImpl.java:12199)
at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:2114)
at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1854)

0 个答案:

没有答案