Attempt to access dead view row of persistent id 35

Hi!!
I am using jdeveloper 11.1.1.5
In the given code i am Deleting all the rows and then inserting in the same row
    public void Generate(Integer yr, Integer pd, String un) {
        getDBTransaction().setLockingMode(DBTransaction.LOCK_NONE);
        // System.out.println ("Execution started");
        java.util.List<String> schclasslist = new ArrayList<String>();
        java.util.List<String> classlist = new ArrayList<String>();
        java.util.List<String> glacctlist = new ArrayList<String>();
        Row row1, row;
        ViewObjectImpl vo = this.getTpTrialBal1();
        ViewObjectImpl vo1 = this.getFinPeriods1();
        ViewObjectImpl vo2 = this.getSumGab1();
        Row vo1r = vo1.getCurrentRow();
        RowSet glacclrs = findViewObject("GlAccountClasses1").getRowSet();
        RowSet acctrs = findViewObject("GlAccts1").getRowSet();
        RowSet gapbrs = findViewObject("SumGab1").getRowSet();
        for (Row row3 = glacclrs.first(); row3 != null;
             row3 = glacclrs.next()) {
            if (row3.getAttribute("GaclPrimId") == null)
                schclasslist.add((String)row3.getAttribute("GaclId"));
        for (row = glacclrs.first(); row != null; row = glacclrs.next()) {
            for (String o : schclasslist) {
                if (o.toString().equals(row.getAttribute("GaclPrimId") ==
                                        null ? "" :
                                        row.getAttribute("GaclPrimId"))) {
                    classlist.add((String)row.getAttribute("GaclId"));
                    break;
        for (Row rowa = acctrs.first(); rowa != null; rowa = acctrs.next()) {
            for (Object o : schclasslist) {
                if (o.toString().equals(rowa.getAttribute("GlacClId"))) {
                    glacctlist.add((String)rowa.getAttribute("GlacAcct"));
                    break;
            for (Object o : classlist) {
                if (o.toString().equals(rowa.getAttribute("GlacClId"))) {
                    glacctlist.add((String)rowa.getAttribute("GlacAcct"));
                    break;
        vo2.setNamedWhereClauseParam("year", yr);
        vo2.setNamedWhereClauseParam("period", pd);
        vo2.setNamedWhereClauseParam("plant",un);
        vo2.executeQuery();
// In this i am deleting all the rows
        for (int i = 0; i < vo.getRowCount(); i++) {
                 Row vor = vo.getCurrentRow();
            vor.remove();
            System.out.println (vor);
                 this.getTransaction().commit();
//In this i am inserting the rows
        for (row1 = gapbrs.first(); row1 != null; row1 = gapbrs.next()) {
            for (Object o : glacctlist) {
                if (o.toString().equals(row1.getAttribute("GapbAcct"))) {
                    this.getTransaction().commit();
                    Row vor = vo.createRow();
                    vor.setAttribute("TtrbDesc1",
                                     row1.getAttribute("GaclDesc1"));
                    Number n = (Number)row1.getAttribute("SumGapbDebitAmt");
                    vor.setAttribute("TtrbDebitAmt", n);
                    Number n1 = (Number)row1.getAttribute("SumGapbCreditAmt");
                    vor.setAttribute("TtrbCreditAmt", n1);
                    vor.setAttribute("TtrbYear", yr);
                    vor.setAttribute("TtrbPeriod", pd);
                    Number n2 = n.add(n1);
                    vor.setAttribute("TtrbAmount", n2);
                     vor.setAttribute("TtrbSchNo",
                                     row1.getAttribute("GaclSchNo"));
                    break;
        this.getTransaction().commit();
    }

Wilhelm,
Not exactly sure why this happens.
The code you gave is hard to understand because of the more cryptic variables names, which sure mean something to you. For me they make the code hard to understand.
Some stuff you should think about in the code:
// In this i am deleting all the rows
        for (int i = 0; i < vo.getRowCount(); i++) {
                 Row vor = vo.getCurrentRow();
            vor.remove();
            System.out.println (vor);
                 this.getTransaction().commit();
        }This code commits the removal of each row which might be time consuming. You may want to put the commit outside the for loop like
// In this i am deleting all the rows
        for (int i = 0; i < vo.getRowCount(); i++) {
                 Row vor = vo.getCurrentRow();
            vor.remove();
            System.out.println (vor);
        this.getTransaction().commit();Why do you commit before something has happened here?
//In this i am inserting the rows
        for (row1 = gapbrs.first(); row1 != null; row1 = gapbrs.next()) {
            for (Object o : glacctlist) {
                if (o.toString().equals(row1.getAttribute("GapbAcct"))) {
                    this.getTransaction().commit(); //---------------WHY commit here?
                    Row vor = vo.createRow();
...Then you create a row but never add the row to the VO (I'm missing a vo.insertRow(vor)). Resulting in
//In this i am inserting the rows
        for (row1 = gapbrs.first(); row1 != null; row1 = gapbrs.next()) {
            for (Object o : glacctlist) {
                if (o.toString().equals(row1.getAttribute("GapbAcct"))) {
                    Row vor = vo.createRow();
                    vor.setAttribute("TtrbDesc1",
                                     row1.getAttribute("GaclDesc1"));
                    Number n = (Number)row1.getAttribute("SumGapbDebitAmt");
                    vor.setAttribute("TtrbDebitAmt", n);
                    Number n1 = (Number)row1.getAttribute("SumGapbCreditAmt");
                    vor.setAttribute("TtrbCreditAmt", n1);
                    vor.setAttribute("TtrbYear", yr);
                    vor.setAttribute("TtrbPeriod", pd);
                    Number n2 = n.add(n1);
                    vor.setAttribute("TtrbAmount", n2);
                     vor.setAttribute("TtrbSchNo",
                                     row1.getAttribute("GaclSchNo"));
                    vo.insertRow(vor);
                    this.getTransaction().commit();
                    break;
        }The commit after the for loop is obsolete.
Timo

Similar Messages

  • Grtting error Attempt to access dead view row of persistent id 1

    Hi,
    I have created one custom method which takes two object:
    Method is:
    public void testDeprtment(DepartmentsViewRowImpl department,CountriesViewRowImpl Country){
    try{
    ViewObjectImpl departmentView = getDepartmentsView1();
    ViewObjectImpl countryView= getCountriesView1();
    departmentView.insertRow(department);
    countryView.insertRow(Country);
    }catch(Exception e){
    e.printStackTrace();
    In my application I have connected the Depatment with Employee and Country with Location table.
    Now I am passing the values for the Department Object(Values for both Department and Employee) and Country Object(Values for both Countries and Location)
    It is inserting the records on all the four tables but it is giving me the error after inserting.
    Error: Attempt to access dead view row of persistent id 1
    I am using Jdeveloper 11.1.1.5
    Thanks,
    Vicky

    Is this in an Application Module method that you call from a backing bean? If this is the case, try using CreateInsert instead of Create so you can avoid calling this method just to insert the rows.

  • Attempt to access dead view row of persistent id 0

    hi am trying to acces the view attribute so i can pass it to my procedure am geting error (oracle.jbo.DeadViewRowAccessException) JBO-27102: Attempt to access dead view row of persistent id 0 my class is
    public class HRowImpl extends ViewRowImpl implements HRow {
        public static final int ENTITY_SMSHOMEVW1 = 0;
             public enum AttributesEnum {
            UserId {
                public Object get(HRowImpl obj) {
                    return obj.getUserId();
                public void put(HRowImpl obj, Object value) {
                    obj.setUserId((String)value);
      public static final int USERID = AttributesEnum.UserId.index();
       public static final int PWD = AttributesEnum.pwd.index();
          public EntityImpl getSmsHomeVw1() {
            return (EntityImpl)getEntity(ENTITY_SMSHOMEVW1);
        public String getUserId() {
            return (String) getAttributeInternal(USERID);
         * Sets <code>value</code> as attribute value for USER_ID using the alias name UserId.
         * @param value value to set the USER_ID
        public void setUserId(String value) {
            setAttributeInternal(USERID, value);
        public String getpwd() {
            return (String) getAttributeInternal(PWD);
         * Sets <code>value</code> as the attribute value for the calculated attribute pwd.
         * @param value value to set the  pwd
        public void setpwd(String value) {
            setAttributeInternal(PWD, value);
    public class sms0000AppModuleImpl extends ApplicationModuleImpl implements sms0000AppModule {
           public String PerformSdmsLogon(String userid, String upwd) {
                       HRowImpl result = new HRowImpl();
                       result.setUserId(userid);
                       result.setpwd(upwd);
                       callPerformSdmsLogon("SMS_FORM_TO_ADf.perform_sdms_logon(?,?)", new Object[] { userid, upwd, });
                       return userid;
    }

    am having error in this line public void setUserId(String value) {
    setAttributeInternal(USERID, value);
    } and
    public String PerformSdmsLogon(String userid, String upwd) {
    HRowImpl result = new HRowImpl();
    result.setUserId(userid);
    // result.setpwd(upwd);
    callPerformSdmsLogon("SMS_FORM_TO_ADf.perform_sdms_logon(?,?)", new Object[] { userid, upwd, });
    return userid;
    my stack trace is
    oracle.jbo.DeadViewRowAccessException: JBO-27102: Attempt to access dead view row of persistent id 0
    at oracle.jbo.server.ViewRowImpl.useInner(ViewRowImpl.java:300)
    at oracle.jbo.server.ViewRowImpl.getViewObject(ViewRowImpl.java:2112)
    at oracle.jbo.server.ViewRowImpl.getSyncLock(ViewRowImpl.java:2080)
    at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1473)
    at sms0000.HRowImpl.setUserId(HRowImpl.java:181)
    at sms0000.sms0000AppModuleImpl.PerformSdmsLogon(sms0000AppModuleImpl.java:87)
    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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:655)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2162)
    at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3088)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:266)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1626)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
    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:185)
    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:1545)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    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)
    and my logfile is
    StateManagerImpl> <restoreView> Could not find saved view state for token -7g1kyl2tr
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    javax.faces.application.ViewExpiredException: viewId:/LogOn - ADF_FACES-30107:The view state of the page has expired. Reload the page.
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:718)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:341)
    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)
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Attempt to access dead view row of persistent id 0
    oracle.jbo.DeadViewRowAccessException: JBO-27102: Attempt to access dead view row of persistent id 0
    at oracle.jbo.server.ViewRowImpl.useInner(ViewRowImpl.java:300)
    at oracle.jbo.server.ViewRowImpl.getViewObject(ViewRowImpl.java:2112)
    at oracle.jbo.server.ViewRowImpl.getSyncLock(ViewRowImpl.java:2080)
    at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1473)
    at sms0000.HRowImpl.setUserId(HRowImpl.java:181)
    at sms0000.sms0000AppModuleImpl.PerformSdmsLogon(sms0000AppModuleImpl.java:87)
    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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:655)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2162)
    at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3088)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:266)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1626)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
    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:185)
    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:1545)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    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)
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Attempt to access dead view row of persistent id 0
    oracle.jbo.DeadViewRowAccessException: JBO-27102: Attempt to access dead view row of persistent id 0
    at oracle.jbo.server.ViewRowImpl.useInner(ViewRowImpl.java:300)
    at oracle.jbo.server.ViewRowImpl.getViewObject(ViewRowImpl.java:2112)
    at oracle.jbo.server.ViewRowImpl.getSyncLock(ViewRowImpl.java:2080)
    at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1473)
    at sms0000.HRowImpl.setUserId(HRowImpl.java:181)
    at sms0000.sms0000AppModuleImpl.PerformSdmsLogon(sms0000AppModuleImpl.java:87)
    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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:655)
    at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2162)
    at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3088)
    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:266)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1626)
    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
    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:185)
    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:1545)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    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)

  • JBO-27102: Attempt to access dead view row of persistent id 5,174

    Hi all, We are getting dead access view exception frequently ..
    Please help us with some pointers.
    Sreeni
    ####<Jul 18, 2012 11:48:39 AM PDT> <Warning> <oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding> <plwcappuat01> <WLS_Custom1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <274945> <> <004lHwST_dA2ZNK5qV4EyY0003S3001E1R> <1342637319098> <BEA-000000> <ViewCriteriaItem for lov attribute not found.>
    ####<Jul 18, 2012 11:48:49 AM PDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <plwcappuat01> <WLS_Custom1> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <274945> <> <004lHwT3wxZ2ZNK5qV4EyY0003S3001E1^> <1342637329381> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
    oracle.jbo.DeadViewRowAccessException: JBO-27102: Attempt to access dead view row of persistent id 5,174
    at oracle.jbo.server.ViewRowImpl.useInner(ViewRowImpl.java:315)
    at oracle.jbo.server.ViewRowImpl.getEntityCount(ViewRowImpl.java:3352)
    at oracle.jbo.server.ViewRowImpl.setNewRowState(ViewRowImpl.java:4969)
    at oracle.jbo.server.ViewObjectImpl.initializeActivatedNewRows(ViewObjectImpl.java:18237)
    at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:8178)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7918)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7950)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:7884)
    at oracle.jbo.server.Serializer.activate(Serializer.java:296)
    at oracle.jbo.server.DBSerializer.activateRootAM(DBSerializer.java:330)
    at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6207)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:224)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8933)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4496)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2458)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2270)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3168)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:516)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:864)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:525)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequestInternal(DCJboDataControl.java:2061)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:2036)
    at oracle.adf.model.BindingContext.setCurrentDataControlFrame(BindingContext.java:2084)
    at oracle.adfinternal.controller.util.model.DCFrameImpl.makeCurrent(DCFrameImpl.java:129)
    at oracle.adfinternal.controller.state.ViewPortContextImpl.makeCurrent(ViewPortContextImpl.java:1008)
    at oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:201)
    at oracle.adfinternal.controller.state.ControllerState.setRequestState(ControllerState.java:948)
    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:360)
    at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:128)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:552)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:150)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:115)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:59)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:45)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:278)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    Hi,
    first thing to check is "5,174". For an ID this sounds strange as you would expect IDs to be Number, Integer or anything else without a comma in it
    Btw.: have you tried Googling for this string: attempt to access dead view row of persistent id
    There are many hits for this query that you can have a look at
    JBO-27102: DeadViewRowAccessException
    Cause: Trying to access a ViewRow which is part of an obsolete/invalid collection. This could happen if a reference to the ViewRow is held by some business logic while the containing view object was removed.
    Action: Find the referenced ViewRow either by re-querying or using findByKey methods to get a valid reference to the ViewRow.
    Frank

  • JBO-27102: Attempt to access dead view row of persistent id

    Hi All ,
    We are receiving this error intermittently in our application …when we keep the application idle for more than 15-20 min and perform some operation ..we are receiving this error .not able to find the root cause ..this is happening while activating AMS..please provide your suggestions
    Log message
    oracle.jbo.DeadViewRowAccessException: JBO-27102: Attempt to access dead view row of persistent id 2,842
    at oracle.jbo.server.ViewRowImpl.useInner(ViewRowImpl.java:315)
    at oracle.jbo.server.ViewRowImpl.getEntityCount(ViewRowImpl.java:3352)
    at oracle.jbo.server.ViewRowImpl.setNewRowState(ViewRowImpl.java:4969)
    at oracle.jbo.server.ViewObjectImpl.initializeActivatedNewRows(ViewObjectImpl.java:18237)
    at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:8178)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7918)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7950)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:7884)
    at oracle.jbo.server.Serializer.activate(Serializer.java:296)
    at oracle.jbo.server.DBSerializer.activateRootAM(DBSerializer.java:330)
    at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6207)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:219)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8933)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4496)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2458)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2270)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3168)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:516)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:862)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:525)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequestInternal(DCJboDataControl.java:2059)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:2036)
    at oracle.adf.model.dcframe.DataControlFrameImpl.beginRequest(DataControlFrameImpl.java:416)
    at oracle.adf.model.BindingContext.setCurrentFrame(BindingContext.java:2192)
    at oracle.adf.model.BindingContext.setCurrentDataControlFrame(BindingContext.java:2084)
    at oracle.adfinternal.controller.util.model.DCFrameImpl.makeCurrent(DCFrameImpl.java:129)
    at oracle.adfinternal.controller.state.ViewPortContextImpl.makeCurrent(ViewPortContextImpl.java:1008)
    at oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:201)
    at oracle.adfinternal.controller.state.ControllerState.setRequestState(ControllerState.java:948)
    at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:360)
    at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:127)
    at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:112)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:59)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:278)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    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: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.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    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.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:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    hi user,
    you are trying to access the row which is not persist.
    for more info. please give a wild search over google or otn forums :) you can get more information.
    opps. you had thread here already. then why duplication in another thread.
    JBO-27102: Attempt to access dead view row of persistent id 5,174
    Edited by: user707 on Aug 25, 2012 10:39 PM

  • Attempt to access dead view row error when using validator

    This is a problem that myself and other members of my team have encountered. We managed to fix the problem and so I'm posting it here for future reference.
    Environment
    JDeveloper 10.1.3.x (specific version used: 10.1.3.3.0)
    ADF Business Components
    ADF Faces
    Problem
    A creation form has a field that has a validator (a backing bean method).
    If a correct value is entered and the validation succeeds on the first time, there is no problem.
    If an incorrect value is entered and the validation fails (a ValidatorException is thrown by the method), then a correct value is entered and the validation is successful, the page displays an error and it is not possible to commit the new row.
    The error shown is:
    Attempt to access dead view row of persistent id <number>
    Cause
    At some point the newly created row is lost or removed from the iterator after the first attempt at validation and therefore is not accessible on the second validation.
    Solution
    The action binding used to create the new row must be set to the CreateInsert action (40) rather than the Create action (41). This is done in the page definition file for the page on which the create action is used.

    Thanks.Your tip works perfect!

  • JBO-27102: Attempt to access dead view row

    Hi all,
    we are using the following types of view objects , while activation/passivation ,app is throwing access dead view row exception.
    Plese guide us what are the best practice , making application active safe ..
    1) Entity based view objects
    2) Entity based objects + contains Transient attributes
    3) Read only (query based )View Objects
    4) Read only (query based )+ transient attributes
    5) Transient view objects.
    And we are passivating all View objects in our application, Please suggest .do we need to passivate all view objects.
    is it required to passivate Transient attributes.
    If we have few attributes added on entity based VO , how can we passivate them.
    Please can you help us with pointers , which VO and which attributes can be passivated .
    Thanks
    Sreeni

    In general you should persist all vo and eo you have. Transient attributes should be persisted too add long add they are not calculated.
    Eo and vo are passionate automatically by the framework, only transient attributes you have the flag for passivation. If you add other attributes into the implementation class you have to passive them yourself.
    For more info check http://wp.me/pcBZk-3c
    Timo

  • Hint wanted: EditCurrentRecord, execute, error: dead view row

    Hello, I'm searching for a workaround on a typical insert problem.
    I have an HTML page with a <FORM> dynamically created using EditCurrentRecord.render() function. This <FORM> is used to insert a new record.
    If the user, after getting an exception (for example because he didn't fill a required field) GOES BACK TO THE PAGE with the form, corrects the problem and click the submit button again, he always get the following error:
    JBO-27102: Attempt to access dead view row
    Imagine a <FORM> with about 50 fields, many filled up and a required field left blank...
    I have extended EditCurrentRecord, so I can "manipulate" something if necessary, but please tell me further detail about this mechanism.
    TIA
    Fabio

    Hi, I extended EditCurrentRecord too, I have deployed locally, and I have same problem you indicated.
    If for any reason I have to return to the page with the HTML form using browser's back button, first time I post data I get the error JBO-27102: Attempt to access dead view row
    This doesn't happen if the page is refreshed.
    I think the reason resides in RowKeys, a runtime address generated when preparing to insert a row (look at EditCurrentRecord.render() function for details), address which is stored in a hidden field when generating the form (name "_ROWKEY") and requested later with the execute() function.
    Anyway, there is a thing that I don't understand: if I comment the following lines from EditCurrentRecord.execute() function:
    // if (getRowKeys().get(sRowKey) != null)
    // row = (Row)getRowKeys().get(sRowKey);...even if next line of code assign a value to the row variable...
    if (row == null)
    row = qView.first();...why in this case, even if the row variable is not null, I ALWAYS get the JBO-27102: Attempt to access dead view row error?
    I can't understand. Maybe the solution to our problem resides in that clue.

  • Dead view row

    I extended EditCurrentRecord to insert records with some added functionality. It works fine in JDev 3.2 but when I deploy it to 9IAS 1.0.2 and try to insert the record I get the error:
    Error Message: JBO-27102: Attempt to access dead view row
    Why would this work in Jdev but not in 9ias?
    Any suggestions?
    null

    Hi, I extended EditCurrentRecord too, I have deployed locally, and I have same problem you indicated.
    If for any reason I have to return to the page with the HTML form using browser's back button, first time I post data I get the error JBO-27102: Attempt to access dead view row
    This doesn't happen if the page is refreshed.
    I think the reason resides in RowKeys, a runtime address generated when preparing to insert a row (look at EditCurrentRecord.render() function for details), address which is stored in a hidden field when generating the form (name "_ROWKEY") and requested later with the execute() function.
    Anyway, there is a thing that I don't understand: if I comment the following lines from EditCurrentRecord.execute() function:
    // if (getRowKeys().get(sRowKey) != null)
    // row = (Row)getRowKeys().get(sRowKey);...even if next line of code assign a value to the row variable...
    if (row == null)
    row = qView.first();...why in this case, even if the row variable is not null, I ALWAYS get the JBO-27102: Attempt to access dead view row error?
    I can't understand. Maybe the solution to our problem resides in that clue.

  • Getting an error of "JBO-27101: Attempt to access dead entity in".

    Hi All,
    I have one Create Page where I have functionality of Create new SCodes in normal way as well as I have provided a functionality of Copy existing SCodes to new SCodes.
    Copy function works fine in all cases. But in one scenario, it is getting failed with the following error and that happens when I Save new records which creates in normal way and then try to copy the existing code to new code. I mean this errors is coming when we try to copy after saving a new record without doing any other operation.
    "oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in XxxxxEO, key=oracle.jbo.Key[20675 ]"
    Following is the portion of my code for Copy feature written in AM.
    XxxxxVOImpl vo = null;
    vo = getXxxxxVO2();
    OARow row;
    Row sourceRow, dataRow;
    vo.first();
    while (true)
    if (vo.getCurrentRow() != null)
    vo.removeCurrentRow();
    if (vo.next() == null)
    break;
    int recCount = 0;
    while ( !((sourceRow = sourceSiteVO.next()) == null) )
    recCount++;
    row = (OARow) vo.createRow();
    vo.insertRow(row);
    row.setAttribute("SCode",sourceRow.getAttribute("SCode"));
    If there are 2 old records to copy, first record gets created but while creation of second record this error is coming. It is failing at "vo.insertRow(row); " line of the above code.
    Has anybody faced the same problem and got any solution? Please advice me how to overcome on this issue.
    Help is appreciated.
    Thanks in advance,
    Arvin

    Iusue is resolved by removing following lines from the code.
    vo.first();
    while (true)
    if (vo.getCurrentRow() != null)
    vo.removeCurrentRow();
    if (vo.next() == null)
    break;
    Thanks,
    Arvin

  • Need help getting around the following error: JBO-27101: Attempt to access dead entity in EO.

    Hi everyone,
    My logic in prepareForDML() updates some attributes (shown in the snippet below) based on whether an insert or update is taking place. But, when I delete a line, I get the following error: JBO-27101: Attempt to access dead entity in EO. So far, I have not been able to catch this error.
            if (operation == DML_INSERT) {
                setLineId((new SequenceImpl("eo_s",
                                            getDBTransaction()).getSequenceNumber()));
                setCreatedBy(createdBy);
                setCreationDate(currentDateAndTime);
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
            } else if (operation == DML_UPDATE) {
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
    Any advice would be appreciated. Thanks!
    James

    Hi Timo,
    Thanks for responding. Whenever I delete a line and commit, I get the error. And, since inserts and updates are all that I am interested in, I did not think that I needed deletion logic. The VO contains several EOs, but all are reference EOs that cannot be updated except for the main EO.
    Here is the entire prepareForDML() method:
        protected void prepareForDML(int operation, TransactionEvent e) {
            // BEGIN Initial Version
            // Using prepareForDML is a best practice (versus doDML).
            ApplicationModule am;
            boolean lineIsValid;
            byte entityState;
            byte postState;
            Date currentDateAndTime;
            Date weekEndingDate;
            Number createdBy;
            Number lastUpdatedBy;
            String amConfiguration;
            String amDefinition;
            String entityStateText;
            String operationText;
            String postStateText;
            ServicesAMImpl servicesAMImpl;
            Timestamp timeStamp;
            // amDefinition = "com.model.services.ServicesAM";
            // amConfiguration = "ServicesAMLocal";
            // am = Configuration.createRootApplicationModule(amDefinition, amConfiguration);
            createdBy = new Number(-1); // TODO fnd_profile.value('USERNAME')
            entityState = getEntityState();      
            entityStateText = null;
            operationText = null;
            postState = getPostState();
            postStateText = null;
            lastUpdatedBy =
                    new Number(-1); // TODO fnd_profile.value('USERNAME'); is there a last login id?
            // servicesAMImpl = (ServicesAMImpl)am;
            // lineIsValid = servicesAMImpl.callValidateLineProcedure(getBillable());
            timeStamp = new Timestamp(System.currentTimeMillis());
            currentDateAndTime = new Date(timeStamp);
            // TODO Should weekEndingDate be in the callValidateLineProcedure()?
            weekEndingDate =
                    commonCode.nextDay(getActivityDate(), Calendar.THURSDAY);
            setWeekEndingDate(weekEndingDate);
            // TODO See https://community.oracle.com/message/9542286?tstart=14.
            // if (entityState != Entity.STATUS_DELETED & entityState != Entity.STATUS_DEAD)...
            System.err.println("prepareForDML - getLineId: " + getLineId());
            switch (operation) {
            case DML_DELETE:
                operationText = "Delete";
                break;
            case DML_INSERT:
                operationText = "Insert";
                break;
            case DML_UPDATE:
                operationText = "Update";
                break;
            System.err.println("prepareForDML - operationText: " +
                               operationText); // TODO
            // System.out.println("prepareForDML - operationText: " + operationText); // TODO
            switch (entityState) {
            case Entity.STATUS_INITIALIZED:
                entityStateText = "Initialized";
                break;
                // Don't do anything.
            case Entity.STATUS_UNMODIFIED:
                entityStateText = "Un-Modified";
                break;
                // Don't do anything.
            case Entity.STATUS_DEAD:
                entityStateText = "Dead";
                break;
                // Don't do anything.
            case Entity.STATUS_DELETED:
                entityStateText = "Deleted";
                break;
                // entity.revert();
                // entity.refresh(Entity.REFRESH_CONTAINEES);
            case Entity.STATUS_MODIFIED:
                entityStateText = "Modified";
                break;
                // entity.refresh(Entity.REFRESH_UNDO_CHANGES);
            case Entity.STATUS_NEW:
                entityStateText = "New";
                break;
                // entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                // entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
            default:
                entityStateText = String.valueOf(entityState);
            System.err.println("prepareForDML - entityStateText: " +
                               entityStateText);
            switch (postState) {
            case Entity.STATUS_INITIALIZED:
                postStateText = "Initialized";
                break;
                // Don't do anything.
            case Entity.STATUS_UNMODIFIED:
                postStateText = "Un-Modified";
                break;
                // Don't do anything.
            case Entity.STATUS_DEAD:
                postStateText = "Dead";
                break;
                // Don't do anything.
            case Entity.STATUS_DELETED:
                postStateText = "Deleted";
                break;
                // entity.revert();
                // entity.refresh(Entity.REFRESH_CONTAINEES);
            case Entity.STATUS_MODIFIED:
                postStateText = "Modified";
                break;
                // entity.refresh(Entity.REFRESH_UNDO_CHANGES);
            case Entity.STATUS_NEW:
                postStateText = "New";
                break;
                // entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                // entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
            default:
                postStateText = String.valueOf(postState);
            System.err.println("prepareForDML - postStateText: " + postStateText);
            // DeadEntityAccessException
            if (operation == DML_INSERT) {
                setLineId((new SequenceImpl("eo_s",
                                            getDBTransaction()).getSequenceNumber()));
                setCreatedBy(createdBy);
                setCreationDate(currentDateAndTime);
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
            } else if (operation == DML_UPDATE) {
                setLastUpdatedBy(lastUpdatedBy);
                setLastUpdateDate(currentDateAndTime);
            // Configuration.releaseRootApplicationModule(am, true);
            // END Initial Version
            super.prepareForDML(operation, e);
    Here is the entire doDML() method:
        protected void doDML(int operation, TransactionEvent e) {
            // BEGIN Initial Version
            // This logic is for troubleshooting only.
            String operationText;
            operationText = null;
            switch (operation) {
            case DML_DELETE:
                operationText = "Delete";
                break;
            case DML_INSERT:
                operationText = "Insert";
                break;
            case DML_UPDATE:
                operationText = "Update";
                break;
            System.err.println("doDML - operationText: " + operationText); // TODO
            // System.out.println("doDML - operationText: " + operationText); // TODO
            // END Initial Version
            super.doDML(operation, e);
    James

  • JBO-27101: Attempt to access dead entity in EO exception

    Hi,
    I have developed a new OAF page based on SubTabLayout. It is having a read only header region and in the tabs users are supposed to enter data which will be saved in a custom table. I have added 3 buttons to the page "Clear All", "Save", "Continue".
    When I press Clear All button it should clear all the data entered.
    When I press the button I am calling a method in AM where I am taking a reference of the VO and using vo.clearCache().
    But when I click on the Clear All button its givving me this exception
    =======================================================================================================
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in XxPoAtpAddnInfosEO, key=oracle.jbo.Key[382 null ]
         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.processFormRequest(OAPageBean.java:2978)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in XxPoAtpAddnInfosEO, key=oracle.jbo.Key[382 null ]
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at xxbb.ukConsulting.oracle.apps.xxbbpo.atpaddninfo.webui.XxPoAtpAddnInfoCO.processFormRequest(XxPoAtpAddnInfoCO.java:119)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    oracle.apps.fnd.framework.OAException: oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in XxPoAtpAddnInfosEO, key=oracle.jbo.Key[382 null ]
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at xxbb.ukConsulting.oracle.apps.xxbbpo.atpaddninfo.webui.XxPoAtpAddnInfoCO.processFormRequest(XxPoAtpAddnInfoCO.java:119)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    =======================================================================================================
    Pleae help me on this
    Thanks,
    Rohit

    Any update on this guys. Let me know how to implement "Clear All" button.
    Thanks
    Rohit

  • Oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead-ADF

    Hi,
    I have a table which has a selection radio buttons with all the records. I have a 'Delete' button on the header part of the table. When I try to delete a record I am getting the following exception.
    oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in RebillAttachDocument, key=oracle.jbo.Key[381 ]     at oracle.jbo.server.EntityCache.add(EntityCache.java:487)     at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:1762)     at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:2151)     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2247)     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2127)     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1501)     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2818)     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2674)     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2634)     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowAtRangeIndex(ViewRowSetIteratorImpl.java:722)     at oracle.jbo.server.ViewRowSetImpl.getRowAtRangeIndex(ViewRowSetImpl.java:3672)     at oracle.jbo.server.ViewObjectImpl.getRowAtRangeIndex(ViewObjectImpl.java:6288)
    Here is the code for the delete button.
    <af:tableSelectOne text="Select and"
    binding="#{CRDCF002.tableSelectOne1}"
    id="tableSelectOne1"
    inlineStyle="font-family:times new roman; font-size:large;">
    <af:commandButton text="Delete"
    binding="#{CRDCF002.commandButton3}"
    id="commandButton3"
    actionListener="#{bindings.Delete.execute}"
    disabled="#{!bindings.Delete.enabled}"
    inlineStyle="font-family:times new roman; font-size:large;"/>
    </af:tableSelectOne>
    I could see the same record that I want to delete in the DB, but getting this message. I have a form also in the same page to add a new record and refresh the table with the new record. Can anyone please help me with this?
    Thanks,
    Priya

    Hi,
    I have a table which has a selection radio buttons with all the records. I have a 'Delete' button on the header part of the table. When I try to delete a record I am getting the following exception.
    oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in RebillAttachDocument, key=oracle.jbo.Key[381 ]     at oracle.jbo.server.EntityCache.add(EntityCache.java:487)     at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:1762)     at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:2151)     at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2247)     at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2127)     at oracle.jbo.server.QueryCollection.get(QueryCollection.java:1501)     at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)     at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2818)     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2674)     at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2634)     at oracle.jbo.server.ViewRowSetIteratorImpl.getRowAtRangeIndex(ViewRowSetIteratorImpl.java:722)     at oracle.jbo.server.ViewRowSetImpl.getRowAtRangeIndex(ViewRowSetImpl.java:3672)     at oracle.jbo.server.ViewObjectImpl.getRowAtRangeIndex(ViewObjectImpl.java:6288)
    Here is the code for the delete button.
    <af:tableSelectOne text="Select and"
    binding="#{CRDCF002.tableSelectOne1}"
    id="tableSelectOne1"
    inlineStyle="font-family:times new roman; font-size:large;">
    <af:commandButton text="Delete"
    binding="#{CRDCF002.commandButton3}"
    id="commandButton3"
    actionListener="#{bindings.Delete.execute}"
    disabled="#{!bindings.Delete.enabled}"
    inlineStyle="font-family:times new roman; font-size:large;"/>
    </af:tableSelectOne>
    I could see the same record that I want to delete in the DB, but getting this message. I have a form also in the same page to add a new record and refresh the table with the new record. Can anyone please help me with this?
    Thanks,
    Priya

  • JBO-27101: Attempt to access dead entity in MfgRmItems, key=oracle.jbo.Key[

    I was hoping someone would be able to help me with this error.
    JBO-27101: Attempt to access dead entity in MfgRmItems, key=oracle.jbo.Key[001122 ]
    I'm using ADF and Struts and get this error when I try to delete a record. When I hit the delete button the record is delete from the binding, however the error occurs when I try to commit the delete. Any suggestions or guidance would be greatly appreciated. Thanks.

    Any update on this guys. Let me know how to implement "Clear All" button.
    Thanks
    Rohit

  • Applet attempting to access dead http tunneling connection of its immediate predecessor

    We're encountering weblogic exceptions when switching between client applets
    in the same browser session. Each applet, when invoked, establishes an http
    (ie, an http tunneling) connection with the weblogic server. When we use t3
    as our protocol, everything works fine. When we use http, however, we get
    the following client-side exception as soon as we switch over to the second
    applet.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Dead thread ]
    at weblogic.net.http.KeepAliveCache.put(KeepAliveCache.java:57)
    at weblogic.net.http.HttpClient.finished(HttpClient.java:147)
    at weblogic.net.http.KeepAliveStream.close(KeepAliveStream.java:89)
    at weblogic.net.http.KeepAliveStream.justRead(KeepAliveStream.java:37)
    at weblogic.net.http.KeepAliveStream.read(KeepAliveStream.java:47)
    Some details:
    1) We are using sun java plugin, v1.3
    2) We are using weblgoc 5.1, sp5.
    3) We can temporarily stop this problem from happening by delaying the death
    of the first applet. That is, we cause its thread to pause before allowing
    itself to die. When we do this, the second applet works fine UNTIL the first
    one dies, then it pukes with a similar error to the one above.
    It seems like the 2nd applet is trying to access the first one's http
    connection stream, and in doing so is throwing an exception upon discovering
    that this applet's thread is already gone.
    Can anyone guess why this may be happening?
    Many thanks.
    Ramsey

    Ramsey Shehadeh <[email protected]> wrote:
    >
    Yes, we've tried that. Doing two t3 (or t3s) connections seems to work
    fine. It's only the tunneling that's causing us problems.interesting...
    looks like they are sharing.
    Is there any
    way you know of to prevent the applets from sharing sessions? dont know at this time...
    session identification are put in cookies and browser instance maps that to a URL.So everytime the browser connects to the URL it identifies with these and they, as far as i know will be same for both applets...
    purely a browser concern?dont know...
    maybe weblogic could do something at its marshalling/unmarshalling layer of HTTP tunelling...but not sure...
    >
    Thanks.
    Ramsey
    shivu wrote:
    AFAIK this could be because both applets are sharing the same connection/session...I think when you run two applets in the same browser session, some things get shared especially HTTP Session...
    Are you making two different t3 connections in two applets?
    "Ramsey Shehadeh" <[email protected]> wrote:
    We're encountering weblogic exceptions when switching between client applets
    in the same browser session. Each applet, when invoked, establishes an http
    (ie, an http tunneling) connection with the weblogic server. When we use t3
    as our protocol, everything works fine. When we use http, however, we get
    the following client-side exception as soon as we switch over to the second
    applet.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Dead thread ]
    at weblogic.net.http.KeepAliveCache.put(KeepAliveCache.java:57)
    at weblogic.net.http.HttpClient.finished(HttpClient.java:147)
    at weblogic.net.http.KeepAliveStream.close(KeepAliveStream.java:89)
    at weblogic.net.http.KeepAliveStream.justRead(KeepAliveStream.java:37)
    at weblogic.net.http.KeepAliveStream.read(KeepAliveStream.java:47)
    Some details:
    1) We are using sun java plugin, v1.3
    2) We are using weblgoc 5.1, sp5.
    3) We can temporarily stop this problem from happening by delaying the death
    of the first applet. That is, we cause its thread to pause before allowing
    itself to die. When we do this, the second applet works fine UNTIL the first
    one dies, then it pukes with a similar error to the one above.
    It seems like the 2nd applet is trying to access the first one's http
    connection stream, and in doing so is throwing an exception upon discovering
    that this applet's thread is already gone.
    Can anyone guess why this may be happening?
    Many thanks.
    Ramsey

Maybe you are looking for