ADF Struts Row currency has changed since the user interface was rendered

Posted on 2007-10-04
Last Modified: 2014-11-10
ADF  Struts Row currency error.

We are receiving the following error intermittently in multiple areas of our application:

Row currency has changed since the user interface was rendered. The expected row key was null

It can be duplicated on multiple screens such as: Multiple screens for creating new records in a popup (always occurs on save), Deleting on a Master Detail screen (occurs on delete and confirm delete).

The error is intermittent in that you can create or delete multiple records without error and then all of a sudden it errors.

I have tried the suggested fixes, but they either did not work, or were ADFaces related.

All <action> definitions use className=oracle.adf.controller.struts.actions.DataActionMapping and type=oracle.adf.controller.struts.actions.DataForwardAction (or an extension of DataActionForward) and use a set-property similar to <set-property property="modelReference" value="WEB_INF_createOpUIModel"/> to bind to the Model&.

The error is hard to reproduce within JDeveloper 10.1.2, it takes multiple creates executions (up to 40+) to get the error to occur, however as a requirement we were tasked to deploy the entire application to a laptop (DB, APP server, etc).  On the Laptop it is very easy to duplicate, within a couple of create executions (could this mean it is resource/cache management related???)

Any help would be appreciated before we are forced to rewrite these processes circumventing the ADF model and using something else&.

Thanks in advance.

Question by:saic_gco
    LVL 2

    Accepted Solution

    Update: We found an error in the app logs which was a ps_txn pk constraint violation. After truncating the ps_txn table we are unable to duplicate the currency error. We will continue testing to ensure this is an actual solution.

    Any information on why this worked and how to prevent the error in the future would be awarded points. Thank you.

    Expert Comment

    This solution is bogus.  I was duped into joining this web site to get an immediate and respectable answer to my question.  Not they have my email mail address.
    LVL 1

    Expert Comment

    hey guys, so many years have passed... have you found how to optimize this table PS_TXN? at least with ADF it keeps snapshots of uncommited changes. Oracle also provides an script for this maiteinance, however.. as usual its just a guideline.. could you please guide me?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Introduction A previously published article on Experts Exchange ("Joins in Oracle", makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
    There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
    Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
    This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now