Oracle.jbo.RowAlreadyDeletedException raised on EO impl with dead status.

Any help with this will be greatly appreciated as this is affecting our live environment and as yet we have no fix.
I have 3 tables (for simplicity lets call them table A, B and C). I have 3 entity objects related by strong association EO_A, EO_B and EO_C. EO_C is the child of EO_B which is the child of EO_A - simple. I have a view object for each entity and the VO's are related by view links. I am experiencing the following problem :
I insert a row into VO_A and then call a procedure on the database to insert some rows into tables B and C. I post my changes on the transaction then re-query VO_A. I then update a row in VO_C (for a given VO_B master record) in the UI and the change is succssfully set on the EO. I then cancel the transaction using DBTransaction.rollback(). I receive the error :
oracle.jbo.AfterRollbackException: JBO-26102: An error occurred after rollback was performed.
When I start the transaction again, the first time a transaction attached to the same Application Module tries to post changes, I receive the error (where SrResourcesEOis EO_B):
oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row of key oracle.jbo.Key[5264 ] not found in SrResourcesEO
I have found that this is because the transaction is trying a SELECT FOR UPDATE NOWAIT on a row in EO_B that was created and rolled back in the previous failed transaction ???
Debug log entry (where SrResourcesEO = EO_B) :
"OracleSQLBuilderImpl.doEntitySelect(565) Executing LOCK...SELECT SCHEDULE_RESOURCE_ID, SCHEDULE_ID, PERSON_ID, LAST_UPDATED_BY, LAST_UPDATE_DATE, ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, LAST_UPDATE_LOGIN, CREATED_BY, CREATION_DATE FROM CPW_SR_RESOURCES SrResourcesEO WHERE SCHEDULE_RESOURCE_ID=:1 FOR UPDATE NOWAIT"
I cannot understand why this is as the AM was released in the previously failed attempt and this is a completely new transction.
The really scary thing is that once this happens it affects ALL users, not just the user who's session caused the error. The error persists until the web server is restarted. It's almost as if (although I'm sure this can't happen) the previous corrupt transaction listener is still lurking around and is trying to re-try the action it previously failed on when the transaction next posts changes.
Findings:
1) The same problem happens if I delete a record.
2) If I insert a new record to EO_C in the UI and rollback the transaction I do not get the error. The problem only occurs if I update or delete a record that was created by the procedure on the database.
3) If I do the same DML into table B and C via the entity objects EO_B and EO_C not via the DB procedure, I do not get the error when I rollback.
4) The original error (JBO-26102) is being raised in afterRollback() on the parent EO_B.
5) The subsequent error (JBO-25019) is being raised in lock() on the parent EO_B.
It appears that I am experiencing a similar issue mentiond by Steve Muench in the following thread.
Re: Internal error: Entity.afterRollback.status_dead   -- What does this mean?
The difference is that I am not using dual composition. I do not have one child with two owning parents, I have one child (EO_C) with one owning parent (EO_B).
I am using JDeveloper version 9.0.3.5 (I am constrained to this version as I am using it in an OA environment)
We are running BC4J 9.0.3.13
Any help greatly appreciated.

Ok, i found out why I am getting the error and the raised exception:
Before the commit, I am doing
row.setAttribute("Attribute",newVal);
That's why it raises the exception. I commented out that line and I'm getting no error anymore. But it does not commits the operation to the DB (i.e. no new row is added to the table). So, the same behaviour as the delete operation that I talked about in the 1st post.

Similar Messages

  • Oracle.jbo.RowAlreadyDeletedException with outer join

    Hi,
    I have created a VO, based on an EO, with an outer join present.
    The first time I query my data (search) everything goes well, but when I perform a search the second time, I receive the error message: "oracle.apps.fnd.framework.OAException: oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entiteitsrij van sleutel oracle.jbo.Key[202 53162 ] not found in XxpostMmpParametersEO."
    The reason why is because of the outer join there is no 1 to 1 relationship between the EO and the VO. However for the first time , it works fine.
    Does someone have an idea how I can avoid the error for my second search action?
    Thanks in advance!
    br
    Guy

    Hi all,
    the following article:
    http://radio.weblogs.com/0123729/stories/2003/05/15/entityObjectOverTableWhosePrimaryKeyMayBeNull.html
    suggest a possible workaround. It wok fine, but it is not generic! :((
    By
    Alessandro

  • Error: 'oracle.jbo.RowAlreadyDeletedException:......

    Hi All,
    I am extending a VO and for that I have just added one more coulmn with NVL to a existing column as given below:
    SELECT routingruleseo.rule_id, routingruleseo.message_type,
    routingruleseo.message_name, routingruleseo.begin_date,
    routingruleseo.end_date, routingruleseo.ACTION,
    routingruleseo.action_argument, itemtypeseo.display_name AS
    type_display, decode(itemtypeseo.display_name, NULL, ('<' || wf_core.TRANSLATE('ALL') || '>'), itemtypeseo.display_name) AS
    type_display1, decode(messageseo.display_name, NULL, ('<' || wf_core.TRANSLATE('ALL') || '>'), messageseo.display_name) AS
    msg_display, messageseo.subject,
    lookupseo.meaning AS action_display,
    itemtypeseo.name, messageseo.type,
    messageseo.name AS name1,
    lookupseo.lookup_type, lookupseo.lookup_code
    FROM wf_routing_rules routingruleseo,
    wf_item_types_vl itemtypeseo,
    wf_messages_vl messageseo,
    wf_lookups lookupseo
    WHERE routingruleseo.role = :1
    AND routingruleseo.message_type = itemtypeseo.name(+)
    AND routingruleseo.message_type = messageseo.type(+)
    AND routingruleseo.message_name = messageseo.name(+)
    AND routingruleseo.ACTION = lookupseo.lookup_code
    AND lookupseo.lookup_type = 'WFSTD_ROUTING_ACTIONS'
    value of this column may null also but adding nvl is giving the error below:
    'oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row of key oracle.jbo.Key[POAPPRV POAPPRV ] not found in MessagesEO.'
    I am not updating or inserting any row there, my query is to display data for different vacation rules defined for a particular user in iProc page-vacation rules.
    Can anybody help me or suggest something as this is bit urgent..
    Many thanks,
    Suman
    Edited by: suman.g on 10-Nov-2009 00:29

    Hi Abdul,
    Sorry!! sent old query..
    Please find new query..
    SELECT RoutingRulesEO.RULE_ID,
    RoutingRulesEO.MESSAGE_TYPE,
    RoutingRulesEO.MESSAGE_NAME,
    RoutingRulesEO.BEGIN_DATE,
    RoutingRulesEO.END_DATE,
    RoutingRulesEO.ACTION,
    RoutingRulesEO.ACTION_ARGUMENT,
    ItemTypesEO.DISPLAY_NAME AS TYPE_DISPLAY,
    NVL(ItemTypesEO.DISPLAY_NAME,('<'||wf_core.TRANSLATE('ALL')||'>')) AS TYPE_DISPLAY1,
    NVL(MessagesEO.DISPLAY_NAME,('<'||wf_core.TRANSLATE('ALL')||'>')) AS MSG_DISPLAY,
    MessagesEO.SUBJECT,
    LookupsEO.MEANING AS ACTION_DISPLAY,
    ItemTypesEO.NAME,
    MessagesEO.TYPE,
    MessagesEO.NAME AS NAME1,
    LookupsEO.LOOKUP_TYPE,
    LookupsEO.LOOKUP_CODE
    FROM WF_ROUTING_RULES RoutingRulesEO, WF_ITEM_TYPES_VL ItemTypesEO, WF_MESSAGES_VL MessagesEO, WF_LOOKUPS LookupsEO
    WHERE RoutingRulesEO.ROLE = :1
    and RoutingRulesEO.MESSAGE_TYPE = ItemTypesEO.NAME (+)
    and RoutingRulesEO.MESSAGE_TYPE = MessagesEO.TYPE (+)
    and RoutingRulesEO.MESSAGE_NAME = MessagesEO.NAME (+)
    and RoutingRulesEO.ACTION = LookupsEO.LOOKUP_CODE
    and LookupsEO.LOOKUP_TYPE = 'WFSTD_ROUTING_ACTIONS'
    Best Regards,
    suman

  • Oracle.jbo.RowAlreadyDeletedException: JBO-25031

    Hi,
    I have a combo lov with list of values in one of my VO. When i open my lov it shows me all the values available but, after i choose a particular value from the list, it throws an exception "oracle.jbo.RowAlreadyDeletedException: JBO-25031: View row for view object *****VO is missing entity row for *****EO"
    DCBindingContainer.reportException :oracle.jbo.RowAlreadyDeletedException
    [6498] oracle.jbo.RowAlreadyDeletedException: JBO-25031: View row for view object UwmWunWunVO is missing entity row for UixWunEO.
         at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:2351)
         at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:2165)
         at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1453)
         at oracle.ofsll.frameworkExtns.model.FLLViewRowImpl.setAttributeInternal(FLLViewRowImpl.java:36)
         at oracle.ofsll.model.views.wfp.uwm.wun.UwmWunVORowImpl.setWunWprId(UwmWunVORowImpl.java:1898)
         at oracle.ofsll.model.views.wfp.uwm.wun.UwmWunVORowImpl$AttributesEnum$3.put(UwmWunVORowImpl.java:68)
         at oracle.ofsll.model.views.wfp.uwm.wun.UwmWunVORowImpl.setAttrInvokeAccessor(UwmWunVORowImpl.java:4309)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1089)
         at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1029)
         at oracle.jbo.server.ViewRowImpl.setAttributeValues(ViewRowImpl.java:1703)
         at oracle.jbo.common.AbstractListBinding.setTargetAttrsFromLovRow(AbstractListBinding.java:464)
         at oracle.jbo.common.AbstractListBinding.updateTargetFromSelectedValue(AbstractListBinding.java:475)
         at oracle.jbo.common.AbstractListBinding.filterAndApplyListWithCaseCheck(AbstractListBinding.java:911)
         at oracle.jbo.common.AbstractListBinding.filterList(AbstractListBinding.java:538)
         at oracle.jbo.server.RowImpl.applyListBindings(RowImpl.java:1101)
         at oracle.jbo.server.ViewRowImpl.setAttributeValues(ViewRowImpl.java:1867)
         at oracle.adf.model.binding.DCDataControl.setAttributesInRow(DCDataControl.java:2428)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.setAttributeValuesInRow(JUCtrlValueBinding.java:976)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.setTargetAttrsFromLovRow(JUCtrlListBinding.java:2801)
         at oracle.jbo.uicli.jui.JUComboBoxLovEditBinding.performLOVAction(JUComboBoxLovEditBinding.java:373)
         at oracle.jbo.uicli.jui.JUComboBoxLovEditBinding.invokeLOVAction(JUComboBoxLovEditBinding.java:337)
         at oracle.jbo.uicli.jui.JUComboBoxLovEditBinding.actionPerformed(JUComboBoxLovEditBinding.java:252)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    [6499] JUErrorHandlerDlg.reportException(oracle.jbo.RowAlreadyDeletedException)
    please help...thanks in advance
    $@!

    hi user,
    the error is self - explanatory "RowAlreadyDeleted". anyhow, i dont re-phrase it anymore.
    go through this doc.
    http://docs.oracle.com/cd/E23549_01/apirefs.1111/e10653/oracle/jbo/RowAlreadyDeletedException.html
    context mentioned:
    "Thrown when the requested row is not found in the the database perhaps *it has been already deleted after the row was initially queried*. This excecption may be thrown for either an Entity Object row or a View Object row. "
    check it out.
    http://beautifulwaste.blogspot.in/2007/02/strange-adf-problem-timepart-of-date.html

  • Urgent - oracle.jbo.RowAlreadyDeletedException

    Hi
    I am getting following exception any ideas why?
    oracle.apps.fnd.framework.OAException: oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row of key oracle.jbo.Key[130 3 ] not found in MTApproverEO

    Hi,
    I remember juggling with this error, to avoid it the best way is, if your query has multiple outer joins , don't rely on code of developers' guide, it won't work!
    Just understand the logic that Framework understands this as an update operation(rather than create operation) and it could not find row in the table in outer join, so it throws the error.
    I had a similar problem, I had the VO query with 2 outer joins.So instead of making one VO with 2 outer joins query, i made three VOs with no outer joins.
    1st VO-->what your original Vo query was, keep it as it is, but use only one EO in the query, rest you can directly use table refrence in the query.The other table columns which you need to update you have to make them transient in this VO, so that you can copy them once you get them from the user.
    2ndVO-->based on EO of second tbale joined with outer join
    Similarly for third VO.You can use VL to find records of first VO in the other 2 vOs.
    Now,in your code always check while updating that the VO(TABLE) which is joined has to be joined with outer join has the corresponding row or not, if not first create the row and then proceed with update operation!
    Try to follow this approach, it will work for you!
    ---Mukul

  • Error - oracle.jbo.RowAlreadyDeletedException: JBO-25019

    Hi,
    I am getting this error upon commit when updating a record:
    Error - oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row of key oracle.jbo.Key[2182 28F40F1AC7FE3D79C65FB880C996B40789A0F5999C132C7243FDBB6D3DA9D0D2 [email protected] ] not found in FndRegistrationsEO
    I am not using an outer join in my VO. No idea what's going on.
    Please help. Thanks.
    Regards,
    Lindsay

    I am already able to resolved the issue.
    Problem is that the record i queried for update doesn't have a value for one of the primary keys. It doesn't show in the error because the PK values shown are the values that I am trying to set.
    Resolution: Removed the PK tag for the null attribute.

  • Oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row of key null

    Hi ,
    I am trying to extend one OA page.
    1. My requirement is to add two new messageTextInput to a page.
    2. But this page always updates data. It never creates records.
    3. But my two new fields belongs to a new table and other attributes belongs to a different vanila table (which is vanilla functionality). There is record in the vanila table but no recoed at the new table.
    4 so My requirement is when i will try to save the values , it will update into the old vanila table and i[b]nsert[b[/b]] into other table(new table).
    So when i try to save data it shows error
    oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row of key null not found in EAddInfoEO
    Can anybody help me ??
    Thanks,
    Prabhat

    For Error: method getEntityDef() has protected access in class oracle.apps.fnd.framework.server.OAEntityImpl
    try this
    There is a method called
    EntityImpl[] getEntities() in OAViewRowImpl, so call this method and get the entity.
    Once you have the entity, call the getEntityDef() on this object.
    so what you are essentially doing is calling the getEntityDef() on EntityImpl object directly instead of calling it from a subclass of OAEntityImpl.
    For Error: variable customEO not found in class xxxxxxx
    See if you have a variable/object reference by this name in the class.
    Thanks
    Tapash

  • Entity row with key oracle.jbo.Key is not found in EO

    Hi,
    We are using jDev 11.1.1.5.0.
    I am facing the issue Entity row with key oracle.jbo.Key is not found in my entity object.
    I have EO based VO and I am performing some operations on the VO. Based on user actions on UI, I need delete some records of the entity and I am using stored proc to delete those records and committing the changes in stored proc it self. After invoking stored procedure I am committing the changes performed in UI using ADF bindings.
    While invoking Commit from ADf I getting below error
    {code:java}
    <ADFLogger> <addContextData> Entity read all attributes
    <OracleSQLBuilderImpl> <rollbackToSavepoint> [139913] OracleSQLBuilder: ROLLBACK WORK TO SAVEPOINT 'BO_SP'
    <ADFLogger> <addContextData> Commit transaction
    <DCBindingContainer> <reportException> [139914] DCBindingContainer.reportException :oracle.jbo.RowAlreadyDeletedException
    <DCBindingContainer> <reportException> [139915] oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row with key oracle.jbo.Key [204635 124 202810 N ] is not found in EO.
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:878)
      at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:553)
      at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8259)
      at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5964)
      at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6484)
      at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6665)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3286)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3089)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2093)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2374)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
    {code}
    Please let me know if you have any pointers to resolve this.
    Thanks,
    Satya

    Where you are calling stored procedure which deletes records in the DB ?
    Try to override doDML() i your entity impl, as follows:
    protected void doDML(int operation, TransactionEvent e) {
         if(operation == DML_DELETE)    
              call_your_storedProc_here();
         else
             super.doDML(operation, e);
    Also, ensure that the procedure deletes the same set of records as well you in the middle tier.

  • Entity row with key oracle.jbo.

    hi am having this error when updating a record,am in Jdeveloper 11.1.1.6.0
    Entity row with key oracle.jbo.Key[707 ] is not found in Userdetail

    Isn't this the same problem than in (oracle.jbo.RowAlreadyDeletedException) JBO-25019: which seems to be solved?
    regards
    Peter

  • ERROR oracle.jbo.RowAlreadyDeleted Exception

    Attempting to add courses in the Appraisal-->Appraise-->Give Final Ratings-->Add Courses. After adding the course and clicking on Apply Button. I am getting the following error.
    Oracle.jbo.RowAlreadyDeletedException : job.25019 :Entity Row of Key null not found in LearningPathMembersEO

    Uma,
    In your JDeveloper log window, you could see that the SELECT faulted. The select is basically the entire SQL statement of the EO columns and the bind clause (with the parameter that you identified as Key attribute) which could not find the desired record.
    RowAlreadyDeletedException is thrown if the row that is to be modified could not be found OR if you are attempting to delete an row that has been deleted already. I am presuming that you are not deleting any records on the UI. Please check your EO and VO again. It appears the key attributes are missing or not have been checked.

  • JBO-25014: Another user has changed the row with primary key oracle.jbo.Key

    Hi,
    I am developing a Fusion Web Application using Jdeveloper 11.1.2.1.0. I have a home.jspx page that has a ADF table built on efttBilling View Object. . When you click on one of the rows in the table, it will take you to detail.jspx where you can edit the row and save. When 'save' is clicked, stored procedures are executed to update/insert rows into few tables , and then go back to home.jspx where you need to see updated content for that row.
    To get down to the exact issue, updates are made to the tables on which the efttBilling View Object is built using a stored procedure. Once this is done, I am trying to requery view object to see new content. But I keep getting JBO-25014: Another user has changed the row with primary key oracle.jbo.Key error. Following are the approaches I followed to query new results:
    a. Executed Application Modules Commit Method. Created 'Commit' Action binding and tied it to homePageDef.xml. Called this binding from a view scope bean.
        BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
         OperationBinding operationBinding = bindings.getOperationBinding("Commit");
        Object result = operationBinding.execute();
       if (!operationBinding.getErrors().isEmpty())
        return null;
    b. Marked 'Refresh on Insert' , 'Refresh on Update', 'Change Indicator' checkboxes for all the attributes in the entities associated with efttBilling View Object.
    c. Tried to Requery View Object. Created a refreshViewObject method in Application Module Impl.java file, exposed this method to the client interface and created a invokeMethod Action binding in home.jspx
    Code in Application Module:
      public void refresheftTransactionsforBillingAccountViewObj1View()
        System.out.println("In eftTransactionsforBillingAccountViewObj1");
      findViewObject("eftTransactionsforBillingAccountViewObj1").executeQuery();
    Code in view scope bean
            DCBindingContainer bindings =
           (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            OperationBinding operation =
            bindings.getOperationBinding("refresheftTransactionsforBillingAccountViewObj1View");
            operation.execute();
    I have searched web, ADF forums and tried methods suggested in there but no sucess.
    Could anyone please provide some insight in this issue. I have been battling with this since quite some time. I can provide you with the log file too.
    Thanks!
    Shai.

    What code does your Commit method have .. can you try using the Commit executable from the AM itself instead ?
    Also -
    Shai wrote:
    'Change Indicator' checkboxes for all the attributes in the entities associated with efttBilling View Object.
    which all attributes you set this property for . it should just be for History columns as such.
    Did you also check if this could be your scenario ?
    Decompiling ADF Binaries: Yet another reason for &quot;JBO-25014: Another user has changed the row with primary key orac…
    OR
    JBO-25014: Another user has changed the row with primary key oracle.jbo.Key
    OR
    Another user has changed the row with primary key -Table changed externally
    Message was edited by: SudiptoDesmukh

  • Problem with oracle.jbo.domain.Date

    Hi there,
    I've a problem with oracle.jbo.domain.Date,
    I'm doing this code (this part of code is used in my Session Attribute Listener):
    * This method is used to add the session id in the database, whenever user login
    public void attributeAdded(HttpSessionBindingEvent hsbe){
    if(!hsbe.getName().equals("user")){
    return;
    AmLogin am = (AmLogin)Configuration.createRootApplicationModule(
    "com.ahm.pdt001.am.AmLogin",
    "AmLoginLocal");
    try{
    hsbe.getSession().setAttribute("login", new Date(new Timestamp(
    System.currentTimeMillis())));
    am.createLogin(hsbe.getValue().toString(), hsbe.getSession().
    getAttribute("login").toString());
    } catch(Exception e){
    e.printStackTrace();
    System.out.println("Error insert data user: " + hsbe.getValue());
    } finally{
    Configuration.releaseRootApplicationModule(am, true);
    Everything is running well in Jdev 10.1.3 (I'm using ADF Faces technology), and I'm trying to deploy it on OC4J 10.1.2 and it works. But it raised an error when this part of code is runned.
    --------------caused and error------------------------
    hsbe.getSession().setAttribute("login", new Date(new Timestamp(
    System.currentTimeMillis())));
    And this is an error:
    javax.faces.FacesException: #{pdt001.loginAction}: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)     at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at com.ahm.filter.AhmFilterSession.doFilter(AhmFilterSession.java:45)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)Caused by: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)     ... 23 moreCaused by: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V     at com.ahm.pdt001.listener.Pdt001AttributeSessionListener.attributeAdded(Pdt001AttributeSessionListener.java:27)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:128)     at com.ahm.pdt001.bean.Pdt001Bean.loginAction(Pdt001Bean.java:61)     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:324)     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    Does anybody have the same problem like this? I've used the same method in my previous project to create oracle.jbo.domain.Date with current time using java.sql.Timestamp, but I don't know why this error happened.
    Thx,
    Andre

    Re: oracle jbo.domain.Date issues in 10.1.3
    Sascha

  • Oracle.jbo.RowNotFoundException: JBO-25034: Row with handle not found

    Hello,
    I am developing a fusion web application on Jdeveloper 11.1.2.1.0.
    I have a ADF table which is bound to a table in the backing bean. There is a "Process" button for each row that works completely fine. There is button called "Process All" beneath the table especially designed  to do some processing with all the rows.. When I click the button, following happens with every row
    1) A call is made to a webservice
    2) Results from the webservice needs to be updated on that row in the database.
    There is a process button for each row that works completely fine.
    I am successful with the above two points for the first row. But when the control gets to the second row, results from webservice are retrieved but updating the results in the database is where I am seeing the problem.
    I am doing the update via ApplicationmoduleImpl.java method:
      public void markEFTTransaction(int eft_id)
        System.out.println("In Application module markEFTTransaction");
        System.out.println("EFT ID to mark is" + eft_id);
        DBTransaction trans = getDBTransaction();
        try
          CallableStatement cs = trans.createCallableStatement("begin ? := ai.ba_p003_eft.mark_eft_transaction(?); end;", 0);
          cs.registerOutParameter(1,Types.VARCHAR);
          cs.setInt(2, eft_id);
          cs.executeUpdate();
          String result = cs.getString(1);
          System.out.println(result);
          if (result.equalsIgnoreCase("N"))
            System.out.println("committed to database");
            getTransaction().commit();
          else
            System.out.println("\n Transaction rolled back. \n");
            getTransaction().rollback();
          cs.close();
        } catch (Exception e)
        System.out.println("Exception is " + e);
    view scope bean method:
      public String ProcessAll()
        RowKeySet rks = new RowKeySetImpl();
        CollectionModel model = (CollectionModel)nonProcessedTable.getValue();
        int rowcount = model.getRowCount();
        for (int i = 0; i < rowcount; i++) {
          model.setRowIndex(i);
          Object key = model.getRowKey();
          rks.add(key);
        nonProcessedTable.setSelectedRowKeys(rks);
        // Add event code here...
        List<String> updateList = new ArrayList<String>();
        RowKeySet selectedTransaction = nonProcessedTable.getSelectedRowKeys();
        Iterator selectedTransactionIter = selectedTransaction.iterator();
        System.out.println("we have " + nonProcessedTable.getSelectedRowKeys().size() + " rows selected");
        DCBindingContainer bindings =
                          (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
        DCIteratorBinding transactionIter = bindings.findIteratorBinding("eftTransactionsforBillingAccountViewObj1Iterator");
        RowSetIterator transactionRSIter = transactionIter.getRowSetIterator();
        //Select Rows and perform transaction
        while(selectedTransactionIter.hasNext())
          Key key = (Key)((List)selectedTransactionIter.next()).get(0);
          System.out.println("Key is" +key);
          Row currentRow = transactionRSIter.getRow(key);
          System.out.println("EFTT ID IS"+currentRow.getAttribute("efttId"));
          Utilities.getApplicationModule().markEFTTransaction(Integer.parseInt(currentRow.getAttribute("efttId").toString()));
      return null;
    Output:
    we have 26 rows selected
    Key isoracle.jbo.Key[101 741 ]
    Source breakpoint: unProcessedBean.java:443
    EFTT ID IS741
    <BindingContext> <findDataControl> [697] INFO: no refreshRegion, skipping cpx codebase lookup on AppModuleDataControl
    In Application module markEFTTransaction
    EFT ID to mark is741
    N
    committed to database
    <ADFLogger> <begin> Commit transaction
    <ViewObjectImpl> <afterCommit> [698] eftTransactionsforBillingAccountViewObj1 notify COMMIT ...
    <DBTransactionImpl> <clearEntityCacheInternal> [699] Clearing EO cache for com.alliednational.ai.authorize.net.model.entities.bla
    <ViewObjectImpl> <doClearCache> [700] Clearing VO cache for eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [701] Clear QueryCollection in cache for VO eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <doClearCache> [702] Clearing VO cache for blaeftDetailViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [703] Clear QueryCollection in cache for VO blaeftDetailViewObj1
    <DBTransactionImpl> <clearEntityCacheInternal> [704] Clearing EO cache for com.alliednational.ai.authorize.net.model.entities.eftt
    <ViewObjectImpl> <doClearCache> [705] Clearing VO cache for eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [706] Clear QueryCollection in cache for VO eftTransactionsforBillingAccountViewObj1
    <ViewObjectImpl> <doClearCache> [707] Clearing VO cache for blaeftDetailViewObj1
    <ViewObjectImpl> <clearQueryCollectionCache> [708] Clear QueryCollection in cache for VO blaeftDetailViewObj1
    <ADFLogger> <addContextData> Commit transaction
    <ADFLogger> <end> Commit transaction
    Key isoracle.jbo.Key[135 863 ]
    <ActionListenerImpl> <processAction> oracle.jbo.RowNotFoundException: JBO-25034: Row with handle 13 is not found in rowset eftTransactionsforBillingAccountViewObj1.
    javax.faces.el.EvaluationException: oracle.jbo.RowNotFoundException: JBO-25034: Row with handle 13 is not found in rowset eftTransactionsforBillingAccountViewObj1.
      at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:965)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      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:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      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:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      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.runJaasMode(JpsAbsFilter.java:94)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      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:136)
      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.RowNotFoundException: JBO-25034: Row with handle 13 is not found in rowset eftTransactionsforBillingAccountViewObj1.
      at oracle.jbo.server.ViewRowSetImpl.getRowFromHandle(ViewRowSetImpl.java:3220)
      at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3307)
      at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3294)
      at oracle.jbo.server.ViewObjectImpl.getRow(ViewObjectImpl.java:10772)
      at com.alliednational.ai.authorize.net.view.beans.unProcessedBean.ProcessAll(unProcessedBean.java:442)
      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.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
      ... 46 more
    Any help is appreciated!!!
    Shailaja.

    This error is often the result of an activation/passivation problem in the application. Have you tested your app with application module pooling turned off?
    If not I suggest that you do this and make sure all errors coming up in this mode to be fixed first. After the app runs OK with application module pooling turned off check if the error still occurs.
    Timo

  • Another user has changed the row with primary key oracle.jbo.Key

    Oracle Jdeveloper 11.1.2.1
    ADFbc + JSF
    I have a Page ( Purchase Order Status) (which show all PO to be approved) from this page (page1) the Supervison can call Regular PO (Page2) and change whatever he needs to change. (products, quantities, discounts,warehouse...)
    then on Page2 he invoke (commit) after his changes and return to page1, when supervisor change the status to Approved on page1. I get this Error (Another user has changed the row with primary key oracle.jbo.Key[#]).
    for sure there are no another user changing this PO.
    both page are based on same Entity Object (PO) , how can I solve this Issue? thank you

    hi,
    This occur due to pessimistic locking mode for ApplicationModule ,alter to optimistic and check following sample to get knowledge about locking mode.
    http://andrejusb.blogspot.com/2010/03/optimistic-and-pessimistic-locking-in.html-Suersh

  • Help with oracle.jbo.AttributeLoadException

    Hi ,
    I am getting this error sporadically while editing the data on one of the screens in my application .
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 4 with java object of type java.lang.String
    Essesntially ,i executing query on one of VO by passing PoId before getting on to that page .
    Sometimes page gets loaded with no problem ,but for the same id , it throws above exception along wiht folloing details
    ## Detail 0 ##
    java.sql.SQLException: Stream has already been closed
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.ttc7.LongTTCItem.getChars(LongTTCItem.java:189)
         at oracle.jdbc.dbaccess.DBDataSetImpl.getCharsStreamItem(DBDataSetImpl.java:1656)
         at oracle.jdbc.driver.OracleStatement.getCharsInternal(OracleStatement.java:3601)
         at oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java:3812)
         at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:6098)
         at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5911)
         at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:765)
         at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(OracleSQLBuilderImpl.java:1042)
         at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:1491)
         at oracle.jbo.server.ViewRowImpl.populate(ViewRowImpl.java:2091)
         at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1022)
         at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
         at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
         at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
         at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
         at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
         at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2889)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)
         at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2731)
         at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6428)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1919)
         at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:210)
         at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1525)
         at oracle.apps.fnd.framework.webui.OATableHelper.prepareForRendering(OATableHelper.java:475)
         at oracle.apps.fnd.framework.webui.beans.table.OATableBean.prepareForRendering(OATableBean.java:1215)
         at oracle.apps.xxi.promo.webui.PromoContinuePG.processRequest(PromoContinuePG.java:75)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: Stream has already been closed
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.ttc7.LongTTCItem.getChars(LongTTCItem.java:189)
         at oracle.jdbc.dbaccess.DBDataSetImpl.getCharsStreamItem(DBDataSetImpl.java:1656)
         at oracle.jdbc.driver.OracleStatement.getCharsInternal(OracleStatement.java:3601)
         at oracle.jdbc.driver.OracleStatement.getStringValue(OracleStatement.java:3812)
         at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:6098)
         at oracle.jdbc.driver.OracleStatement.getObjectValue(OracleStatement.java:5911)
         at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:765)
         at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(OracleSQLBuilderImpl.java:1042)
         at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:1491)
         at oracle.jbo.server.ViewRowImpl.populate(ViewRowImpl.java:2091)
         at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1022)
         at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2701)
         at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2605)
         at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2001)
         at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:1857)
         at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1269)
         at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2889)
         at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2521)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2383)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:526)
         at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:2731)
         at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6428)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1919)
         at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:210)
         at oracle.apps.fnd.framework.webui.OATableHelper.prepareNavigatorProperties(OATableHelper.java:1525)
         at oracle.apps.fnd.framework.webui.OATableHelper.prepareForRendering(OATableHelper.java:475)
         at oracle.apps.fnd.framework.webui.beans.table.OATableBean.prepareForRendering(OATableBean.java:1215)
         at oracle.apps.xxi.promo.webui.PromoContinuePG.processRequest(PromoContinuePG.java:75)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:45)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Any Idea ??
    thanks in advance

    This solution from Sun forum might help
    http://forum.java.sun.com/thread.jspa?threadID=384879&messageID=1653423
    Thanks
    Tapash

Maybe you are looking for