JBO-25006

Hi all,
When I'm inserting rows into Table, it throws error JBO-25006-Out of Index exception, I'm inserting the row in advanced table and I need to add multiple rows at a time.

Hi,
I doubt you may be creating a row at particular index, which doesn't exist. I also faced the same problem and used following code in one of my project.
public void createNewRow(int count)
XXEGASRLinesVOImpl vo =getXXEGASRLinesVO1();
Row row1 ;
int i;
Row row[] = vo.getAllRowsInRange();
for ( i=count;i<10;)
row1 = vo.createRow();
vo.last();
vo.next();
vo.insertRow(row1);
//vo.insertRowAtRangeIndex(i,row1);
//row1.setNewRowState(Row.STATUS_INITIALIZED);
i++;
Hope this will resolve your problem.
Regards,
Reetesh Sharma

Similar Messages

  • VO Substitution : JBO-25006 : Invalid parameter value passed for source

    Hello All,
    I want to add 2 new fields (attribute columns) to an existing VO for which I am trying to use VO substitution. I have followed these steps.
    1.     Downloaded all the class files from server to local machine
    2.     Opened an OA project and extended the VO by changing sql query to add 2 attribute columns
    3.     Added 2 transient VO attributes to map them to the added fields in sql query
    4.     Create a BC4J substitution and imported jpx file using jpximporter
    While opening the page which consisted the original VO that I extended (creditRequestsVO), I am getting below error. Appreciate if anyone can throw any light on this.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Edited by: Bhavesh J Shah on Feb 22, 2010 1:58 AM

    Hi Rama,
    Parameter being passted to LeadHeaderDetailsVO is not right. Check the parameter values that are being passed,wether there are right or not
    Thanks
    Sandeep

  • Oracle.jbo.Key Constructor giving Exception

    Getting the following exception when trying to pass a URL parameter called "Leadid" with value=1129 (....?LeadId=1129) in a ADF-Faces/ADF BC scenario :
    oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value 1129 for String passed to method Constructor:Key. Explanation: {3}
         at oracle.jbo.Key.parseBytes(Key.java:482)
         at oracle.jbo.Key.<init>(Key.java:181)
    This is happening when navigating to a Faces page using the above URL parameter. do I need to do anythign special when passing URL params and later use that with "setCurrentRowWithKey" operation?

    Shailesh,
    You are right! I misunderstood the other thread issue.
    I will modify my source code, using the type factory (oracle.jbo.domain.TypeFactory) as you suggested.
    Thanks
    Gleber
    Shailesh,
    You should use the constructor Key(Object[] values) to create a key when you know the Structure of the key.
    So in your case it'd be
    keyvals = new Key(new Object[] {idClassificacaoTipo});I'm using a generic ViewObject. I do not know it's Primary Key datatype.You can call ViewObject.getKeyAttributeDefs() to get the attribute definitions for each of the attributes that make up the key. AttributeDef.getJavaType() gives you the type of the object you need as part of the key.
    So you could do something like:
    oracle.jbo.domain.TypeFactory.getInstance(AttributeDefInstance.getJavaType(), myKeyPartVariable)
    to get the right java object to pass to the Object[] in the Key (Object[]) constructor.
    The undocumented constructor you're using accepts string values that represent serialized Key string obtained from Key.toStringFormat() method and is used in web-app scenarios. I'm using the undocumented as suggested in this thread:
    Re: resize rollback
    I'm using the constructor Key(String, AttributeDef[]) in many parts of my source code with no problems, and it's behavior is the same as using Key(Object[]).
    What is happening?The String constructor usage is limited to key strings obtained from toStringFormat method. Any other usage will lead to potential problem like you're seeing. And that's the assumption in other thread as well.

  • Error while changing a table´s display range.

    Hi,
    im working on an ADF 10 application with jdev 10.3.4. I have a table populated by an iterator which calls my View Object. The resulting query seems to be ok, returning 35 rows. The table range is set to the first 10. When a select a row, it takes me to my detail page, so far so good. The problem is when I set the table to "show all" rows. From that point on, whenever a select one of the first 12 rows I get this error:
    oracle.jbo.InvalidParamException: JBO-25006: Invalid param value_ br.com.br.sales.service.politicacredito.SolicitacoesCreditoVORowImpl row to method_ ViewRowSetIteratorImpl.scrollRangeTo. Explicação: not in the row set
         at oracle.jbo.server.ViewRowSetIteratorImpl.scrollRangeTo(ViewRowSetIteratorImpl.java:1374)
         at oracle.jbo.server.ViewRowSetImpl.scrollRangeTo(ViewRowSetImpl.java:2340)
         at oracle.jbo.server.ViewObjectImpl.scrollRangeTo(ViewObjectImpl.java:6321)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel._getRangeIndex(FacesCtrlRangeBinding.java:456)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel.getRowData(FacesCtrlRangeBinding.java:411)
         at oracle.adf.view.faces.component.UIXCollection.getRowData(UIXCollection.java:315)
         at oracle.adf.view.faces.component.UIXCollection.postRowDataChange(UIXCollection.java:653)
         at oracle.adf.view.faces.component.UIXCollection.setRowKey(UIXCollection.java:363)
         at oracle.adf.view.faces.component.UIXCollection.setCurrencyString(UIXCollection.java:606)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TableSelectOneRenderer.decode(TableSelectOneRenderer.java:85)
         at oracle.adf.view.faces.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:945)
         at oracle.adf.view.faces.component.UIXComponentBase.decode(UIXComponentBase.java:577)
         at oracle.adf.view.faces.component.UIXTableSelectOne.processDecodes(UIXTableSelectOne.java:69)
         at oracle.adf.view.faces.component.UIXCollection.processComponent(UIXCollection.java:820)
         at oracle.adf.view.faces.component.TableUtils$1.process(TableUtils.java:214)
         at oracle.adf.view.faces.component.ChildLoop.runAlways(ChildLoop.java:39)
         at oracle.adf.view.faces.component.TableUtils.__processFacets(TableUtils.java:209)
         at oracle.adf.view.faces.component.UIXTable.processFacetsAndChildren(UIXTable.java:372)
         at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:142)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:137)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at javax.faces.component.UIForm.processDecodes(UIForm.java:164)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at br.com.br.shared.security.view.servlet.SecurityFilter.doFilter(SecurityFilter.java:134)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    My VO and corresponding EOs have a primaray key defined. From the console log i see this suspicious lines: "EntityCache:add WARNING - ignoring row with no primary key".
    Please help, I´ve been on this for 3 days. Thanks.
    PS: The bold highlited parts are literal translations on my part.
    Edited by: 891542 on 14/10/2011 07:57
    Edited by: 891542 on 14/10/2011 07:58

    More from the log:
    11/10/19 21:11:04 [1113] Reusing a cached session application module instance
    11/10/19 21:11:04 [1114] **** refreshControl() for BindingContainer :empenho_pesquisaEmpenhoPageDef
    11/10/19 21:11:04 [1115] Resolving VO:OrigensComerciaisVO1 for iterator binding:OrigensComerciaisVO1Iterator
    11/10/19 21:11:04 [1116] DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding, for OrigensComerciaisVO1
    11/10/19 21:11:04 [1117] Resolving VO:CgRefCodesVO1 for iterator binding:CgRefCodesVO1Iterator
    11/10/19 21:11:04 [1118] DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding, for CgRefCodesVO1
    11/10/19 21:11:04 [1119] *** DCDataControl.sync() called from :DCBindingContainer.refresh
    11/10/19 21:11:04 [1120] valiateToken:Decompressed BC state:BCST:=0%V%=NBrEmpenhosVO1Iterator=-D-003800000005393939303800000008545F3139303631310000000C456D20646967697461E7E36F0000000156000000000000000000000007786F0913103B1800000002C10200000002C10300000002C104000000018000000007786F0913103B1800000007786F0C1F010101000000000000000180000000018000000001800000000180000000045A48543300000003C2363B00000003C2363B0000000347474300000006C5020101021100000006C50201010211000000000000000000000000000000053232363431000000124D414E41555320454E455247494120532F41000000053232363430000000035A303500000009303032333431343637000000043030303400000002373300000000000000045A30313000000017285A3031302920456D6973736F72206461204F7264656D000000045A303130000000045A30313000000004C303212300000004C30321230000000C3030323334313436372D37330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,OrigensComerciaisVO1Iterator=-D-000200000006C5020101101900000007414C4D4F474549,CgRefCodesVO1Iterator=-D-00060000000E5354415455535F454D50454E484F0000000C456D20646967697461E7E36F000000000000000C456D20646967697461E7E36F00000001310000001241414447574641416E41414142764F414261,
    11/10/19 21:11:04 [1121] Resolving VO:BrEmpenhosVO1 for iterator binding:BrEmpenhosVO1Iterator
    11/10/19 21:11:04 [1122] DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding, for BrEmpenhosVO1
    11/10/19 21:11:04 [1123] ViewObject: BrEmpenhosVO1 Reusing defined prepared Statement
    11/10/19 21:11:04 [1124] Bind params for ViewObject: BrEmpenhosVO1
    11/10/19 21:11:04 [1125] Binding param 1: Em digitação
    11/10/19 21:11:04 [1126] setting rownum query between (0, 13)
    11/10/19 21:11:04 [1127] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:04 [1128] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:04 [1129] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:04 [1130] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:04 [1131] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:04 [1132] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:04 [1133] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:04 [1134] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1135] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1136] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1137] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1138] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1139] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1140] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1141] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1142] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1143] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1144] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1145] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1146] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1147] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1148] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1149] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1150] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1151] ViewObject: BrEmpenhosVO1 Reusing defined prepared Statement
    11/10/19 21:11:05 [1152] Bind params for ViewObject: BrEmpenhosVO1
    11/10/19 21:11:05 [1153] Binding param 1: Em digitação
    11/10/19 21:11:05 [1154] setting rownum query between (210, 223)
    11/10/19 21:11:05 [1155] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1156] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1157] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1158] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1159] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1160] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1161] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1162] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1163] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1164] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1165] EntityCache:add WARNING - ignoring row with no primary key
    11/10/19 21:11:05 [1166] EntityCache:add WARNING - ignoring row with no primary key
    19/10/2011 21:11:05 com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
    SEVERE: JBO-25006: Valor de parâmetro inválido br.com.br.sales.service.empenho.BrEmpenhosVORowImpl para row passado para o método ViewRowSetIteratorImpl.scrollRangeTo. Explicação: not in the row set
    oracle.jbo.InvalidParamException: JBO-25006: Valor de parâmetro inválido br.com.br.sales.service.empenho.BrEmpenhosVORowImpl para row passado para o método ViewRowSetIteratorImpl.scrollRangeTo. Explicação: not in the row set
         at oracle.jbo.server.ViewRowSetIteratorImpl.scrollRangeTo(ViewRowSetIteratorImpl.java:1374)
         at oracle.jbo.server.ViewRowSetImpl.scrollRangeTo(ViewRowSetImpl.java:2340)
         at oracle.jbo.server.ViewObjectImpl.scrollRangeTo(ViewObjectImpl.java:6321)
         at br.com.br.shared.jbo.server.BrMViewObjectImpl.scrollRangeTo(BrMViewObjectImpl.java:20)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel._getRangeIndex(FacesCtrlRangeBinding.java:456)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel.getRowData(FacesCtrlRangeBinding.java:411)
         at oracle.adf.view.faces.component.UIXCollection.getRowData(UIXCollection.java:315)
         at oracle.adf.view.faces.component.UIXCollection.postRowDataChange(UIXCollection.java:653)
         at oracle.adf.view.faces.component.UIXCollection.setRowKey(UIXCollection.java:363)
         at oracle.adf.view.faces.component.UIXCollection.setCurrencyString(UIXCollection.java:606)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TableSelectOneRenderer.decode(TableSelectOneRenderer.java:85)
         at oracle.adf.view.faces.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:945)
         at oracle.adf.view.faces.component.UIXComponentBase.decode(UIXComponentBase.java:577)
         at oracle.adf.view.faces.component.UIXTableSelectOne.processDecodes(UIXTableSelectOne.java:69)
         at oracle.adf.view.faces.component.UIXCollection.processComponent(UIXCollection.java:820)
         at oracle.adf.view.faces.component.TableUtils$1.process(TableUtils.java:214)
         at oracle.adf.view.faces.component.ChildLoop.runAlways(ChildLoop.java:39)
         at oracle.adf.view.faces.component.TableUtils.__processFacets(TableUtils.java:209)
         at oracle.adf.view.faces.component.UIXTable.processFacetsAndChildren(UIXTable.java:372)
         at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:142)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:137)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at javax.faces.component.UIForm.processDecodes(UIForm.java:164)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
         at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
         at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
         at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at br.com.br.shared.security.view.servlet.SecurityFilter.doFilter(SecurityFilter.java:119)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    11/10/19 21:11:05 [1167] BrEmpenhosVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1168] Clearing VO cache for BrEmpenhosVO1
    11/10/19 21:11:05 [1169] Clear QueryCollection in cache for VO BrEmpenhosVO1
    11/10/19 21:11:05 [1170] MtlSystemItemsVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1171] Clearing VO cache for MtlSystemItemsVO1
    11/10/19 21:11:05 [1172] Clear QueryCollection in cache for VO MtlSystemItemsVO1
    11/10/19 21:11:05 [1173] OrigensComerciaisVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1174] Clearing VO cache for OrigensComerciaisVO1
    11/10/19 21:11:05 [1175] Clear QueryCollection in cache for VO OrigensComerciaisVO1
    11/10/19 21:11:05 [1176] CgRefCodesVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1177] Clearing VO cache for CgRefCodesVO1
    11/10/19 21:11:05 [1178] Clear QueryCollection in cache for VO CgRefCodesVO1
    11/10/19 21:11:05 [1179] BrProdutosEmpenhoVO2 notify ROLLBACK ...
    11/10/19 21:11:05 [1180] Clearing VO cache for BrProdutosEmpenhoVO2
    11/10/19 21:11:05 [1181] Clear QueryCollection in cache for VO BrProdutosEmpenhoVO2
    11/10/19 21:11:05 [1182] BrClientesUsuariosEmpenhoVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1183] Clearing VO cache for BrClientesUsuariosEmpenhoVO1
    11/10/19 21:11:05 [1184] Clear QueryCollection in cache for VO BrClientesUsuariosEmpenhoVO1
    11/10/19 21:11:05 [1185] AuditoriasVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1186] Clearing VO cache for AuditoriasVO1
    11/10/19 21:11:05 [1187] Clear QueryCollection in cache for VO AuditoriasVO1
    11/10/19 21:11:05 [1188] ObservacoesVO2 notify ROLLBACK ...
    11/10/19 21:11:05 [1189] Clearing VO cache for ObservacoesVO2
    11/10/19 21:11:05 [1190] Clear QueryCollection in cache for VO ObservacoesVO2
    11/10/19 21:11:05 [1191] BrReforcosEmpenhoVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1192] Clearing VO cache for BrReforcosEmpenhoVO1
    11/10/19 21:11:05 [1193] Clear QueryCollection in cache for VO BrReforcosEmpenhoVO1
    11/10/19 21:11:05 [1194] OrdensVendaEmpenhoVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1195] Clearing VO cache for OrdensVendaEmpenhoVO1
    11/10/19 21:11:05 [1196] Clear QueryCollection in cache for VO OrdensVendaEmpenhoVO1
    11/10/19 21:11:05 [1197] NotasFiscaisEmpenhoVO1 notify ROLLBACK ...
    11/10/19 21:11:05 [1198] Clearing VO cache for NotasFiscaisEmpenhoVO1
    11/10/19 21:11:05 [1199] Clear QueryCollection in cache for VO NotasFiscaisEmpenhoVO1
    11/10/19 21:11:05 [1200] Clearing VO cache for BrEmpenhosVO1
    11/10/19 21:11:05 [1201] Clear QueryCollection in cache for VO BrEmpenhosVO1
    11/10/19 21:11:05 [1202] Clearing VO cache for OrigensComerciaisVO1
    11/10/19 21:11:05 [1203] Clear QueryCollection in cache for VO OrigensComerciaisVO1
    11/10/19 21:11:05 [1204] Clearing VO cache for FiliaisVO1
    11/10/19 21:11:05 [1205] Clear QueryCollection in cache for VO FiliaisVO1
    11/10/19 21:11:05 [1206] Clearing VO cache for BrProdutosEmpenhoVO2
    11/10/19 21:11:05 [1207] Clear QueryCollection in cache for VO BrProdutosEmpenhoVO2
    11/10/19 21:11:05 [1208] Clearing VO cache for CgRefCodesVO1
    11/10/19 21:11:05 [1209] Clear QueryCollection in cache for VO CgRefCodesVO1
    11/10/19 21:11:05 [1210] Clearing VO cache for MtlSystemItemsVO1
    11/10/19 21:11:05 [1211] Clear QueryCollection in cache for VO MtlSystemItemsVO1
    11/10/19 21:11:05 [1212] Clearing VO cache for BrClientesUsuariosEmpenhoVO1
    11/10/19 21:11:05 [1213] Clear QueryCollection in cache for VO BrClientesUsuariosEmpenhoVO1
    11/10/19 21:11:05 [1214] Clearing VO cache for AuditoriasVO1
    11/10/19 21:11:05 [1215] Clear QueryCollection in cache for VO AuditoriasVO1
    11/10/19 21:11:05 [1216] Clearing VO cache for ObservacoesVO1
    11/10/19 21:11:05 [1217] Clear QueryCollection in cache for VO ObservacoesVO1
    11/10/19 21:11:05 [1218] Clearing VO cache for ObservacoesVO2
    11/10/19 21:11:05 [1219] Clear QueryCollection in cache for VO ObservacoesVO2
    11/10/19 21:11:05 [1220] Clearing VO cache for BrSegmentosClientesVO1
    11/10/19 21:11:05 [1221] Clear QueryCollection in cache for VO BrSegmentosClientesVO1
    11/10/19 21:11:05 [1222] Clearing VO cache for BrCategoriasClientesVO1
    11/10/19 21:11:05 [1223] Clear QueryCollection in cache for VO BrCategoriasClientesVO1
    11/10/19 21:11:05 [1224] Clearing VO cache for GruposContaVO1
    11/10/19 21:11:05 [1225] Clear QueryCollection in cache for VO GruposContaVO1
    11/10/19 21:11:05 [1226] Clearing VO cache for BrReforcosEmpenhoVO1
    11/10/19 21:11:05 [1227] Clear QueryCollection in cache for VO BrReforcosEmpenhoVO1
    11/10/19 21:11:05 [1228] Clearing VO cache for AtividadesANPVO1
    11/10/19 21:11:05 [1229] Clear QueryCollection in cache for VO AtividadesANPVO1
    11/10/19 21:11:05 [1230] Clearing VO cache for AtividadesSRFVO1
    11/10/19 21:11:05 [1231] Clear QueryCollection in cache for VO AtividadesSRFVO1
    11/10/19 21:11:05 [1232] Clearing VO cache for BloqueiosFaturamentosVO1
    11/10/19 21:11:05 [1233] Clear QueryCollection in cache for VO BloqueiosFaturamentosVO1
    11/10/19 21:11:05 [1234] Clearing VO cache for BloqueiosOrdensVO1
    11/10/19 21:11:05 [1235] Clear QueryCollection in cache for VO BloqueiosOrdensVO1
    11/10/19 21:11:05 [1236] Clearing VO cache for BloqueiosRemessasVO1
    11/10/19 21:11:05 [1237] Clear QueryCollection in cache for VO BloqueiosRemessasVO1
    11/10/19 21:11:05 [1238] Clearing VO cache for ClassesClientesVO1
    11/10/19 21:11:05 [1239] Clear QueryCollection in cache for VO ClassesClientesVO1
    11/10/19 21:11:05 [1240] Clearing VO cache for GruposContasVO1
    11/10/19 21:11:05 [1241] Clear QueryCollection in cache for VO GruposContasVO1
    11/10/19 21:11:05 [1242] Clearing VO cache for SetoresIndustriaisVO1
    11/10/19 21:11:05 [1243] Clear QueryCollection in cache for VO SetoresIndustriaisVO1
    11/10/19 21:11:05 [1244] Clearing VO cache for TiposGruposContasVO1
    11/10/19 21:11:05 [1245] Clear QueryCollection in cache for VO TiposGruposContasVO1
    11/10/19 21:11:05 [1246] Clearing VO cache for OrdensVendaEmpenhoVO1
    11/10/19 21:11:05 [1247] Clear QueryCollection in cache for VO OrdensVendaEmpenhoVO1
    11/10/19 21:11:05 [1248] Clearing VO cache for NotasFiscaisEmpenhoVO1
    11/10/19 21:11:05 [1249] Clear QueryCollection in cache for VO NotasFiscaisEmpenhoVO1
    11/10/19 21:11:05 [1250] Clearing VO cache for BrUnidadesVO1
    11/10/19 21:11:05 [1251] Clear QueryCollection in cache for VO BrUnidadesVO1
    11/10/19 21:11:05 [1252] Clearing VO cache for CgRefCodesVO2
    11/10/19 21:11:05 [1253] Clear QueryCollection in cache for VO CgRefCodesVO2
    11/10/19 21:11:05 [1254] Clearing VO cache for BrEmpenhosVO2
    11/10/19 21:11:05 [1255] Clear QueryCollection in cache for VO BrEmpenhosVO2
    11/10/19 21:11:05 [1256] Clearing VO cache for ParceirosAlternativosLovVO
    11/10/19 21:11:05 [1257] Clear QueryCollection in cache for VO ParceirosAlternativosLovVO
    11/10/19 21:11:05 [1258] Clearing VO cache for BrEmpMensagemVO
    11/10/19 21:11:05 [1259] Clear QueryCollection in cache for VO BrEmpMensagemVO
    11/10/19 21:11:05 [1260] Clearing EO cache for br.com.br.sales.domain.entidades.model.HzCustAccountsEO
    11/10/19 21:11:05 [1261] Clearing EO cache for br.com.br.sales.domain.entidades.model.GrupoContaEO
    11/10/19 21:11:05 [1262] Clearing EO cache for br.com.br.sales.domain.entidades.model.SwAuditTrailEO
    11/10/19 21:11:05 [1263] Clearing EO cache for br.com.br.sales.domain.entidades.model.FndUserEO
    11/10/19 21:11:05 [1264] Clearing EO cache for br.com.br.sales.domain.entidades.model.BrFilialEO
    11/10/19 21:11:05 [1265] Clearing EO cache for br.com.br.sales.domain.entidades.model.MtlSystemItemsEO
    11/10/19 21:11:05 [1266] Clearing EO cache for br.com.br.sales.domain.entidades.model.HzCustAcctSitesAllEO
    11/10/19 21:11:05 [1267] Clearing EO cache for br.com.br.sales.domain.entidades.model.JtfRsGroupsBEO
    11/10/19 21:11:05 [1268] Clearing EO cache for br.com.br.sales.domain.entidades.model.BrProdutoEmpenhoEO
    11/10/19 21:11:05 [1269] Clearing EO cache for br.com.br.sales.domain.entidades.model.CgRefCodesEO
    11/10/19 21:11:05 [1270] Clearing EO cache for br.com.br.sales.domain.entidades.model.HrOrganizationUnitsEO
    11/10/19 21:11:05 [1271] Clearing EO cache for br.com.br.sales.domain.entidades.model.HzPartySitesEO
    11/10/19 21:11:05 [1272] Clearing EO cache for br.com.br.sales.domain.entidades.model.BrClienteUsuarioEmpenhoEO
    11/10/19 21:11:05 [1273] Clearing EO cache for br.com.br.sales.domain.entidades.model.MtlUnitsOfMeasureTlEO
    11/10/19 21:11:05 [1274] Clearing EO cache for br.com.br.sales.domain.entidades.model.HzPartiesEO
    11/10/19 21:11:05 [1275] Clearing EO cache for br.com.br.sales.domain.entidades.model.SwWorkLogEO
    11/10/19 21:11:05 [1276] Clearing EO cache for br.com.br.sales.domain.entidades.model.BrEmpenhoEO
    11/10/19 21:11:05 [1277] Clearing EO cache for br.com.br.sales.domain.entidades.model.BrReforcoEmpenhoEO
    11/10/19 21:11:05 [1278] Resetting AM=EmpenhoAM

  • Dynamic view object loses bind variables after passivation

    I am creating a view object definition/view object programmatically in Jdev 11.1.1.2.0. The query requires a named bind parameter. All was working fine but now I am testing with app module pooling disabled and the bind variable is not being restored after passivation -- it's like the definition has disappeared or something.
    Here is my VO creation code:
    ViewObject vo = findViewObject("FinalistsWithEvalDataVO");
    if (vo != null){
    vo.remove();
    ViewDefImpl voDef = new ViewDefImpl("FinalistsWithEvalDataVODef");
         // I add a bunch of viewAttrs here...
    voDef.setQuery(fullQuery);
    voDef.setFullSql(true);
    voDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
    voDef.resolveDefObject();
    voDef.registerDefObject();
    vo = createViewObject("FinalistsWithEvalDataVO", voDef);
    vo.defineNamedWhereClauseParam("Bind_SchlrAyId", null, new int[] {0});
    vo.setNamedWhereClauseParam("Bind_SchlrAyId", new Number(1)); //For testing
    vo.executeQuery();
    The query executes fine right there and then the VO seems to passivate fine. I even see the bind var in passivation:
    <exArgs count="1">
    <arg name="Bind_SchlrAyId" type="oracle.jbo.domain.Number">
    <![CDATA[1]]>
    </arg>
    </exArgs>
    But then when it reactivates prior to rendering the page, it invariably throws a missing parameter exception and this in the log:
    <ViewUsageHelper><createViewAttributeDefImpls> [7409] *** createViewAttributeDefImpls: oracle.jdbc.driver.OraclePreparedStatementWrapper@1af78e1
    <ViewUsageHelper><createViewAttributeDefImpls> [7410] Bind params for ViewObject: [FinalistsWithEvalDataVO]AwardViewingServiceAM.FinalistsWithEvalDataVO
    <ViewUsageHelper><createViewAttributeDefImpls> [7411] ViewUsageHelper.createViewAttributeDefImpls failed...
    <ViewUsageHelper><createViewAttributeDefImpls> [7412] java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    I have worked on this for hours and can't see anything wrong. Like I said, it works fine when not forcing passivation...
    Any help would be appreciated.
    Thanks.
    -Ed

    @Jobinesh - Thanks for the suggestions. I have read all the documentation I can find. Everything works fine without passivation. Everything still breaks with passivation. I have given up on trying to get the bind variable to restore after passivation and am currently just building the query with all values embedded in the query rather than bind variables. This is bad practice but avoids the problem. However, now that I avoided that obstacle, I'm on to the next issue with passivation of this dynamic view object, which is that the current row primary key apparently cannot be reset after activation. I get the following error:
    <Key><parseBytes> [7244] Key(String, AttributeDef[]): Invalid Key String found. AttributeCount:1 does not match Key attributes
    <DCBindingContainer><reportException> [7254] oracle.jbo.InvalidParamException: JBO-25006: Value 00010000000A30303033383133343734 passed as parameter String to method Constructor:Key is invalid: {3}.
         at oracle.jbo.Key.parseBytes(Key.java:537)
         at oracle.jbo.Key.<init>(Key.java:179)
         at oracle.jbo.server.IteratorStateHolder.getCurrentRowKey(IteratorStateHolder.java:34)
         at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3877)
    I've been trying various workarounds for over a day now with no luck. Very frustrating.
    Thanks for trying to help.
    -Ed

  • Invalid parameter value Error while Extending PoReqDistributionsVO

    Hi,
    My Requirement is to restrict user from enetring certain values in a field in iProcurement Page based on some condition. The attribute on which I have to place the validation is CodeCombinationId and the VO name is PoReqDistributionsVO. So, I extended the VO and generated the VORowImpl class for the extended VO. Please note that I have extended the VO just to override the setter method for the CodeCombinationId in the VORowImpl. I did not change any other thing on the VO. Once I deploy the code, I am getting the following error for the first time:
    ## Detail 0 ##
    oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value PoReqDistributionsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    And then if I try to open the page again, it gives me multiple distribution lines. (Say for example I have only one distribution line for the requistion line and my distribution table PO_REQ_DISTRIBUTIONS_ALL has total 20 records, then all the 20 records are getting displayed in the front end.)
    So, clearly after I extended the VO, the viewlink is not able to identify the viewlink.
    I went through the following thread:
    oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value
    As suggested in the therad, I thought of copying all the view link related methods from the original VO files. But, I could not get any Viewlink related information in any of the three seeded files PoReqDistributionsVO.xml, PoReqDistributionsVOImpl.class and PoReqDistributionsVORowImpl.class. But I can find one View Link oracle.apps.icx.por.req.server.ReqLineToDistributionsVL in teh server which is linking PoRequisitionLinesVO to PoReqDistributionsVO.
    Could anyone suggest me what I need to do to resolve the issue.
    Edited by: 892480 on Oct 20, 2011 8:13 AM

    Hi Gurus,
    Any suggestion on the above issue?

  • Issue in Extending VO Referring to View Links

    Hi All,
    I am facing an Issue while extending a VO referring in Table-in-Table Region Style.
    I am able to Extend the VO, Substitute and JPXImport
    When I open the page I am getting the below
    ## Detail 0 ##
    JBO-30003: The application pool (oracle.apps.csp.portal.requirement.server.RequirementAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.InvalidParamException, msg=JBO-25006: Invalid parameter value ReqLineVO1 for destination passed to method ViewLinkImpl.setDestination. Explanation: view def mismatch
    From Page Contoller PR the Table-in-table is set with the related viewlink.
        OAWebBean localOAWebBean1 = paramOAWebBean.findChildRecursive("ReqLineVO1");
        OAWebBean localOAWebBean2 = paramOAWebBean.findChildRecursive("ReqLineDetailsVO1");
        if (localOAWebBean1 != null)
          localOAWebBean1.setAttributeValue(CHILD_VIEW_ATTRIBUTE_NAME, "RequirementLineId");
          localOAWebBean1.setAttributeValue(VIEW_LINK_NAME, "ReqLineToDetailVL1");
        if (localOAWebBean2 != null)
          localOAWebBean2.setAttributeValue(CHILD_VIEW_ATTRIBUTE_NAME, "RequirementLineId");
          localOAWebBean2.setAttributeValue(VIEW_LINK_NAME, "ReqLineToDetailVL1");
        }My Assumtion is the Old VO Name is Missmatching in the ViewLink with Newname.
    Could anybody suggest any solution to Overcome in these kind of issues.
    Regards,
    Krishna

    hi
    Please verify again your Procedure would be like this
    1.) right click on BC4J create a new View Object
    2.) mention your Standard VO which is to be extended
    3.) click next up to query block ,here put your query and test ,it must prompt valid.
    4.) click on generate java files ,and finish.
    this would create your extended VO
    now
    5.) again double click on your extended VO,go to Attribute Mapping Properties,here you will find the option to verify your mapping ,with query columns to view attribute ,the drop down will appear only for for new added attributes ,this newly added attributes may be mapped right or may be wrong ,u need to varify.
    then
    6.) substitute your BC4J package and move the jpx file to server
    u will find this link useful
    http://oracle.anilpassi.com/extend-vo-in-oa-framwork-2.html
    thanx
    Pratap

  • Command link not working for project on deployment as ear file

    Hi Jdev team / Jheadstart team,
    Its a very strange problem i am facing ..
    I have two screen with the same VO showing the details records split in two pages ( Master/ details)
    it shows a table structure in the firts screen and on clicking through the command link shows the details in the secong page .
    its working fine on the LOCAL machine ( JDEV) but once the ear file is deployed to the server it gives the follwing exception :
    07/08/08 09:01:23 [1681] *** Using bean introspection to lookup value :currentRowIndexInRange
    07/08/08 09:01:23 [1682] Key(String, AttributeDef[]): Invalid Key String found. AttributeCount:31599 does not match Key attributes
    07/08/08 09:01:23 [1683] DCBindingContainer.reportException :oracle.jbo.InvalidParamException
    07/08/08 09:01:23 [1684] oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value 7B6F7E6F7BF9747D for String passed to method Constructor:Key. Explanation: {3}     
    at oracle.jbo.Key.parseBytes(Key.java:489)
         at oracle.jbo.Key.<init>(Key.java:183)
         at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKey(DCJboDataControl.java:863)
    Secondly when i use the button instead of the command link it works fine on the machine and deployed on server.
    Please tell me is it some thing to take care in the bindings files when regenerating through Jheadstart
    (I am using JHeadstart, Jdev 10.1.3) and regenerating using AMApplication Generator file.
    the bindings its generating in both cases (command links / button )are :
    <action id="setCurrentRowWithKeySmeFundingAdviser"
    IterBinding="SmeFundingAdviserIterator"
    InstanceName="SmeFundingAdviserFirmsAMDataControl.XXSmeFundingAdviserVO1"
    DataControl="SmeFundingAdviserFirmsAMDataControl"
    RequiresUpdateModel="false" Action="96">
    <NamedData NDName="rowKeyStr" NDValue="#{row.rowKeyStr}" NDType="java.lang.String"/>
    Please its very urgent .....
    regards
    Jazz

    Use the uninstall scripts from Adobe to completely remove all vestiges of PPro from your computer. Then perform the installation.
    Links to the scripts are on the troubleshooting page.
    Cheers
    Eddie

  • Complex Urgent Issue with insertRowAtRangeIndex

    Hi,
    I have an advanced table based on a VO and EO. I have a footer on that table which has an Add Row button. That Add Row button calls a method in the AM which basically inserts a new row into the VO and hence it appears in the table. The code for that method in the AM is pasted below.
    Now this table and Add Row button etc. were already existing. My job was to add a new detail table to this table. I followed the instructions in the dev guide and was able to successfully add a detail table to this table. I also had to initialize some rows in the detail table when the user clicks the above add rows button.
    In the below code, getBtvlPosSupplierPlantAddressesVO is my VO for the main table.
    getAsiSupplierAddressOpCosVO2 is my VO for the detail table. "AsiSupplierAddressOpCosVO2" is the View Instance which is connected to BtvlPosSupplierPlantAddressesVO through a View Link.
    getAsiPosSupplierOpCosVO1 is my VO from where I get the data to initialize the rows in AsiSupplierAddressOpCosVO2.
    I am getting the following error on the statement - plantAddressVO.insertRowAtRangeIndex(plantAddressVO.getFetchedRowCount(), plantAddressVORow);
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value 3 for rangeIndex passed to method ViewRowSetIteratorImpl.insertRowAtRangeIndex. Explanation: index outside range
    Now the main table property of "Records Displayed" is 2, hence I am getting the above error when I am trying to add THIRD row using the Add Rows button.
    If I change the "Records Displayed" property to 5, then I will get this error when I try to add Row number 6.
    PLEASE PLEASE HELP. I HAVE NO CLUE WHY THIS IS HAPPENING. I AM TIRED OF DEBUGGING!
    **********Extra Info - May not be relevant to the Issue ****************
    For new rows in AsiSupplierAddressOpCosVO2, I have put status as STATUS_NEW because the detail table has a checkbox and if I don't do STATUS_NEW for the rows, then only the rows for which user clicks on the checkbox will be stored in the DB. I wanted all rows to be stored, for consistency purpose.
    **********Extra Info - May not be relevant to the Issue ****************
    public void addPlant(Number suppRegId)
    BtvlPosSupplierAddressesVOImpl plantAddressVO = getBtvlPosSupplierPlantAddressesVO();
    plantAddressVO.setMaxFetchSize(0);
    BtvlPosSupplierAddressesVORowImpl plantAddressVORow = (BtvlPosSupplierAddressesVORowImpl)plantAddressVO.createRow();
    plantAddressVORow.setAddressId(getOADBTransaction().getSequenceValue("btvl.btvl_pos_supp_address_id_SEQ"));
    plantAddressVORow.setAddressType("PLANT");
    plantAddressVORow.setSupplierRegId(suppRegId);
    plantAddressVO.insertRowAtRangeIndex(plantAddressVO.getFetchedRowCount(), plantAddressVORow);
    AsiSupplierAddressOpCosVOImpl addressOpCosVO = (AsiSupplierAddressOpCosVOImpl)this.getAsiSupplierAddressOpCosVO2();
    addressOpCosVO.executeQuery();
    AsiPosSupplierOpCosVOImpl suppOpCosVO = (AsiPosSupplierOpCosVOImpl)this.getAsiPosSupplierOpCosVO1();
    int rowCount = suppOpCosVO.getRowCount();
    RowSetIterator SupplOpCoListIter = suppOpCosVO.createRowSetIterator("SupplOpCoListIter");
    AsiPosSupplierOpCosVORowImpl OpCoRow = null;
    if(rowCount > 0)
    SupplOpCoListIter.setRangeStart(0);
    SupplOpCoListIter.setRangeSize(rowCount);
    for(int i = 0; i < rowCount; i++)
    OpCoRow = (AsiPosSupplierOpCosVORowImpl)SupplOpCoListIter.getRowAtRangeIndex(i);
    AsiSupplierAddressOpCosVORowImpl addressOpCoRow = (AsiSupplierAddressOpCosVORowImpl)addressOpCosVO.createRow();
    addressOpCoRow.setSuppAddrOpcoId(getOADBTransaction().getSequenceValue("BTVL.ASI_SUPP_ADDR_OPCO_ID_S"));
    addressOpCoRow.setAddressId(plantAddressVORow.getAddressId());
    String OpCoCode = OpCoRow.getSupplierOpcoCode();
    String OpCoName = OpCoRow.getSupplierOpcoName();
    addressOpCoRow.setSupplierOpcoCode(OpCoCode);
    addressOpCoRow.setSupplierOpcoName(OpCoName);
    addressOpCoRow.setNewRowState(Row.STATUS_NEW);
    addressOpCosVO.insertRow(addressOpCoRow);
    SupplOpCoListIter.closeRowSetIterator();
    plantAddressVORow.setNewRowState(Row.STATUS_INITIALIZED);
    }

    Hi
    Since you have added the detail table as routine customization than you also initialize the row as routine customization, as you said that the getAsiSupplierAddressOpCosVO2 is the VO for detail table than the row this VO is required to initialize, as Sumit advised already, you should go with addition of new code rather modifiying/using the existing code , you can give a try to below code after modifying it according to ur requirement
    OAViewObject vo = (OAViewObject)findViewObject("AsiSupplierAddressOpCosVO2");
    if(!vo.isPreparedForExecution())
    vo.clearCache();
    vo.executeQuery();
    vo.last();
    vo.next();
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState((byte)-1);
    // than here you can set the default values
    like row.setAttribute("ViewAttribute",vaue);
    Thanks
    Pratap

  • Substitution problem in VO with viewlink and not in expert mode

    Hi All
    i have to extend a VO ,standar VO is not in expert mode so i made it and then extended the VO(need to add two new date columns) and substituted the BC4j ,i was involved in this discussion also
    Re: Substitute ViewObject. Urgent!!!!!  Thank you
    ,and i was aware that viewlinks should take care by substituion itself ,but in my case it is creating problem ,first it has thrown the error given below
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value PoRequisitionLinesVO for source passed to method ViewLinkImpl.setSource.  Explanation: view def mismatch
    then i modified the VOExRowImpl and added the viewlink setter getter from seede Rowimpl ,now it it not throwing the InvalidParamException ,but throwin OAAttrValException saying get method for LineNum is not resolved ,now i m puzzeled what is going on ,i m sure i have not made any mistake in substitution, any clue would be very helpful for me ,please throw some light on this issue
    thanx
    Pratap

    thanx kumar, nice to see your reply.
    basic requirement is i have to create two date fileds on the requsition line form ,it shud appear on the basis of selected value in a field of same row ,so i set PPR ,initially i bounded these fields with spared attributes of VO but it was creating problem after page refresh ,i have raised the issue in the forum
    Date value format is changed itself after page refresh
    raised a tar with oracle ,issue was that these attributes are varchar type and used for the date fields, thats y creating the problem after page refresh ,VO extension didnt work bcz these attributes are already there in seeded VO with there data type, so they can not be changed in VO extension,oracle suggested create two columns with date type in the seeded table itself and use them in VO extension , i did it ,now the problem is
    i have extended the VO ,and this problem came ,one thing i m not sure is
    since i have added two new columns ,shud i do EO extension (i did it ) and then VO extension ,if yes then how bcz when i will move all the files from server they are all standard files and ,extended VO is getting the reference of seeded VO which is using the seeded EO not the extended EO .
    so what approch or steps shuld i follow to add this newly added column in VO .
    thanx
    Pratap

  • Ayone got the ADF BC / JSF Tutorial  to work ?

    Hi,
    I am trying the following tutorial:
    http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm#t9
    Everything was working fine until the part where it tries to synchronize the two pages, getting the following exception:
    JBO-25006: Invalid parameter value 000200000003C2193000000003C202020000000100000109F933336C for String passed to method Constructor:Key. Explanation: {3}
    I spent almost 2 days double checking the tutorial and trying to get where the error was, but I couldn’t get anywhere.
    Anyone experiencing the same problem ?
    Thanks in advance,
    Claudio.

    Thanks for the answers.
    Finally problem was in step #4 in the "Creating a New View Object for the SearchOrders Page" section where it mentions to add the Orders entity, then add the Customers entity - I was doing it the other way round. I redid that step and then it worked.
    Thanks,
    Claudio.

  • URL endpoint DataController:ViewRowSetIteratorImpl.scrollRangeTo is invalid

    Hi ,
    I have created a URL end point data controller as it is needed for my application.the URL basically calls a servlet which returns data in xml format.
    From there I dragged and dropped it as ADF table with row single selction.
    Everything looks fine and working.
    But I have af:goImage link in each row on click of which it shold open me a separate page with its corrsponding destination.so the link is as below
    <af:goImageLink text="#{row.ProdShortTitle}" id="gil1"
    icon="/images/search_hover_icon.png"
    iconPosition="trailing" destination="#{row.ProdId_Ref}"
    targetFrame="_blank">
    And it it opens the link properly but some times all of the sudden it throws the below error
    *<RegistrationConfigurator><handleError> Server Exception during PPR, #4*
    oracle.jbo.InvalidParamException: JBO-25006: Value oracle.adf.model.bean.DCDataRow passed as parameter row to method ViewRowSetIteratorImpl.scrollRangeTo is invalid: not in the row set.
    Earlier I worked with many ADF BC componets whcih has VO and EO for it but never faced this error.
    I guess the problem is setiing the current row.When i click in the link first it tries to set current row.Is it creating any problem?
    But it happens occssacionally.Most of the times it opens the link properly.
    Please help with solutions if any?
    Edited by: 862815 on Mar 28, 2012 8:59 AM

    Thanks a lot for your reply - I solved this problem (A wrong Registry-Key) but rightnow I have a new problem with my client respectively with TPM.
    If I checkup in the SQL-database for the TPMhash - the value is NULL! Have you got any idea to solve this problem?
    Thanking everybody in advance for any feedback!
    CheersRaebaan

  • Server.xml missing - can I still change the VO?

    Dear OAF gurus,
    I need to add two columns to the existing
    oracle.apps.ar.hz.components.search.server.HzPuiOrgSearchResultsVO
    view. (Oracle Customers Online application).
    I found out we don't have the server.xml file for this VO. My question is - is it still possible to change the VO?
    Of course, I can change (edit using text editor) the VO manually and also manually edit ...VOImpl.java and ...RowImpl.java files and put them back, but is it the right way to do it? (and what do I do with the changed VO in this fashion?) Can someone please advise?
    Thank you.
    Anatoliy

    Raffy,
    Thanks a lot for your patience. I did another try, this time I got a link with the error message (sounds like a step forward :-). Could you kindly have a look at the eror and my steps listed below-
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value HzPuiDQMSrchResultsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value HzPuiDQMSrchResultsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value HzPuiDQMSrchResultsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    My steps were as following
    1. Created a new BC4J package cit.oracle.apps.ar.hz.components.search.server;
    2. Brought HzPuiDQMSrchResultsVO.xml file (this is the view I need to change) into project
    under seeded BC4J package oracle.apps.ar.hz.components.search.server;
    3. Created a new VO in package cit.oracle.apps.ar.hz.components.search.server
    by extending the existing HzPuiDQMSrchResultsVO.
    4. Created a substitution in the project to substitute
    HzPuiDQMSrchResultsVO with new VO. No java classes generation was done
    for the new VO.
    5. Successfully ran jpximport.bat as
    C:\Projects\oracle\jdev\source>jpximport.bat C:\Projects\oracle\jdev\jdevhome\jd
    ev\myprojects\upload.jpx -username apps -password <password> -dbconnection "(DESCRIPTI
    ON=(ADDRESS=(PROTOCOL=tcp)(host=iris.cit.com)(port=1561))(CONNECT_DATA=(SID=CDHD
    EV)))"
    with result
    Imported document : /oracle/apps/ar/hz/components/search/server/customizations/s
    ite/0/HzPuiDQMSrchResultsVO
    Import completed successfully
    6. Created 'cit' directory structure under $JAVA_TOP on ther server.
    Put whatever files were located under <JDEV_USER_HOME>\myclasses\cit
    to the server in the right place. Set the permissions to 775.
    7. Bounced the apache.
    Could you please kindly advise what the problem can be.
    Thank you for any help.
    Anatoliy

  • How to extend VO's which is EO based and also having View links..

    Hi All,
    we have a requirement iProcurement page, where we need to restrict the reqisition lines( if the requisition line has destination_type_code is 'INVENTORY' then i need not to display this line..
    so i try to extend the VO(PoRequisitionLinesVo),by adding the where condition "porequisitionlineeo.DESTINATION_TYPE_CODE <> 'INVENTORY' ". and i am geting below error:
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value PoRequisitionLinesVO for destination passed to method ViewLinkImpl.setDestination. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
    And this VO has view link(PoRequisitionLinesVL).
    I think If i import the view object without importing the associated view object and viewlinks, than the imported view object does not have the link. I think this could be the possible cause of the issue..
    can any one pls help me....

    Hi ,
    if VO extension is done propery then exrension itself take care related view links , in your specific case , i dont think you need to go VO extension to set where clause , you set this where clause through controller extension .
    OAApplicationModule oaam = pageContext.getApplicationModule(webBean);
    OAViewObject voname= (OAViewObject)oaam.findViewObject("VO");
    String where = "DESTINATION_TYPE_CODE ='INVENTORY' ";
    voname.setWhereClause(where);
    voname.executeQuery();
    only condition is you must have DESTINATION_TYPE_CODE in select statement of standard view object
    Thanks
    Pratap

  • Traversing Iterator Values binding to Move it forward and backward

    I used below code to access my iterator. As I know, the iterator binding points you to the current row.
    public class MyBean {
        public void viewData() {
            BindingContext context = BindingContext.getCurrent();
            BindingContainer bindings = null;
            bindings = context.getCurrentBindingsEntry();
            List list = new ArrayList();
            DCIteratorBinding serviceIter =
                (DCIteratorBinding)bindings.get("serviceIterator");
            Row[] rows = serviceIter.getAllRowsInRange();
            for (int index = 0; index < rows.length; index++) {
                Row rowData = rows[index];
                   //print all row attributes for current row
                for (int x=0; x < rowData.getAttributeCount(); x++) {
                    System.out.println("Attribute value = " + rowData.getAttribute(x));
    }Question, is there a way that I could traverse my iterator to be able to view not only the current
    row but also the other rows in my managed bean? Just as the way we are doing in a plain JDBC resultset?
    Thanks

    Thanks Timo....
    I have a question though regarding your suggestion...
    This is what I wanted to do:
    Instead of adding a read only form with navigation control, I created a button and added a custom method in a managed bean and bind it its action.
    When the button is clicked I just wanted to move the iterator to the next row and display the next record to the form.
    Here's my code.
    public class MyBean {
         public String moveNext() {
            // Add event code here...
            BindingContext ctx = BindingContext.getCurrent();
            BindingContainer bindings = null;
            bindings = ctx.getCurrentBindingsEntry();
            DCBindingContainer bindingsImpl = (DCBindingContainer)bindings;
            DCIteratorBinding iter = bindingsImpl.findIteratorBinding("DepartmentsView1Iterator");
            //move the iterator to the next row.
            NavigatableRowIterator nIter =  iter.getNavigatableRowIterator();
            Row nextData = nIter.next();
              //set the current row to the next row
            iter.setCurrentRowWithKey(nextData.getKey().toString()); 
            return null;
    }My problem is, when I execute below code and click the button, I am encountering below error.
    <ActionListenerImpl> <processAction> oracle.jbo.InvalidParamException: JBO-25006: Value F2ACCEEAFFEBF9B220 passed as parameter String to method Constructor:Key is invalid: {3}.
    javax.faces.el.EvaluationException: oracle.jbo.InvalidParamException: JBO-25006: Value F2ACCEEAFFEBF9B220 passed as parameter String to method Constructor:Key is invalid: {3}.
    1I think I made a mistake in the navigation. Any advise please? Thanks

Maybe you are looking for