ADF Validations - oracle.jbo.TooManyObjectsException Workaround/HOW TO?

I am trying to work around an oracle.jbo.TooManyObjectsException I am getting, and I am at my wits end as to how solve this problem. I am new to ADF and JDeveloper, so the answer to this could be very easy. I have a master /detail table relationship which is a one to many. The primary key for the detail record consists of two elements, one derived because of the master detail association, and the second is user selected. However if another record is created with the same user selection, the primary key is violated and an exception is thrown. I would like to validate what the user entered, so that I can show a much more user friendly message instead of a JBO exception. I am not sure where this kind of validation would normally go, or if this can be implemented declaratively. I am really stuck here…
Eg. MST(mst_id) -> DTL(mst_id, dtl_id) (One to many btw Table MST and DTL, only primary key elements shown)
Where/How can I validate/ensure that the primary key combination of DTL is unique without throwing an exception first. I am currently trying it at the Entity Object Level. But I have got to be missing something very simple…

Any ideas... in the hr databse, this would be similar to the relationship between employees and job history... i want to add validation to ensure that two job history records cannot be created with the same start date and employee id... how do i provide validation before the too many objects exception is activated... something like "start date already exists"... maybe jdeveloper has a different implementation paradigm for such a scenario

Similar Messages

  • Oracle.jbo.TooManyObjectsException but validated unique keys?

    11gR1 ADF
    I have some code similar to the code that copies the transient cart to the persistent card from the FOD, and I've receiving the TooManyObjectsException error even though I've validated that the key is unique.
                for(Row tItemRow : tRows) {
                    if((Boolean)tItemRow.getAttribute("trSelected")){
                        System.out.println("Saving selected row where : segment1=" +
                                           tItemRow.getAttribute("Segment1")
                                           + " and notification ID = " +
                                           tItemRow.getAttribute("trNotificationID")
                                           + " and requistionId = " +
                                           tItemRow.getAttribute("RequisitionHeaderId")
                                           + " and messagetype = " + strMessage);
                        ViewObjectImpl reqsApprActionVO =  findVOforTransaction(strMessage,"APPR_ACTION"); /* this retrieves the appropriate VO */
                        Row newOrderItemRow = reqsApprActionVO.createRow();
                        newOrderItemRow.setAttribute("NotificationID", tItemRow.getAttribute("trNotificationID").toString());
                        newOrderItemRow.setAttribute("HeaderId", tItemRow.getAttribute("RequisitionHeaderId"));
                        newOrderItemRow.setAttribute("MessageType", strMessage);
                        newOrderItemRow.setAttribute("ApprovalAction", rowApprTR.getAttribute("trApprovalAction"));
                        newOrderItemRow.setAttribute("Comments", rowApprTR.getAttribute("trComments"));
                        newOrderItemRow.setAttribute("CommentsApprCond", rowApprTR.getAttribute("trCommentsApprCond"));
                        newOrderItemRow.setAttribute("CommentsRevInst", rowApprTR.getAttribute("trCommentsRevInst"));
                        newOrderItemRow.setAttribute("ResponderId", rowApprTR.getAttribute("trResponderId"));
                        newOrderItemRow.setAttribute("ForwardeeId", rowApprTR.getAttribute("trForwardeeId"));
                        reqsApprActionVO.insertRow(newOrderItemRow);
                getDBTransaction().commit();This is in my log
    Saving selected row where : segment1=1000167 and notification ID = 25069 and requistionId = 434 and messagetype = REQAPPRV
    Saving selected row where : segment1=1000168 and notification ID = 25070 and requistionId = 435 and messagetype = REQAPPRV
    ReqPOAppModfuleImpl processReqs exception: oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[25069 434 REQAPPRV ].The table is blank, and with the println's, you can see that the multiple rows being processed are unique.
    Some additional info:
    From the EO
      <Attribute
        Name="NotificationID"
        IsNotNull="true"
        ColumnName="NOTIFICATION_ID"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        TableName="CUSTOM.CUST_PO_REQ_APPROVAL_ACTION"
        PrimaryKey="true"/>
      <Attribute
        Name="HeaderId"
        IsNotNull="true"
        ColumnName="HEADER_ID"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        TableName="CUSTOM.CUST_PO_REQ_APPROVAL_ACTION"
        PrimaryKey="true">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="22"/>
        </DesignTime>
      </Attribute>
      <Attribute
        Name="MessageType"
        IsNotNull="true"
        Precision="8"
        ColumnName="MESSAGE_TYPE"
        SQLType="VARCHAR"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        TableName="CUSTOM.CUST_PO_REQ_APPROVAL_ACTION"
        PrimaryKey="true">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="8"/>
        </DesignTime>
      </Attribute>
      <Key
        Name="SysC00259495">
        <DesignTime>
          <Attr Name="_DBObjectName" Value="SYS_C00259495"/>
          <Attr Name="_checkCondition" Value='"NOTIFICATION_ID" IS NOT NULL'/>
          <Attr Name="_isCheck" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="customer.ep.reqpo.model.custom.eo.CUSTPoReqApprovalActionEO.NotificationID"/>
        </AttrArray>
      </Key>
      <Key
        Name="SysC00259496">
        <DesignTime>
          <Attr Name="_DBObjectName" Value="SYS_C00259496"/>
          <Attr Name="_checkCondition" Value='"HEADER_ID" IS NOT NULL'/>
          <Attr Name="_isCheck" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="customer.ep.reqpo.model.custom.eo.CUSTPoReqApprovalActionEO.HeaderId"/>
        </AttrArray>
      </Key>
      <Key
        Name="SysC00259497">
        <DesignTime>
          <Attr Name="_DBObjectName" Value="SYS_C00259497"/>
          <Attr Name="_checkCondition" Value='"MESSAGE_TYPE" IS NOT NULL'/>
          <Attr Name="_isCheck" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="customer.ep.reqpo.model.custom.eo.CUSTPoReqApprovalActionEO.MessageType"/>
        </AttrArray>
      </Key>
      <Key
        Name="CUSTPoReqApprovalActiPk"
        PrimaryKey="true">
        <DesignTime>
          <Attr Name="_DBObjectName" Value="CUST_PO_REQ_APPROVAL_ACTI_PK"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item
            Value="customer.ep.reqpo.model.custom.eo.CUSTPoReqApprovalActionEO.NotificationID"/>
          <Item
            Value="customer.ep.reqpo.model.custom.eo.CUSTPoReqApprovalActionEO.HeaderId"/>
          <Item
            Value="customer.ep.reqpo.model.custom.eo.CUSTPoReqApprovalActionEO.MessageType"/>
        </AttrArray>
      </Key>From the VO
      <ViewAttribute
        Name="NotificationID"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="NotificationID"
        EntityUsage="CUSTPoReqApprovalActionEO"
        AliasName="NOTIFICATION_ID"/>
      <ViewAttribute
        Name="HeaderId"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="HeaderId"
        EntityUsage="CUSTPoReqApprovalActionEO"
        AliasName="HEADER_ID"/>
      <ViewAttribute
        Name="MessageType"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="MessageType"
        EntityUsage="CUSTPoReqApprovalActionEO"
        AliasName="MESSAGE_TYPE"/>

    Hi,
    The reason you are getting error, is itself because you are attempting to update primary key.
    Primay key is treated as immutable in case of OAF. Hence one should avoid updating primary key.
    As far as the requirement is considered you should try some alternative approach like using duplicate row when user updates.
    Abdul Wahid

  • How / Where to Catch : oracle.jbo.TooManyObjectsException: JBO-25013

    Hi OAF Gurus,
    I have read the existing threads on .TooManyObjectsException, but none of them talks about catching this exception.
    Note: We don’t want to avoid this exception, we want it get raised. then we want to catch it and process according to our business needs.
    Our Requirement : We have to catch this exception and display in a user friendly manner
    Question: Where we can catch this exception.?
    What we did by far
    ->TooManyObjectsException is a type of RuntimeException
    -> we added try catch(Exception) blocks in the following
    try{ commit() } catch(Exception e){}
    try{ validate() } catch(Exception e){} // ROW Impl
    try{ validateEntity() } catch(Exception e){} //EO Impl
    The BIG question : where to put the try/catch block to catch the TooManyObjectsException exception.
    (Again: we do not want to avoid this exception, we want to catch it)
    Please let me know your suggestions.
    Thanks
    Chaitanya

    Tapash,
    That is not the correct thing to say, RuntimeException is a derived class of Exception, so any runtime exception will be caught if you use Exception
    Absolutely correct... read my reply carefully... i have written--- For any runtime excetion put a catch block for that runtime exception l... so iot should specially contain that runtime exception ,i,e, oracle.jbo.TooManyObjectsException.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Custom OAF Page : oracle.jbo.TooManyObjectsException: JBO-25013:

    All,
    Here is my requirement.......
    1) Custom table with columns
    payperiod - PrimaryKey
    end_date - Date
    dept - varchar2
    progYear - Number
    2) Develop custom page to insert the rows into above table
    3) Validations while commiting the changes
    a) if the row is new commit
    b) if the row is already exists throw warning message in a new page with submit & cancel.... if user select submit button then update the row with new values... if user select cancel button revert back to main page...
    I have developed a EO, EO based VO and PG.xml for the above requirement.... but the issue is when user selects CANCEL button I am getting the below error........ based on search over the forums I have tried setting vo.clearCache(); and setting the properties DisableServerSide validation, DisableClientSideValidation to true also did not help...
    Can anyone help in solving this issue....
    Error
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[201101 ].
    Pay Period - Attribute PostPayPeriod in xxpbgcpayrollinterfaceAM.xxpbgcPayrollBlobVO is required
    -----------------------------------------------------------------------------------------------

    Hi,
    *3) Validations while commiting the changes
    a) if the row is new commit
    b) if the row is already exists throw warning message in a new page with submit & cancel.... if user select submit button then update the row with new values... if user select cancel button revert back to main page... *
    use findByPrimaryKey() method for ur requirement. For more Refer Developer Guide.
    Regards,
    Gyan

  • Oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects

    Hi All,
    In one of my menus which contain function on clicking of which we get UI in tabs is erroring out with the below error:
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[-99999 ].
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3132)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2929)
         at OA.jspService(_OA.java:228)
         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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at RF.jspService(_RF.java:225)
    Does someone of you have any idea on how this error could be resolved.
    Thanks,
    Amrit

    Hi ,
    This type of error comes when you have extra column marked as Primary key e.g ROWID ,so please check this and simply remove it.
    Thanks
    Pratap

  • Reg : OAException: oracle.jbo.TooManyObjectsException: JBO-25013

    Hi Team,
    Iam getting the following exception in the seeded OAF page.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[10357 394068 ].
    *     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:2537)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1889)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:533)*
    *     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:421)*
    How to debug the issue.. Please provide your thoughts..
    -Sri

    Sri,
    Hope you have created a Entity Object for DML operation. Cross check whether u have more than one attribute marked as primary key.
    Regards.
    Gyan

  • OAF Exception :oracle.jbo.TooManyObjectsException:Primary Key

    Hi All,
    I am getting the Exception
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key
    I am inserting the same row in Table.
    My PK is col1,col2,col3
    So how to Handle this Exception and throw the User Defined Message that , The Record is available in Table.
    Regards
    Khushal

    Khushal,
    Is any other way to get Solution ?You can try to achieve the same by - Create a VO for the same and in the where pass the value for PK1,PK2,Pk3. Execute the VO, by passing the parameter and if it returns any row. Then it means that there already exists some row with the same value.
    Regards,
    Gyan

  • Java.util.Date oracle.jbo.domain.Date how can i compare?

    I have made a ViewObject wich contains a date column.
    I want to check if this date is smaller/greater than sysdate:
    i get following error:
    Error(45,24): method <(java.util.Date, oracle.jbo.domain.Date) not found in class Class4
    code:
    SimpleTimeZone pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids[0]);
    // set up rules for daylight savings time
    pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000);
    pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000);
    // create a GregorianCalendar with the Pacific Daylight time zone
    // and the current date and time
    Calendar calendar = new GregorianCalendar(pdt);
    Date trialTime = new Date();
    calendar.setTime(trialTime);
    (VO_ULNRow)singleRow = null;
    while(vo.hasNext()){ // ViewObject vo;
    singleRow = (VO_ULNRow)vo.next();
    if(calendar.getTime() < singleRow.getEO_ULN_BORROWFROM()); //singleRow returns oracle.jbo.domain.Date
    etcetera
    how can i compare those 2?

    i get following error:
    Error(45,24): method <(java.util.Date,
    oracle.jbo.domain.Date) not found in class Class4
    if(calendar.getTime() <
    singleRow.getEO_ULN_BORROWFROM()); //singleRow returns
    oracle.jbo.domain.Date
    how can i compare those 2? You cannot compare these two values directly. You must convert the oracle.jbo.domain.Date object to a GregorianCalendar object. Something like:
      oracle.jbo.domain.Date dt = singleRow.getEO_ULN_BORROWFROM();
      GregorianCalendar gc = new GregorianCalendar(dt.getYear(), dt.getMonth(), dt.getDay());
      if (calendar.getTime() < gc.getTime())
      }

  • Oracle.jbo.TooManyObjectsException: JBO-25013

    Hello,
    We are using JDeveloper 9.0.3.1 (I know, quite old). The following exception appears from time to time when re-initializing a dialog with a different id:
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[2 7172 113 ].
    at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:568)
    at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:4306)
    at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:3597)
    The exception occurs when executing the query on this ViewObject (line 3 in the sample below):
    ViewObject vo = this.app.getApplicationModule().findViewObject("MyView");
    vo.setWhereClauseParam(0, id);
    vo.executeQuery();
    This data is displayed in a table. No matter which id I use, the first call of this dialog always works.
    The corresponding EntityObject has a primary key consisting of three columns, and due to the data the primary key can indeed be identical from time to time. But I expected that after calling the dialog with a different id the ViewObject is brand new and doesn’t contain any data…
    Any ideas or more information/ code needed? Switching to a new JDeveloper version is almost impossible due to client restrictions.
    Thanks in advance. Regards, Dominik

    Thanks for the really fast answer, but I don't have such a method.

  • Oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the

    I have developerd a OAF and deployed in apps.
    When i am running that page it gives me error
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[0].
    and hides the Lines region.
    when i refresh (F5) the page it work fine .
    i am unable to debug the error.
    could be please help me.
    thanks
    Naresh

    Hi ,
    This type of error comes when you have extra column marked as Primary key e.g ROWID ,so please check this and simply remove it.
    Thanks
    Pratap

  • BC4J : oracle.jbo.TooManyObjectsException

    Hi,
    I came across this exception, while doing forward engineering.
    These are the steps I followed :
    1. Create 2 EO :
    -- PE , with 2 attributes : id, name : id as primary key
    -- FE, with 2 attributes : id , name : id as primary key
    2. Create Entity Constraints :
    -- For both the tables, with id as their primary key
    -- Create a Foreign key for FE, which references PE
    3. Create Database Objects
    -- Selected both the EO's, so that the contraints are made
    4. Making Associations, VO and VL, and adding it in the AM data model.
    5. Testing the BC4J
    For some reason, if I try to add more than 1 record in the FE table, it gives oracle.jbo.TooManyObjectsException
    The Jdev. docs says that, this exception is thrown when Entity Object row has a duplicate primary key, but I am not able to find any!!!
    Please help me with this!!
    TIA
    Sandeep

    Raghu,
    Thanks for the response.Your solution had helped me.
    There are a few queries I had while doing forward engineering.
    Taking the same example of PE and FE EOs with attributes as (pid, name) and (fid,name and pid) :
    1. When I create EO's, PK had to be defined.So do I need to "Create Entity Constraints.." for the PK's for both the EO's
    2. Difference between creating a FK reference between the two tables by "Create Entity Constraints.." and Association?
    Could you please paste the steps, that I would need to follow, for this , or alternatively a walkthrough/HOWTO of the same would be helpful.
    TIA,
    Sandeep

  • Oracle.jbo.TooManyObjectsException

    Hi all,
    I know this error has been already discussed here. I want to know all the scenarios which can produce this error.
    My scenario is : When am trying to create a row in VO using vo.create it gives this error.I dint even execute the query.Jdev Log says same primary key values exist in EO cache.
    Please help me in solving this.
    Thanks

    vo.setMaxFetchSize(0);
    // vo.executeQuery();
    TestVORowImpl row =(TestRowImpl) vo.createRow();
    COntrol goes to EO create
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    row.setTestStatus("OPEN");
    row.setTestDate(txn.getCurrentUserDate());
    ----EO create
    super.create(attributeList);
    Throw error after this
    OADBTransaction transaction = getOADBTransaction();
    Number TestId = transaction.getSequenceValue("XYZ_S")
    setYTestId(TestId);
    Jdev Log :
    FINE: [267] In createRowWho(). Setting userid to:1003259 and loginid to: 9118056
    Sep 14, 2009 2:29:25 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [268] In createObjectVersionNumber(). Setting ObjectVersionNumber to: 1
    Sep 14, 2009 2:29:25 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [269] Entering registerObject with kal.oracle.apps.xxahl.schema.cm.server.ClaimEOExpert
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [270] EntityRowSetImpl's jbo.assoc.consistent = true (1)
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [271] Column count: 11
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [272] In create(AttributeList) of OAEntityImpl.
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [273] In createRowWho(). Setting userid to:1003259 and loginid to: 9118056
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [274] ViewRowCache: removeReference, vr id = 5
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [275] In create(AttributeList) of OAEntityImpl.
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [276] In createRowWho(). Setting userid to:1003259 and loginid to: 9118056
    Sep 14, 2009 2:29:26 AM oracle.jbo.common.ADFLoggerDiagnosticImpl print
    FINE: [277] EntityCache:add ERROR - **more than one new rows with same primary key**

  • JBO-25013: Too many objects match the primary key oracle.jbo.Key[1661 ].

    Hi ,
    I'm using 11g adf
    I have a table XX , in which C1 and C2 are bind with composite key.I didn't get any issue while adding records , but when i try to fetch records using QB , i'm getting this error below
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: Too many objects match the primary key oracle.jbo.Key[1661 ].
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[1661 ].
    at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:505)
    at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:513)
    at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:870)
    at oracle.jbo.server.EntityCache.add(EntityCache.java:474)
    at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:2878)
    at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:3546)
    at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:5031)
    at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3232)
    at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3092)
    at oracle.jbo.server.QueryCollection.get(QueryCollection.java:2097)
    at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:4773)
    at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2914)
    at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2770)
    at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3011)
    at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2635)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1182)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1299)
    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1217)
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1211)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6097)
    at com.agile.xb.model.XBTransaction.EquityPlacement.EquityPlacementService.queries.XBTBankSetlHeadVOImpl.executeQuery(XBTBankSetlHeadVOImpl.java:168)
    at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBinding(DCJboDataControl.java:1315)
    at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2147)
    at oracle.adf.model.binding.DCIteratorBinding.executeQuery(DCIteratorBinding.java:2108)
    at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:598)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:424)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1289)
    at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    thanks in advance

    Thats not the problem. However, what is the condition you have. Typically, you should be having the condition C1 AND C2 and not C1 OR C2.
    Also, provide more details like how you have implemented QB. Does your iterator hasNext returns row..?
    regards,
    ~Krithika

  • Too many objects match the primary key oracle.jbo.Key[2044 ].;

    When I try to use the Accounting Setup Manager, I get a blank error message and when I click again, I get the following exception:
    Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[2044 ].;
    Any ideas?
    P.S. I've made all my tablespaces auto-extensible, I picked an accounting method, and I checked to make sure my balancing field has a valid value set.
    EDIT: I made a new calendar and it worked. Sorry for the 'stupid' question. That's a pretty stupid error message though, in my defense
    Edited by: asci on Sep 21, 2012 11:32 AM

    Please see these docs.
    R12 : Accounting Setup Manager Errors With JBO-25013 Too Many Objects Match The Primary Key oracle.jbo.Key [ID 604784.1]
    Accounting Setup Manager with Exception JBO-25013 [ID 1276858.1]
    General Ledger FAQ for Accounting Setup Manager (ASM) [ID 778826.1]
    JBO-25013: Too many objects match the primary key oracle.jbo.Key [ID 730055.1]
    How do you Create a Dummy Ledger with Minimal GL Setup for Agency Setup? [ID 1300365.1]
    Thanks,
    Hussein

  • JBO-25013: Too many objects match the primary key oracle.jbo.Key

    hi am adding values from one viewObject to another viewObject am geting this error JBO-25013: Too many objects match the primary key oracle.jbo.Key
    i used this code
    <af:commandButton text="Add New" id="cb5"
                                            actionListener="#{pageFlowScope.addMember.addMember}"/>
        RichTable empTable;
         public void setEmpTable(RichTable empTable) {
             this.empTable = empTable;
         public RichTable getEmpTable() {
             return empTable;
    binding="#{pageFlowScope.addMember.empTable}">
    the error is pointing in this line
        public void addMember(javax.faces.event.ActionEvent actionEvent) {
            List<String> tempTable = new ArrayList<String>();
            //Code to get the bindings for TargetVO :
                 RowKeySet selectedEmps = getEmpTable().getSelectedRowKeys();   
                   Iterator selectedEmpIter = selectedEmps.iterator();
                   DCBindingContainer bindings =
                                     (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding empIter = bindings.findIteratorBinding("UserDetailsViewVO1Iterator");
                   RowSetIterator empRSIter = empIter.getRowSetIterator();
                    while(selectedEmpIter.hasNext()){
                      Key key = (Key)((List)selectedEmpIter.next()).get(0);
                      Row currentRow = empRSIter.getRow(key);
                         onRowCreate(currentRow);
        public void onRowCreate( Row currentRow ) {
            OIDOperations   oIDOperations= new  OIDOperations();
            Map<Object,String> mp=new HashMap<Object, String>();         
         BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
         //access the name of the iterator the table is bound to.
         DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("DeltMember1Iterator");
         //access the underlying RowSetIterator
         RowSetIterator rsi = dciter.getRowSetIterator();
         //get handle to the last row
         Row lastRow = rsi.last();
         //obtain the index of the last row
         int lastRowIndex = rsi.getRangeIndexOf(lastRow);
         //create a new row
         Row newRow = rsi.createRow();
         String f = (String)currentRow.getAttribute("Firstname");
         String s = (String)currentRow.getAttribute("Surname");
         String u = (String)currentRow.getAttribute("Username"); 
         String n = (String)currentRow.getAttribute("Emailaddress");
            newRow.setAttribute("Firstname", f);
            newRow.setAttribute("Surname", s);
            newRow.setAttribute("Username1", u);
            newRow.setAttribute("Username", u);
            newRow.setAttribute("Emailaddress", n);
            newRow.setAttribute("Organisationid1",getorgid());
         //initialize the row
         newRow.setNewRowState(Row.STATUS_INITIALIZED);
         //add row to last index + 1 so it becomes last in the range set
         rsi.insertRowAtRangeIndex(lastRowIndex +1,  newRow);
         //make row the current row so it is displayed correctly
         rsi.setCurrentRow(newRow);   
            System.out.println("Username " + u);
            System.out.println("firstname " + f);
            System.out.println("surname " + s);
            System.out.println("email " + n);
        }Edited by: adf009 on 2013/02/14 2:44 PM
    Edited by: adf009 on 2013/02/14 2:44 PM
    Edited by: adf009 on 2013/02/14 2:46 PM
    Edited by: adf009 on 2013/02/14 2:47 PM

    how must i control my pk
    my log error is
    Caused by: oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[2909 ].
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.add(EntityCache.java:537)
         at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1207)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1152)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:498)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:515)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5714)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1993)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2492)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2533)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2514)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:11079)
         at uam.cadastre.gov.za.OrgDetails.onRowCreate(OrgDetails.java:1650)
         at uam.cadastre.gov.za.OrgDetails.addMember(OrgDetails.java:1624)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 49 more
    <DCUtil> <findSpelObject> [3498] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_OrgDetailsPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
    <DCIteratorBinding> <releaseDataInternal> [3499] Releasing iterator binding:OfficecodeList_436
    <DCIteratorBinding> <releaseDataInternal> [3500] Releasing iterator binding:OrganisationtypecodeList_344
    <DCIteratorBinding> <releaseDataInternal> [3501] Releasing iterator binding:OrgsubtypecodeList_437
    <DCIteratorBinding> <releaseDataInternal> [3502] Releasing iterator binding:CountrycodeList_438
    <DCIteratorBinding> <releaseDataInternal> [3503] Releasing iterator binding:ProvinceList_439
    <DCIteratorBinding> <releaseDataInternal> [3504] Releasing iterator binding:CityList_440
    <DCIteratorBinding> <releaseDataInternal> [3505] Releasing iterator binding:SuburbList_441
    <JUCtrlHierNodeBinding> <release> [3506] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_45, value:UpdResPerson1Iterator
    <JUCtrlHierNodeBinding> <release> [3507] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_46, value:UpdResPerson1Iterator
    <JUCtrlHierNodeBinding> <release> [3508] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_90, value:UserDetailsViewVO1Iterator
    <JUCtrlHierNodeBinding> <release> [3509] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_203, value:DeltMember1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3510] Releasing iterator binding:UpdUamOrganisation1Iterator
    <JUCtrlHierNodeBinding> <release> [3511] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_45, value:UpdResPerson1Iterator
    <JUCtrlHierNodeBinding> <release> [3512] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_46, value:UpdResPerson1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3513] Releasing iterator binding:UpdResPerson1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3514] Releasing iterator binding:UpdPaymentOptions1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3515] Releasing iterator binding:LutPaymentmethodsView1Iterator
    <JUCtrlHierNodeBinding> <release> [3516] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_203, value:DeltMember1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3517] Releasing iterator binding:DeltMember1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3518] Releasing iterator binding:UamUserdetailsView1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3519] Releasing iterator binding:UpdOrganisationUser1Iterator
    <JUCtrlHierNodeBinding> <release> [3520] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_90, value:UserDetailsViewVO1Iterator
    <DCIteratorBinding> <releaseDataInternal> [3521] Releasing iterator binding:UserDetailsViewVO1Iterator
    <JUCtrlHierNodeBinding> <release> [3522] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3523] Releasing iterator binding:operators_357
    <DCIteratorBinding> <releaseDataInternal> [3524] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3525] Releasing iterator binding:values_360
    <DCIteratorBinding> <releaseDataInternal> [3526] Releasing iterator binding:values_360
    <DCIteratorBinding> <releaseDataInternal> [3527] Releasing iterator binding:nestedViewCriteria_362
    <DCIteratorBinding> <releaseDataInternal> [3528] Releasing iterator binding:nestedViewCriteria_362
    <DCIteratorBinding> <releaseDataInternal> [3529] Releasing iterator binding:operators_357
    <DCIteratorBinding> <releaseDataInternal> [3530] Releasing iterator binding:operators_364
    <DCIteratorBinding> <releaseDataInternal> [3531] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3532] Releasing iterator binding:values_367
    <DCIteratorBinding> <releaseDataInternal> [3533] Releasing iterator binding:values_367
    <DCIteratorBinding> <releaseDataInternal> [3534] Releasing iterator binding:nestedViewCriteria_369
    <DCIteratorBinding> <releaseDataInternal> [3535] Releasing iterator binding:nestedViewCriteria_369
    <DCIteratorBinding> <releaseDataInternal> [3536] Releasing iterator binding:operators_364
    <DCIteratorBinding> <releaseDataInternal> [3537] Releasing iterator binding:operators_371
    <DCIteratorBinding> <releaseDataInternal> [3538] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3539] Releasing iterator binding:values_374
    <DCIteratorBinding> <releaseDataInternal> [3540] Releasing iterator binding:values_374
    <DCIteratorBinding> <releaseDataInternal> [3541] Releasing iterator binding:nestedViewCriteria_376
    <DCIteratorBinding> <releaseDataInternal> [3542] Releasing iterator binding:nestedViewCriteria_376
    <DCIteratorBinding> <releaseDataInternal> [3543] Releasing iterator binding:operators_371
    <DCIteratorBinding> <releaseDataInternal> [3544] Releasing iterator binding:operators_378
    <DCIteratorBinding> <releaseDataInternal> [3545] Releasing iterator binding:listIter
    <DCIteratorBinding> <releaseDataInternal> [3546] Releasing iterator binding:values_381
    <DCIteratorBinding> <releaseDataInternal> [3547] Releasing iterator binding:values_381
    <DCIteratorBinding> <releaseDataInternal> [3548] Releasing iterator binding:nestedViewCriteria_383
    <DCIteratorBinding> <releaseDataInternal> [3549] Releasing iterator binding:nestedViewCriteria_383
    <DCIteratorBinding> <releaseDataInternal> [3550] Releasing iterator binding:operators_378
    <DCIteratorBinding> <releaseDataInternal> [3551] Releasing iterator binding:criteriaItemsForSearch_348
    <DCIteratorBinding> <releaseDataInternal> [3552] Releasing iterator binding:viewObjectBindVars_351
    <DCIteratorBinding> <releaseDataInternal> [3553] Releasing iterator binding:viewObjectBindVars_351
    <DCIteratorBinding> <releaseDataInternal> [3554] Releasing iterator binding:properties_353
    <DCIteratorBinding> <releaseDataInternal> [3555] Releasing iterator binding:properties_353
    <DCIteratorBinding> <releaseDataInternal> [3556] Releasing iterator binding:criteriaItemsForSearch_348
    <JUCtrlHierNodeBinding> <release> [3557] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3558] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3559] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3560] Releasing iterator binding:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3561] Releasing iterator binding:variableIterator
    <DCIteratorBinding> <releaseDataInternal> [3562] Releasing iterator binding:UamAddress1Iterator
    <ApplicationPoolMessageHandler> <doPoolMessage> [3563] **** PoolMessage REQ ATTACH LWS
    <ApplicationPoolMessageHandler> <doPoolMessage> [3564] **** PoolMessage REQ DETACH LWS
    <ViewObjectImpl> <closeStatementsResetRowSet> [3565] ViewObject: [internal_vcival_def]Root.internal_vcival_def_385 close prepared statements...
    <ViewObjectImpl> <closeStatementsResetRowSet> [3566] ViewObject: [internal_vco_def]Root.internal_vco_def_442 close prepared statements...
    <ViewObjectImpl> <closeStatementsResetRowSet> [3567] ViewObject: [internal_vci_def]Root.internal_vci_def_355 close prepared statements...
    <ViewObjectImpl> <closeStatementsResetRowSet> [3568] ViewObject: [AppModule.UserDetailsViewVO1.data_uam_view_updateorgPageDef_Updatetaskflowdefinition1_uam_view_pageDefs_OrgDetailsPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition_ImplicitViewCriteriaQuery]Root.AppModule_UserDetailsViewVO1_data_uam_view_updateorgPageDef_Updatetaskflowdefinition1_uam_view_pageDefs_OrgDetailsPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition_ImplicitViewCriteriaQuery_346 close prepared statements...
    <DCUtil> <findSpelObject> [3569] DCUtil, returning:oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding, for ImplicitViewCriteriaQuery
    <JUCtrlHierNodeBinding> <release> [3570] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3571] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3572] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_87, value:vcRowsIterator
    <JUCtrlHierNodeBinding> <release> [3573] released: ROOT node binding:noCtrl_oracle_adfinternal_view_faces_model_binding_FacesCtrlHierNodeBinding_88, value:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3574] Releasing iterator binding:vcRowsIterator
    <DCIteratorBinding> <releaseDataInternal> [3575] Releasing iterator binding:variableIterator
    <ADFLogger> <begin> Rollback transaction
    <ApplicationModuleImpl> <resetState> [3576] Resetting AM=Root
    <ApplicationPoolMessageHandler> <doPoolMessage> [3577] **** PoolMessage REQ DETACH LWS
    <ApplicationPoolMessageHandler> <doPoolMessage> [3578] **** PoolMessage REQ ATTACH LWS
    <ApplicationPoolMessageHandler> <doPoolMessage> [3579] **** PoolMessage REQ DETACH LWS
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[2909 ].
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[2909 ]}
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.add(EntityCache.java:537)
         at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1207)
         at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1152)
         at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:498)
         at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:515)
         at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5714)
         at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1993)
         at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2492)
         at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2533)
         at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2514)
         at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:11079)
         at OrgDetails.onRowCreate(OrgDetails.java:1650)
         at OrgDetails.addMember(OrgDetails.java:1624)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 more
    the error is in this like Row newRow = rsi.createRow();Edited by: adf009 on 2013/02/14 2:48 PM

Maybe you are looking for

  • Buttons (silent, volume, on/off) and headphone jack no longer working!

    All of a sudden my iPhone stopped working - that is, none of the buttons work except the round one below the screen. None around the sides work any more and the headphones jack doesn't work either. I have the latest os/firmware (3.1). This happened t

  • Pie Chart Colors

    So I have created a pie chart using the Pie Graph Tool in AI, the data is accurate once it is made, but I cannot change the colors.  After entering in the numbers into the cell I select the check mark.  It makes the pie graph.  Doesn't let me select

  • VENDOR AUTO PAYMENT

    Dear gurus, I had some problems about making auto payment in AP as follow: 1) When making a down payment, the document is automatically block for payment. It cause difficulties when I want to make auto payment, I have to manual change a lot of docume

  • DML Statements for a Form

    Hello, I have 3 Pages created with different widgets which are not based on Base Table. The form is not based on a Base table. Form is divided into 3 Pages with Next/Cancel/Previous/Create Buttons. When the user clicks on the Create button on the 3rd

  • Movement types corrsponds to Inbound ,Outbound and Internal transaction

    Hi, Can anyone tell me the list of movement types corresponding  to the Inbound,Outbound  and for Internal Transaction. for example:  movement type 101 corresponds to Inbound transaction. Thanks