Getting  getting oracle.jbo.RowNotFoundException randomly.

I am using JDeveloper version 11.1.1.5.0. In my application, I have implemented a user tracking functionality wherein a row of a Database table is created every time the user visits any page of the application. For this, I have a created an entity object, a view object and a method in the application module which is called every time the user clicks a link. In this method, I retrieve the user info and create a new row using the following code:
547:      LnUserTrackingVORowImpl row = (LnUserTrackingVORowImpl)this.getLnUserTrackingVO1().createRow();
548:      row.setEntryEventInformation(action);
549:      row.setEntryUserId(userName);
550:      row.setEntryCustNumbers(customerString.toString().equals("") ? "n/a" : customerString.toString());
551:      row.setEntryUserCountry(userCountry == null ? "n/a" : userCountry);
552:      this.getLnUserTrackingVO1().insertRow(row);
553:      this.getDBTransaction().commit();
I am getting oracle.jbo.RowNotFoundException randomly on click of a few links. Please find below the stack trace.
oracle.jbo.RowNotFoundException: JBO-25034: Line with handle 19 not found in rowset LnUserTrackingVO1.
at oracle.jbo.server.ViewRowSetImpl.getRowFromHandle(ViewRowSetImpl.java:3174)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3256)
at oracle.jbo.server.ViewObjectImpl.activateCurrentRow(ViewObjectImpl.java:19262)
at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3983)
at oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:7260)
at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2492)
at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2480)
at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:10857)
at com. … .genericdata.model.GenericDataAppModuleImpl.logUserAction(GenericDataAppModuleImpl.java:547)
Any help will be appreciated.

Set Application module pooling turned off.

Similar Messages

  • 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

  • Oracle.jbo.RowNotFoundException: JBO-25020

    HI,
    getting below error on table row addition ,table have 3 composite primary keys and one of attribute genrating dynamically and setting as below upon every addition of row
    // get the dc-iterator reference
    Row row = dciter.getCurrentRow();
    String key = dciter.getCurrentRowKeyString();
    row.setAttribute("location", location); -- setting dynamically to one of pk
    dciter.executeQuery();
    System.out.println("query executed sucesully"+key);
    dciter.setCurrentRowWithKey(key); -===.> this line throwing below error .
    Error:
    oracle.jbo.RowNotFoundException: JBO-25020: View row with key oracle.jbo.Key[102 ABC null ] is not found in Correc2Iterator.
    As per the error message ,every thime its taking as null value only on third parameter and but showing the new value on table (location)with above error message.
    any ideas ?
    thanks

    Hi,
    Why are you executing query immediately after setting location, if you do so the value you set will be lost.
    you may try again by commenting "dciter.executeQuery();".
    Sireesha

  • Oracle.jbo.RowNotFoundException exception encountered while doing a ommit

    Hi,
    I get the following exception while doing :
    binding.getDataControl().getApplicationModule().getTransaction().commit();
    The application is running in 3-tier with the deployment as BM entity beans.
    Any idea why this happens????
    Regards,
    Anupam
    oracle.jbo.RowNotFoundException: JBO-25034: Row of handle 51 is not found in RowSet VReservationMain.
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.getRowFromHandle(RuntimeViewRowSetIteratorInfo.java:535)
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.getRowForSvcMsg(RuntimeViewRowSetIteratorInfo.java:496)
         at oracle.jbo.server.remote.RuntimeViewRowSetIteratorInfo.processChanges(RuntimeViewRowSetIteratorInfo.java:367)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.postRows(AbstractRemoteApplicationModuleImpl.java:4220)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4267)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7537)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.NestedApplicationModuleImpl.doMessage(NestedApplicationModuleImpl.java:34)
         at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.dispatchMethod(AbstractRemoteApplicationModuleImpl.java:6279)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.executeMethod(AbstractRemoteApplicationModuleImpl.java:6503)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgRequest(AbstractRemoteApplicationModuleImpl.java:4744)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processSvcMsgEntries(AbstractRemoteApplicationModuleImpl.java:4995)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.readServiceMessage(AbstractRemoteApplicationModuleImpl.java:4176)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2255)
         at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7537)
         at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
         at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
         at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:477)
         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at AMReservationBMBean_RemoteProxy_329700m.doMessage(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    Fault Message Types are used in some of the cases .
    This will give good idea-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    If you want to handle exceptions, you can do for the mapping or even you can do for the unavailability of the receiver i.e database with the help of Alerts for the adapters.
    Regards,
    Moorthy

  • Getting oracle.jbo.RowCreateException

    Hi All,
    I have created one custom page from which i have to add a record in a custom table.
    I have created AM,VO,EO
    Now After running this page I am getting following error on upper side of page:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for xxEmployeeEO.
    ---Please Help.
    Regards,
    fsl

    Hi Meher,
    I have to store values from a custom page to custom table.
    for this i have created a custom table following fields
    xxMytable
    EMPID NOT NULL NUMBER
    EMPNAME VARCHAR2(20)
    ORGN VARCHAR2(20)
    TECH VARCHAR2(20)
    LAST_UPDATED_BY NOT NULL NUMBER
    LAST_UPDATE_DATE NOT NULL DATE
    CREATED_BY NOT NULL NUMBER
    CREATED_BY NOT NULL NUMBER
    LAST_UPDATE_LOGIN NOT NULL NUMBER
    I am taking help of jdev create exercise
    Now after running page i m getting following error.The one step I ignored from jdev is the adding base path at attribute set.
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25058: Definition EmpName of type Attribute not found in xxmyCompanyVO1
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25058: Definition EmpName of type Attribute not found in xxmyCompanyVO1
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25058: Definition EmpName of type Attribute not found in xxmyCompanyVO1
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thank You

  • How to get oracle.jbo.domain.date from page to controller

    Hi All,
    I want to get date from my Advanced table bean to Controller. I am getting date as java.sql.Date i want to convert it to oracle.jbo.domain.Date. Any pointers in this will be helpful.
    Thanks in advance.
    With Regards,
    Anjani.

    get your date through ViewObject, you will get it in jbo.domain.date format
    vo.next().getAttribute("DateAttributeXXXX");
    --Prasanna                                                                                                                                                                                                                                                                                       

  • Oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.

    Hi OTN team,
    How to resolve oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null.
    Environment:- 1) Jdeveloper Studio Edition Version 11.1.1.4.0.
    2) View objects via web services/programmatic.
    we have one main Screen displaying all the orders (it came from BPM), after selecting one order it calls the task flow and displaying pages. That displayed pages have Pop-ups are highlighted based on logic.
    One screen have pop-up , it displaying af:treeTable (master-detail records) and search text box is also there for searching the another child details, it is working fine but sometimes it getting oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null exception. how to resolve it.
    below is the exception.
    ####<Dec 21, 2012 2:54:17 PM CST> <Notice> <Diagnostics> <dalappintbpm1.corp.nai.org> <postbpm_server1> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <c2878edb8b6f83bd:-319870c1:13bb8be2efa:-7ffd-000000000004ecdb> <1356123257496> <BEA-320068> <Watch 'UncheckedException' with severity 'Info' on server 'postbpm_server1' has triggered at Dec 21, 2012 2:54:17 PM CST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Dec 21, 2012 2:54:17 PM CST SERVER = postbpm_server1 MESSAGE = [ServletContext@725671974[app:OPA_Application module:bpm/ValidateOrderUI path:/bpm/ValidateOrderUI spec-version:2.5]] Root cause of ServletException.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.jbo.server.Serializer.passivate(Serializer.java:234)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:290)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5913)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:381)
    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.doManagedCheckin(ApplicationPoolImpl.java:2742)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1554)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:729)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:2130)
    at oracle.adf.model.dcframe.DataControlFrameImpl.endRequestInternal(DataControlFrameImpl.java:579)
    at oracle.adf.model.dcframe.DataControlFrameImpl.endRequest(DataControlFrameImpl.java:459)
    at oracle.adf.model.BindingContext.endRequest(BindingContext.java:1955)
    at oracle.adf.model.BindingRequestHandler.endRequest(BindingRequestHandler.java:302)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:211)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    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)
    Caused By: java.lang.NullPointerException
    at oracle.jbo.server.ApplicationModuleImpl.passivateInternalRowSets(ApplicationModuleImpl.java:7798)
    at oracle.jbo.server.ApplicationModuleImpl.doPassivateState(ApplicationModuleImpl.java:7536)
    at oracle.jbo.server.ApplicationModuleImpl.doPassivateAMState(ApplicationModuleImpl.java:7509)
    at oracle.jbo.server.Serializer.passivate(Serializer.java:213)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:290)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:267)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5913)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5783)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:381)
    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.doManagedCheckin(ApplicationPoolImpl.java:2742)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1554)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:729)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:649)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:2130)
    at oracle.adf.model.dcframe.DataControlFrameImpl.endRequestInternal(DataControlFrameImpl.java:579)
    at oracle.adf.model.dcframe.DataControlFrameImpl.endRequest(DataControlFrameImpl.java:457)
    at oracle.adf.model.BindingContext.endRequest(BindingContext.java:1955)
    at oracle.adf.model.BindingRequestHandler.invokeEndRequest(BindingRequestHandler.java:406)
    at oracle.adf.model.BindingRequestHandler.endRequest(BindingRequestHandler.java:302)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:210)
    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)
    could you please give the solution, how to resolve it.
    Thanks & Regards
    Srinivas Sammeta
    8971382043

    this exception is caught when trying to insert a raw into a table after deployement.
    But it is allowing to delete a row.
    Also when trying to run on oracle business component browser , it first ask for my authentication and credential and after taking this it fires the above exception.

  • Oracle.jbo.RowNotAvailableException: Requested row not available

    Hello all,
    i'm new to ADF and at work I'm using ADF/JDEV 10.1.2.
    I will try to explain the scenario where I'm getting oracle.jbo.RowNotAvailableException: Requested row not available in the iterator:
    I have 2 pages:
    A)Search Page - SearchUI.xml - uses View1 - uses DC1
    B)Create Page - CreateUI.xml - uses same view as above View1 - uses same datacontrol as above DC1
    The search page has a link to create page.
    When I test the application the search page functions fine. The create page functions fine when I test it separately.
    but when i click the link on the search page to go to create page: I get the following error:oracle.jbo.RowNotAvailableException: Requested row not available in the iterator.
    I' have tried fiollowing but no luck so far:
    1) Turned off Enable Token state validation -basically in each UIModel above it is set to FALSE
    2) If i remove the bindings from create page in the CreateUI.xml and just leave the action - it creates the account and- the Search->create page works fine BUT then Search->create->ThirdPage that uses the same view as the first two pages gives the above error
    i'm also using struts1.0.
    Each page works fine on its own but its when I go from one page to the other that's when i get this error.
    Kindly suggest me if you have noticed this behaviour.
    Thank you.

    Here is the stack trace:
    oracle.jbo.RowNotAvailableException: JBO-25046: Requested row not available in row set iterator FrmlProjectView.
         at oracle.jbo.client.remote.RowSetIteratorImpl.getAllRowsInRange(RowSetIteratorImpl.java:2082)
         at oracle.jbo.client.remote.RowSetImpl.getAllRowsInRange(RowSetImpl.java:743)
         at oracle.jbo.client.remote.ViewUsageImpl.getAllRowsInRange(ViewUsageImpl.java:1123)
         at oracle.jbo.common.ws.WSRowSetIteratorBase.getAllRowsInRange(WSRowSetIteratorBase.java:740)
         at oracle.adf.model.binding.DCIteratorBinding.getAllRowsInRange(DCIteratorBinding.java:1717)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:682)
         at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:1596)
         at oracle.adf.controller.lifecycle.PageLifecycle.prepareModel(PageLifecycle.java:205)
         at oracle.adf.controller.struts.actions.StrutsPageLifecycle.prepareModel(StrutsPageLifecycle.java:70)
         at oracle.adf.controller.struts.actions.DataAction.prepareModel(DataAction.java:295)
         at oracle.adf.controller.struts.actions.DataAction.prepareModel(DataAction.java:486)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:105)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)

  • Oracle.jbo.AttrValException: JBO-27019: Get method for attribute

    Hi Guys,
    I am trying to add a new column to Oracle quoting.It has already been customized by some consultant few years back. I followed the note 392728.1 on metalink and also have the documentation by the previous consultant but getting the error oracle.jbo.AttrValException: JBO-27019: Get method for attribute Draft in HeaderVO could not be resolved after adding my column, when I try to print the quote.
    Here are the steps I took
    1) added a column to the query (at the end) in HeaderVO.xml
    2) added the below code in the HeaderVO.xml
    <ViewAttribute
    Name="DRAFT"
    IsQueriable="false"
    IsPersistent="false"
    Precision="100"
    Type="java.lang.String"
    AliasName="DRAFT"
    ColumnType="VARCHAR2"
    Expression="DRAFT"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="100" />
    </DesignTime>
    </ViewAttribute>
    3). Modify HeaderVORowImpl.java file to add setters and getters for the newly added view attribute. For example,
    a) case 67: //
    setDRAFT((String)obj);
    return;
    b) case 67:
    return getDRAFT();
    c) ublic void setDRAFT(String s)
    setAttributeInternal(67, s);
    public String getDRAFT()
    return (String)getAttributeInternal(67);
    d) protected static final int DRAFT = 67;
    Everything is dont exactly as per the manual but not sure why I am getting this issue. Any help will be appreciated.

    a) case 67: //
    setDraft((String)obj);
    return;
    b) case 67:
    return getDraft();
    c)public void setDraft(String s){
    setAttributeInternal(67, s);
    public String getDraft(){
    return (String)getAttributeInternal(67);
    d) protected static final int DRAFT = 67;
    can u change it as explained above.. setDRAFT should be setDraft.. and getDRAFT should be getDraft..
    and make sure that the index.. number is exactly matching with the attribute order in the VO

  • Getting error oracle.jbo.RowCreateException: JBO-25017:

    Hi,
    I am getting below error when I try to add new line dynamically in the table
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for FeedbackInvLineEO.
    Any suggestions plz.This is very urgent..:-(
    How can i achive adding new lines dynamically on the table.I followed same steps as per doc but still i am getting above error :-(

    Hi im getting the same error, even after defining the audit columns.
    can u give me steps of what code was put where exactly? coz im getting this error
    "oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for LoanApplyEO."
    i turned the debugger on and its selecting the query but unable to create the row in the EO. this is urgent, pls suggest me how shd i solve this issue.
    what ive done is something like this-- (this is reqd. to submit data into a table)
    on apply button click.
    ive defined a CO which has
    in ProcessRequest > -----------------------------------------------------------------
    if (!pageContext.isFormSubmission())
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createLoan");
    in ProcessFormRequest > ---------------------------------
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("Apply") != null)
    OAViewObject vo = (OAViewObject)am.findViewObject("LoanApplyVO");
    am.invokeMethod("apply");
    in AM >------------------------------------
    public void createLoan()
    OAViewObject vo = (OAViewObject)getLoanApplyVO();
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createLoan()
    public void apply()
    this.getOADBTransaction().commit();
    // getTransaction().commit();
    am i missing out something?
    pls. let me know. this is an urgent requirement. pls help.
    Thanks Vikrant

  • Getting a oracle.jbo.NoDefException: JBO-25002:Entity Association not found

    On using VO.createRow I get an exception that say
    Caused by: oracle.jbo.NoDefException: JBO-25002: Definition <Association package> of type Entity Association is not found.
    The Exception logs shows that the error is created in a EO which does not have any direct connection with the Association in question
    so the create method is fired in Entity1 but this error comes for an association between Entity2 and Entity3. There is however an association between Entity1 and Entity2.
    Entity1 and Entity2 are in the same project as the assoc between E2 and E3
    E3 is in another project, but I have tried refreshing the library dependencies and clean all + rebuild.

    Refer JBO-25002: Definition {1} of type {0} is not found.
    http://docs.oracle.com/cd/E24382_01/core.1112/e22506/chapter_jbo_messages.htm

  • Problem with getting current date and time using oracle.jbo.domain.Date

    I`d like to get current date and time using oracle.jbo.domain.Date method getCurrentDate(), but it always return current date and 12:00:00. I also need to get the current time.

    I think you should use java.sql.Timestamp domain.
    (And set database type to TIME or DATETIME.)
    Jan

  • Getting Too many objects match the primary key oracle.jbo.Key...

    Hi,
    I am working on jDEV Version 11.1.1.2.0. In one of my page I am getting exception like "*Too many objects match the primary key oracle.jbo.Key......*".
    I have a Items EO and it's Child EO. I am using view criteria in Items VO and drag and dropped this as a Query panel (search criteria). On the right side top I am displaying results in a table. Below I have a Master form and Child table where users can add / edit the Model and it's child values. When user clicks on Save button I am calling BPELprocess (WSDL) which inserts into 3 other systems and return me the message. After Clicking the Save button and displaying the message if I search for the same model (which I created) then it will throw error like above. If I search for different Model it won't throw the error.
    For example I have created "TestModel" and If I type letter "T"in Input box and search then it will throw error. If I search for some other models which are not starting with letter "T" then it works fine.
    Any idea what may be the reason? Instead of calling services in the Save button I drag and dropped "Commit" button and tested then it works fine.
    This is really critical for my project. It would be great if someone can help me on this.
    Thanks
    MC

    JBO-27102: DeadViewRowAccessException
    Reason: 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.
    Solution: Find the referenced ViewRow either by re-querying or using findByKey methods to get a valid reference to the ViewRow. instead of create() can you try createInsert() or createAndInitRow()

  • Urgent: Getting a oracle.jbo.DMLException: JBO-26041

    Hi All,
    In my code I am using a shuttle, In which leading list of shuttle is used to display the result of search and in trailing list i am displaying the available data for a particular organization. I have one save button for this screen . On shuttle whenever i perform any operation ( ie Move ,Move All, Remove,Remove All) , on click of save button the result of these operations will get saved in database.
    My problem is when I transefer some data from Leading list to Trailing list using Move for some specific data values the Move operation is successful where as in for some specific data values it errors out and gives me following error
    Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO GECM_SUBCOM_CATEGORIES_MAP(CATEGORY_KEY_ID,SUB_COMMODITY_ID,CATEGORY_ID,LAST_UPDATED_DATE,LAST_UPDATED_BY,CREATION_DATE,CREATED_BY) VALUES (:1,:2,:3,:4,:5,:6,:7)".; (Could not lookup message because there is no database connection)
    When I used StackTrace Method to know more about this error , the error details displayed were as follows
    Error - GECMEClassifyAdminAMImpl.saveCommodityChanges() ------ oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO GECM_SUBCOM_CATEGORIES_MAP(CATEGORY_KEY_ID,SUB_COMMODITY_ID,CATEGORY_ID,LAST_UPDATED_DATE,LAST_UPDATED_BY,CREATION_DATE,CREATED_BY) VALUES (:1,:2,:3,:4,:5,:6,:7)".; (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888) at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(OADBTransactionImpl.java:696) at gesss.oracle.apps.icx.eclassify.admin.server.GECMEClassifyAdminAMImpl.saveCommodityChanges(GECMEClassifyAdminAMImpl.java:229) 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 oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:650) at gesss.oracle.apps.icx.eclassify.admin.webui.GECMCategoryAdminCO.saveChanges(GECMCategoryAdminCO.java:443) at gesss.oracle.apps.icx.eclassify.admin.webui.GECMCategoryAdminCO.processFormRequest(GECMCategoryAdminCO.java:237) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384) 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.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) ## Detail 0 ## java.sql.SQLException: ORA-00001: unique constraint (GESSS.GECM_COMM_ID_CAT_ID_CMP_IDX) violated at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650) at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726) at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:371) at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5012) at gesss.oracle.apps.icx.schema.server.GECMSubComCategoriesMapEOImpl.doDML(GECMSubComCategoriesMapEOImpl.java:140) at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:3922) at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(OAEntityImpl.java:1537) at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2624) at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2470) at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1713) at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1906) at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(OADBTransactionImpl.java:675) at gesss.oracle.apps.icx.eclassify.admin.server.GECMEClassifyAdminAMImpl.saveCommodityChanges(GECMEClassifyAdminAMImpl.java:229) 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 oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:650) at gesss.oracle.apps.icx.eclassify.admin.webui.GECMCategoryAdminCO.saveChanges(GECMCategoryAdminCO.java:443) at gesss.oracle.apps.icx.eclassify.admin.webui.GECMCategoryAdminCO.processFormRequest(GECMCategoryAdminCO.java:237) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384) 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.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) ------
    whether its a dabase related problem (ie for those particular cases data is not valid) or some design error in my code.
    Thanks in advance,
    Anant.

    If it is failing for some specific cases, this indicates that the data is not matching with what the interst statement is expecting.
    check the validity of the data and retry.
    Thanks,
    Tapash

  • Getting Error:::oracle.jbo.domain.Date cannot be cast to java.lang.String

    Hi Friends,
    I have simple req'.
    i have one date filed in OAF page...if user has change the date filed..means if he incresed by 2 days..then i need to call one procedure..if not no need to call....
    first am picking that date field to by uusing prepared stmt and putting in to one variable..like below
    try {
    ps1 = am.getOADBTransaction().getJdbcConnection().prepareStatement("SELECT -------");
    ResultSet rs2 = ps1.executeQuery();
    while (rs2.next()) {
    schDate = rs2.getString(1);//storing the value
    } catch (Exception e) {
    throw OAException.wrapperException(e);
    Next..am picking the current value like this(user can change the value) like below...
    OAViewObject viewObj = (OAViewObject)am.findViewObject("simpleVO");
    String currSchDate = (String)viewObj.getCurrentRow().getAttribute("iDate");
    java.text.SimpleDateFormat dtFormat = new java.text.SimpleDateFormat ("MM/dd/yyyy");
    StringBuilder date = new StringBuilder(dtFormat.format(currSchDate));
    Then am comparing the values like below..
    if (schDate.equals(date)) {
    String outParamValue = "";
    String secondOutParamValue = "";
    but am geting the below error
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.jbo.domain.Date cannot be cast to java.lang.String
         at xxuss.oracle.apps.abc.webui.xxPGCO15.processFormRequest(xxGCO15.java:594)
    Appriciate any help...its very urgent
    Regards
    Harry

    Instead of :
    String currSchDate = (String)viewObj.getCurrentRow().getAttribute("iDate");Try
    String currSchDate = viewObj.getCurrentRow().getAttribute("iDate").toString();
    -Anand

Maybe you are looking for

  • Popup a window in the after-submit process

    I have created a java script function in html header of the page as following: <script language="JavaScript" type="text/javascript"> function myPopup (p_search) { var val1 = document.getElementById(p_search).value; var url; url = 'f?p=&APP_ID.:3:&APP

  • Lotus Notes menu bar issue

    Hi, Although I'm able to start Lotus Notes on OS 10.8 (after installing the Java bundle of OS X), the menu bar is completely unresponsive (but I actually do see LN menu bar items) : I really don't understand what's going on.. Lotus Notes 8.5.2 for Ma

  • Where can I find an up to date IMAQ manual?

    I'm writing software to control a camera with high framerate (~100 fps) for scientific research. I've made some VI's that illustrate the basic principles using the IMAQ High Level VI's, but to save the data at high speed and trigger the acquisition p

  • CS4 Crash, Missing File

    So I used OnLocation to capture some live video, and it crashed during shot 5. Now when I go back to the project, I see in the shot list, shots 1, 2, 3, 4, and 5, but there seems to be no file associated with shot 5, just a circle arrow for the OnLoc

  • How do I edit long (3hrs.) podcast that are saved in mp4 format?

    I have several 3 hour podcasts in mp4 format. I'd like to edit the length and save portions of the podcasts as mp3 files. I tried burning the mp4 file to an audio CD, but due to it's length (3 hrs.), it will not fit on a blank CD-R. I downloaded Auda