ORA-01410

Folks,
I need your help in finding the solution to the below problem. I very much appreciate any help.When I ran this command I am getting the following error: Please take a look. I was running the same without problem before. I will stop by in a minute.
execute DBMS_mview.REFRESH('DOW_DATA.DW_ASSET_DATA','?',null,true,false,atomic_refresh=>true);
14:28:27 Error executing statement: ORA-12008: error in snapshot refresh path
14:28:27 ORA-01410: invalid ROWID
14:28:27 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 617
14:28:27 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 674
14:28:27 ORA-06512: at "SYS.DBMS_SNAPSHOT", line 654
14:28:27 ORA-06512: at line 2
ORA-01410 invalid ROWID
Cause: A ROWID was entered incorrectly. ROWIDs must be entered as formatted hexadecimal strings using only numbers and the characters A through F. A typical ROWID format is '000001F8.0001.0006'.
Action: Check the format, then enter the ROWID using the correct format. ROWID format: block ID, row in block, file ID.
ORA-06512 at stringline string
Cause: Backtrace message as the stack is unwound by unhandled exceptions.
Action: Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or database administrator.

Subject: Re : ORA-01410:Invalid ROWID ORA-02063 ORA-06512
You may be hitting bug 1322919, fixed in 8.1.7.2 patchset. Are you using "WHERE CURRENT OF cursor"? Does your dblink connect the 8i database to an 8.0 or V7 database? If you issue the statement within the procedure manually in sqlplus, do you get similar errors?
In that case, are you using inline views? if so, you may be hitting bug 1227266. If not, you may want to post this to the plsql forum, they will need to look at your procedure and syntax more indepth.
(from MetaLink forums)

Similar Messages

  • 8.1.7: ORA-01410 in PL/SQL but not SQL*Plus

    This has been driving me crazy, and a search here and in comp.databases.oracle didn't turn up any solutions.
    When the following code is part of a stored procedure, it fails with ORA-01410 (Invalid ROWID). It executes perfectly from SQL*Plus, I've verified that TMP_TASK_DATA contains data, and the query clearly specifies a ROWID.
    As noted in the subject, this occurs on 8.1.7. TMP_TASK_DATA and TMP_TASK_RETRIEVAL are both global temp tables. I don't currently have access to Metalink, so was hoping that someone has run across this and has some hints.
    Thx,
    (query edited to limit "IN" list):
            INSERT  INTO TMP_TASK_RETRIEVAL
                    (TASK_ID, TD_ROWID, SORT_ORDER)
            SELECT  TASK_ID, TD_ROWID, ROWNUM
            FROM    (
                    SELECT  TASK_ID, TD_ROWID
                    FROM    (
                            SELECT  TASK_ID,
                                    ROWID                                   as TD_ROWID,
                                    SF_GET_PRIORITY(TASK_TYPE, 1 )          as PRIORITY_COMM,
                                    COMPLETED_TIME                          as FINISH_TIME,
                                    FIRST_READY_TIME                        as QUEUE_TIME
                            FROM    TMP_TASK_DATA
                            WHERE   USER_NUMBER = v_USER_NUM
                            AND     TASK_TYPE in
                                    'AAAA', 'BBBB', 'CCCC'
                    ORDER BY
                            PRIORITY_COMM,
                            decode(PRIORITY_COMM, 10, FINISH_TIME, QUEUE_TIME)
                    );

    Thanks for the info. It turned out that I was wrong about removing the PL/SQL variable from the query; either that, or the error occurs at arbitrary times.
    As best I can tell, a ROWID simply can't be passed between nested inline views, so I reduced them to one level (which means that I have to run the function twice in the ORDER BY, rather than once in the nested select).

  • Errors ORA-01115 ORA-17507 ORA-01410

    Hi i was using Oracle Data Integrator for loading data from one database to another, i programmed a package that loads data with a cycle in monthly intervals, it rans ok the first ten months since 2007/11 but then i got this errors
    java.sql.SQLException: ORA-01115: IO error reading block from file 286 (block # 184745)
    ORA-17507: I/O request size is not a multiple of logical block size
    ORA-01410: invalid ROWID
    Does anyone have any idea why this happened?.

    oracle error ORA-01115
    1. Try to assess the cause and extent of the problem.
    Examine the alert.log file for this instance. Scan the last few
    days' entries for other occurrences of ORA-01115. If you find them,
    A) Do they reference files in different disks?
    If so, it is likely that there you have controller problems.
    Move on to Scenario II.A below.
    B) Do they reference different files in the same disk?
    If so, it is likely that there are problems with that disk.
    Move on to Scenario II.B below.
    C) Do they always reference the same datafile?
    If so, it is likely that the datafile contains bad blocks.
    Move on to Scenario II.C below. If the file is bigger
    than 2GB and you are running 7.1.4 or lower on a Solaris
    platform, see Scenario II.D below.
    D) If none of the above applies, move on to Step 2.
    2. If the datafile is in the SYSTEM tablespace, or the database is in
    NOARCHIVELOG mode, shut the database down. Move on to Step 4.
    If shutdown immediate fails, do a shutdown abort.
    3. If the database is in ARCHIVELOG mode, you should still shut the
    database down. If the database cannot be shut down, offline the
    datafile.
    ALTER DATABASE DATAFILE '<full_path_file_name>' OFFLINE;
    4. Try to copy the datafile to another disk (managed by a different
    controller, if possible).
    5. If the copy fails, even after you retry, the datafile must be considered
    lost at this point. The next action depends on the tablespace to
    which the lost file belongs. See the following Solution References to
    PR entries, according to the different types of tablespaces,
    for instructions on how to proceed.
    IMPORTANT: While going through the references below, keep in mind that
    if you restore the datafile from backup, you need to place it in another
    disk, preferably under a different controller, and rename it inside Oracle
    (see Note 115424.1 for details). If you recreate any tablespace, make
    sure its datafiles are created in another disk, preferably under a
    different controller.
    Reference for Lost datafile scenarios : Note 198640.1
    6. If the database is down, mount it.
    7. Rename the datafile that you succeeded in copying inside Oracle.
    ALTER DATABASE RENAME FILE '<old_full_path_file_name>'
    TO '<new_full_path_file_name>';
    8. If the database is mounted, open it. If you offlined the datafile,
    perform media recovery on it, and then bring it online.
    RECOVER DATAFILE '<full_path_file_name>';
    ALTER DATABASE DATAFILE '<full_path_file_name>' ONLINE;

  • Help to Identify the peace of code Causing - ORA-01410: invalid ROWID

    Hi I have Plsql Block that runs monthly and process 10 million records and every once in a while it fails with the ORA-01410: invalid ROWID Error ,last month it failed two times with same error ,if any one could point me what is wrong this code ,i will work on it to fix. if you see the code we have exceptio n block at the end of the code ,we have procedure that inserts a record into log table ,so both the failures had inserted a record into the table that means it failed before it entered into for loop.
    my question is can Fech statement cause invalid rowid.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    DECLARE
      cFetchLimit CONSTANT NUMBER := 100000; 
      nRunningTotal NUMBER := 0;
      CURSOR curRawData IS
          SELECT rawdata.*, SYS_GUID() combinedprofitdataid,
               NVL((SELECT 'Y'    
                    FROM   SNAP_CDS_HR_NONSENSITIVE_DATA
                    WHERE  emplid = LPAD(rawdata.fk_westprireltnshpmanagerempid,11,'0')),'N') hrempexists,
               NVL((SELECT MAX('Y')      
                    FROM   SNAP_MAX_Entity
                    WHERE  AU     = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_west_bookingau, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_west_bookingau, NULL) 
                    ),'N') bookingauexists,               
               NVL((SELECT  MAX('Y')
                    FROM   SNAP_MAX_Entity
                    WHERE  AU     = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_westprireltnshpmanagerempau, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_westprireltnshpmanagerempau, NULL)
                    ),'N') prirelmanempauexists,
               NVL((SELECT  MAX('Y')          
                    FROM   SNAP_MAX_ProductGroup
                    WHERE  ProductGroupId = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_west_productgroupid, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_west_productgroupid, NULL)
                    ),'N') productgroupexists,
               NVL((SELECT  MAX('Y')          
                    FROM   SNAP_MAX_Product
                    WHERE  ProductId = rawdata.fk_west_productid
                    ),'N') productidexists,
               NVL((SELECT  MAX('Y')
                    FROM   SNAP_MAX_SubProduct
                    WHERE  SubProductId = rawdata.fk_west_subproductid
                    ),'N') subproductidexists,
               (SELECT  e.GL_ENTITY       
                        FROM SNAP_CDS_HR_NONSENSITIVE_DATA e
                       WHERE e.emplid = LPAD(rawdata.fk_westprireltnshpmanagerempid,11,'0')
                         AND e.AU = rawdata.FK_WESTPRIRELTNSHPMANAGEREMPAU ) entity_fk_westprirelmanempau
        FROM   T_rawdata rawdata
        WHERE rawdata.dda_flag = 'N';
      TYPE RawData_aat IS TABLE OF curRawData%ROWTYPE INDEX BY PLS_INTEGER;
      l_RawData RawData_aat;   
      TYPE CombinedProfitData_aat IS TABLE OF T_WIS_CDS_COMBINEDPROFITDATA%ROWTYPE INDEX BY PLS_INTEGER;
      l_CombinedP CombinedProfitData_aat;
      cpdIdx NUMBER := 0;
      vcHREmpExists          VARCHAR2(1) := 'N';
      vcBookingAuExists      VARCHAR2(1) := 'N';
      vcPriRelManEmpAuExists VARCHAR2(1) := 'N';
      vcProductGroupExists   VARCHAR2(1) := 'N';
      vcProductIDExists      VARCHAR2(1) := 'N';
      vcSubProductIDExists   VARCHAR2(1) := 'N';
      vcBEIDExists           VARCHAR2(1) := 'N';
      l_raw_accountnum           t_wis_cds_h_act_rawdata.account%TYPE                   := NULL;
      l_raw_bank_id              t_wis_cds_h_act_rawdata.account%TYPE                   := NULL;
      l_west_sourcesystem        t_wis_cds_h_act_rawdata.sourcesystem%TYPE              := NULL;
      l_fnd_combinedprofitdataid T_WIS_CDS_COMBINEDPROFITDATA.combinedprofitdataid%TYPE := NULL;
      FUNCTION BEIDExists(p_west_be_id VARCHAR2) RETURN VARCHAR2 IS
        CURSOR curBEIDData IS
          SELECT 'Y'
          FROM   SNAP_STOBEX_BUSINESS_ENTITY
          WHERE  be_id  = p_west_be_id;
      BEGIN     
        FOR recBEIDData IN curBEIDData LOOP
          RETURN 'Y';
        END LOOP;
        RETURN 'N';   
      EXCEPTION
      WHEN OTHERS THEN
         P_WIS_CDS.LOG('exists', SQLCODE, SQLERRM);
        RETURN 'N'; 
      END BEIDExists;  
    BEGIN
      OPEN curRawData;
      LOOP
        FETCH curRawData BULK COLLECT INTO l_RawData LIMIT cFetchLimit;
        EXIT WHEN l_RawData.COUNT = 0;       
        l_CombinedP.DELETE;
        cpdIdx := 0;
        nRunningTotal := nRunningTotal + l_RawData.COUNT;
        P_WIS_CDS.info('Merge_cp','0', 'Processing '||nRunningTotal||' rows @ '||SYSDATE);
        FOR i IN l_RawData.FIRST..l_RawData.LAST LOOP
            cpdIdx := (cpdIdx+1);       
            vcHREmpExists          := 'N';
            vcBookingAuExists      := 'N';
            vcPriRelManEmpAuExists := 'N';
            vcProductGroupExists   := 'N';
            vcProductIDExists      := 'N';
            vcSubProductIDExists   := 'N';
            vcBEIDExists           := 'N';
            l_CombinedP(cpdIdx).exportsource      := l_RawData(i).exportsource;
            l_CombinedP(cpdIdx).exportsourcetype  := l_RawData(i).exportsourcetype;
            l_CombinedP(cpdIdx).fk_exportsourceid := l_RawData(i).exportsourceid;
            IF l_RawData(i).fk_westprireltnshpmanagerempid IS NOT NULL THEN
              l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid :=
                                          LPAD(l_RawData(i).fk_westprireltnshpmanagerempid, 11, '0');       
            ELSE
              l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid := NULL;
            END IF;
            l_CombinedP(cpdIdx).fk_west_productgroupid :=
                                                l_RawData(i).fk_west_productgroupid;  
            l_CombinedP(cpdIdx).fk_west_productid      :=
                                                     l_RawData(i).fk_west_productid;
            l_CombinedP(cpdIdx).fk_west_subproductid   :=
                                                  l_RawData(i).fk_west_subproductid;
            l_CombinedP(cpdIdx).fk_west_bookingau := NULL;
            IF l_RawData(i).fk_westprireltnshpmanagerempau IS NOT NULL OR l_RawData(i).fk_westprireltnshpmanagerempau <> '0' THEN
         l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau :=
                                     lpad(l_RawData(i).fk_westprireltnshpmanagerempau,7,'0');   ---->751 task
         ELSE
         l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau := NULL;
         END IF;         
            l_CombinedP(cpdIdx).combinedprofitdataid         := l_RawData(i).combinedprofitdataid; ---SYS_GUID();
            l_CombinedP(cpdIdx).exportsource                 := l_RawData(i).exportsource;
            l_CombinedP(cpdIdx).exportsourcetype             := l_RawData(i).exportsourcetype;
            l_CombinedP(cpdIdx).fk_exportsourceid            := l_RawData(i).exportsourceid;
            l_CombinedP(cpdIdx).endofmonthdate               := l_RawData(i).endofmonthdate;
            l_CombinedP(cpdIdx).account                      := l_RawData(i).account;
            l_CombinedP(cpdIdx).westaccount                  := l_RawData(i).westaccount;
         IF l_RawData(i).westaccount IS NOT NULL
         THEN
              l_CombinedP(cpdIdx).iseastaccountconvertedtowest := 'Y';
         END IF;
                BEGIN
                  SELECT customer.WEST_BE_ID,
                         linkage.parent_id,
                         linkage.top_parent_id
                  INTO   l_CombinedP(cpdIdx).fk_west_be_id,
                         l_CombinedP(cpdIdx).fk_west_ber_id,
                         l_CombinedP(cpdIdx).fk_west_hlber_id
                  FROM   SNAP_STOBEX_BE_BER_LINKAGE linkage,
                         T_EastToWest customer
                  WHERE  customer.east_customerid = l_RawData(i).fk_customerid
                  AND    customer.east_accountid  = NVL(l_RawData(i).westaccount,l_RawData(i).account)
                  AND    linkage.entity_id(+)     = customer.west_be_id
                  AND    linkage.entity_type(+)   = 'BE'
                  AND    ROWNUM                   = 1;
                EXCEPTION
                WHEN NO_DATA_FOUND THEN
                  BEGIN
                    SELECT customer.WEST_BE_ID,
                           linkage.parent_id,
                           linkage.top_parent_id
                    INTO   l_CombinedP(cpdIdx).fk_west_be_id,
                           l_CombinedP(cpdIdx).fk_west_ber_id,
                           l_CombinedP(cpdIdx).fk_west_hlber_id
                    FROM   SNAP_STOBEX_BE_BER_LINKAGE linkage,
                           T_EastToWest customer
                    WHERE  customer.east_customerid = l_RawData(i).fk_customerid
                    AND    customer.east_accountid  = l_RawData(i).account
                    AND    linkage.entity_id(+)     = customer.west_be_id
                    AND    linkage.entity_type(+)   = 'BE'
                    AND    ROWNUM                   = 1;
                  EXCEPTION            
                    WHEN OTHERS THEN                           
                     l_CombinedP(cpdIdx).fk_west_be_id    := NULL;
                     l_CombinedP(cpdIdx).fk_west_ber_id   := NULL;
                     l_CombinedP(cpdIdx).fk_west_hlber_id := NULL;
                  END;
                WHEN OTHERS THEN                           
                  l_CombinedP(cpdIdx).fk_west_be_id    := NULL;
                  l_CombinedP(cpdIdx).fk_west_ber_id   := NULL;
                  l_CombinedP(cpdIdx).fk_west_hlber_id := NULL;
                END;
            l_fnd_combinedprofitdataid := NULL;
            BEGIN
                SELECT  COMBINEDPROFITDATAID
                  INTO l_fnd_combinedprofitdataid
                  FROM T_WIS_CDS_COMBINEDPROFITDATA cpd
                 WHERE cpd.fk_west_be_id                   = l_CombinedP(cpdIdx).fk_west_be_id
                   AND cpd.fk_west_productgroupid          = l_CombinedP(cpdIdx).fk_west_productgroupid
                   AND cpd.fk_west_productid               = l_CombinedP(cpdIdx).fk_west_productid
                   AND cpd.fk_west_subproductid            = l_CombinedP(cpdIdx).fk_west_subproductid
                   AND extract(month from cpd.endofmonthdate)   = extract(month from l_CombinedP(cpdIdx).endofmonthdate)
                   AND extract(year from cpd.endofmonthdate) = extract(year from l_CombinedP(cpdIdx).endofmonthdate) 
                   AND cpd.revenue BETWEEN l_CombinedP(cpdIdx).revenue - 10.00 AND l_CombinedP(cpdIdx).revenue + 10.00               
                   AND cpd.exportsource <> 'CP'
                   AND ROWNUM = 1;
            EXCEPTION
              WHEN NO_DATA_FOUND THEN
                l_fnd_combinedprofitdataid := NULL;
              WHEN OTHERS THEN
                l_fnd_combinedprofitdataid := NULL;
            END;
            IF l_fnd_combinedprofitdataid IS NOT NULL THEN
              l_CombinedP(cpdIdx).isduplicate       := 'Y';
              l_CombinedP(cpdIdx).fk_duplicatecpdid := l_fnd_combinedprofitdataid;         
            ELSE
              l_CombinedP(cpdIdx).isduplicate       := 'N';
              l_CombinedP(cpdIdx).fk_duplicatecpdid := NULL;
            END IF;
            l_CombinedP(cpdIdx).iserror      := 'N';
            l_CombinedP(cpdIdx).errormessage := NULL;   
         IF l_CombinedP(cpdIdx).FK_WESTPRIRELTNSHPMANAGEREMPAU IS NULL AND l_CombinedP(cpdIdx).ENTITY_FK_WESTPRIRELMANEMPAU IS NOT NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('FK_WESTPRIRELTNSHPMANAGEREMPAU is NULL but Entity value exists. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'FK_WESTPRIRELTNSHPMANAGEREMPAU is NULL but Entity value exists. ';
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid IS NULL AND
              l_RawData(i).primaryrelationshipmanagerid IS NOT NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP RM/EMP ID translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP RM/EMP ID translation. ';
              END IF;                             
            ELSE               
              vcHREmpExists := l_RawData(i).HREmpExists;
              IF vcHREmpExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP RM/Emp ID translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP RM/Emp ID translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau IS NULL AND
              l_RawData(i).primaryrelationshipmanagerau IS NOT NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP RM/EMP AU reference. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP RM/EMP AU reference. ';
              END IF;       
            END IF;
            vcPriRelManEmpAuExists := l_RawData(i).PriRelManEmpAuExists;      
            IF vcBookingAuExists <> 'Y' THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP RM/Emp AU translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP RM/Emp AU translation. ';
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_productgroupid IS NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP Product Group translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP Product Group translation. ';
              END IF;
            ELSE
              vcProductGroupExists := l_RawData(i).ProductGroupExists;      
              IF vcProductGroupExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Product Group translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Product Group translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_productid IS NOT NULL THEN
              vcProductIdExists := l_RawData(i).ProductIdExists;      
              IF vcProductGroupExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Product translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Product translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_subproductid IS NOT NULL THEN
              vcSubProductIdExists := l_RawData(i).SubProductIdExists;      
              IF vcSubProductIdExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Sub Product translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Sub Product translation. ';
                END IF;
              END IF;
            END IF;
            IF l_CombinedP(cpdIdx).fk_west_be_id IS NULL THEN
              l_CombinedP(cpdIdx).iserror      := 'Y';
              IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP BE ID translation. ')) < 250 THEN
                l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP BE ID translation. ';
              END IF;
            ELSE
              vcBEIDExists := BEIDExists(l_CombinedP(cpdIdx).fk_west_be_id);      
              IF vcBEIDExists <> 'Y' THEN
                l_CombinedP(cpdIdx).iserror      := 'Y';
                IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP BE ID translation. ')) < 250 THEN
                  l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP BE ID translation. ';
                END IF;
              END IF;
            END IF;
        END LOOP;
        FORALL i in l_CombinedP.FIRST..l_CombinedP.LAST
          INSERT INTO T_WIS_CDS_COMBINEDPROFITDATA 
          VALUES l_CombinedP(i);
       COMMIT;  
      END LOOP;
      CLOSE curRawData;
    COMMIT; 
    EXCEPTION
    WHEN OTHERS THEN
      IF curRawData%ISOPEN THEN
        CLOSE curRawData;
      END IF;
       P_WIS_CDS.LOG('Error', SQLCODE, SQLERRM);
    END;
    /Thank you

    I just looked at all the ddls' i have the following syntax for all MV's
    CREATE MATERIALIZED VIEW WIS.SNAP_MAX_ENTITY
    TABLESPACE WIS_CDS_DATA01
    PCTUSED    0
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          80K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    USING INDEX
                TABLESPACE WIS_DATA01
                PCTFREE    10
                INITRANS   2
                MAXTRANS   255
                STORAGE    (
                            INITIAL          80K
                            NEXT             80K
                            MINEXTENTS       1
                            MAXEXTENTS       UNLIMITED
                            PCTINCREASE      0
                            FREELISTS        1
                            FREELIST GROUPS  1
                            BUFFER_POOL      DEFAULT
    REFRESH FORCE ON DEMAND
    WITH PRIMARY KEYEdited by: vijayp on Aug 7, 2012 6:44 PM
    Edited by: vijayp on Aug 7, 2012 7:02 PM

  • ORA-01410: invalid ROWID

    I was trying to load data into a table using SQL Loader
    when I came across this error in the log file . I am not sure what might have happened or where to look to fix this up. Any ideas or suggestions as to where to look? I am on Oracle 9.2.0.4 on unix(AIX 4.3)
    Thanks
    insert into med.orders a
    ERROR at line 1:
    ORA-01410: invalid ROWID

    My control file is as follows :
    load data
    append
    into table orders
    fields terminated by '|'
    (disc_telephone_number,
    order_number,
    due_date,
    completion_date,
    status,
    ocn,
    region CONSTANT "TOC",
    pon,
    start_date,
    start_time,
    technician,
    phone_number,
    actual_time)
    Actually my shell script does some updates and then inserts records into the table using sqlldr.
    First the updates which works fine...but during insert, it just hangs.
    1260 rows updated.
    Commit complete.
    It was supposed to do the insert and then again commit. (About 2500 records),,,but should take only about 20 minutes...(i compared this to my 8i environment.)But it just sits there, and when I cancel after a long gap of time it gives me the ORA error message saying
    Insert into orders ( .........)
    User requested cancel of operation
    Any suggestions ? Thanks

  • ORA-01410 when selecting data via ROWID

    hi there,
    after update on 11.2.0.2 we are getting the following error in our application when selecting a record using the comparison via the ROWID:
    select s.rowid , S.VRZNG_ENHT_TITEL from vws_vrzng_enht_haupt_sys s where s.rowid='AAASN0AAFAAACBUAAB';
    -- => ORA-01410 (it doesn't matter which other column additionally to the rowid will be chosen)
    performing the same select but using the * for all data
    select s.rowid , s.* from vws_vrzng_enht_haupt_sys s where s.rowid='AAASN0AAFAAACBUAAB';
    -- => one row will be received.
    that is very strange to me.
    Using the former release 10.2.0.4 everything was fine without receiving such an error.
    Also the dirty workaround with setting the optimizer_features_enable to 10.2.0.4 will work....
    Has anyone faced this error, too? Any help will be higly appreciated.
    thanks Stefan

    Plan causing the ORA-01410:
    | Id  | Operation                    | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |                 |     1 |    72 |     1   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS                |                 |     1 |    72 |     1   (0)| 00:00:01 |
    |   2 |   NESTED LOOPS               |                 |     1 |    57 |     1   (0)| 00:00:01 |
    |   3 |    TABLE ACCESS BY USER ROWID| TBS_VRZNG_ENHT  |     1 |    54 |     1   (0)| 00:00:01 |
    |*  4 |    INDEX UNIQUE SCAN         | CPK_GSFT_OBJ    |    22 |    66 |     0   (0)| 00:00:01 |
    |*  5 |   INDEX UNIQUE SCAN          | CUK_GOBH_GO2_ID |    17 |   255 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - access("G"."GSFT_OBJ_ID"="VRZNG_ENHT_ID")
       5 - access("GOBH"."GSFT_OBJ_2_ID"="G"."GSFT_OBJ_ID")Plan using the DUAL subquery:
    | Id  | Operation                    | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |                         |     1 |    39 |     4   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS                |                         |     1 |    39 |     2   (0)| 00:00:01 |
    |   2 |   NESTED LOOPS               |                         |     1 |    18 |     1   (0)| 00:00:01 |
    |*  3 |    TABLE ACCESS BY USER ROWID| TBS_GSFT_OBJ_BZHNG_HRCH |     1 |    15 |     1   (0)| 00:00:01 |
    |   4 |     FAST DUAL                |                         |     1 |       |     2   (0)| 00:00:01 |
    |*  5 |    INDEX UNIQUE SCAN         | CPK_GSFT_OBJ            |     1 |     3 |     0   (0)| 00:00:01 |
    |   6 |   TABLE ACCESS BY INDEX ROWID| TBS_VRZNG_ENHT          |     1 |    21 |     1   (0)| 00:00:01 |
    |*  7 |    INDEX UNIQUE SCAN         | CPK_VRZNG_ENHT          |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - access(CHARTOROWID( (SELECT 'AAASN0AAFAAACBUAAB' FROM "SYS"."DUAL" "DUAL")))
       5 - access("GOBH"."GSFT_OBJ_2_ID"="G"."GSFT_OBJ_ID")
       7 - access("G"."GSFT_OBJ_ID"="VRZNG_ENHT_ID")Have you spotted the difference yourself? One execution plan applies the ROWID to a different table than the other one. You might have hit a bug here, potentially caused by a transformation applied by the optimizer.
    Can you show us the execution plan that worked in 10.2.0.4?
    Would it be possible to share the definition of the view "vws_vrzng_enht_haupt_sys"?
    Hope this helps,
    Randolf

  • ORA-01410 Invalid RowID. Help me..

    Hi,
    I'm getting ORA-01410 error while trying to backup table X.
    (table X has no indexes.)
    what i did..
    1) using exp... --> ORA-01410 error
    2) create table X2 as select * from X --> ORA-01410 error
    3) alter table X move tablespace T2 --> ORA-01410 error
    4) analyze table X validate structure cascade --> ORA-01410 error
    maybe corruption?
    what i did next..
    1) fsck --> OK
    2) dbv file=XXX BLOCKSIZE=8192 (all datafiles) -> OK
    3) dbms_repair.check_object(...) -> OK
    i cannot understand this case.
    it's not the case of index corruption or "current of" bug.
    My environment is...
    - OS : Fedora Core 4
    - DB : Oracle 9.2.0.8 for Linux
    Can somebody tell me how i should repair this table?

    Table size is 4,197,449,728 (about 4GB) and 512,384 blocks (1block = 8KB)
    as I mentioned before, create as select statement was failed.
    at the view "v$longops" ,
    I can see progress of full scanning..
    from 0 block to 451341 block...
    but, there the ORA-01410 error is raised.

  • Oracle sys Index rebuild then Getting error Invalid Error Ora-01410

    Oracle sys Index rebuild,
    after Getting error Invalid Error Ora-01410 in alert log file.every Insert ,update and delete.
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    Oracle sys Index rebuild list
    CTXSYS
    EXFSYS
    FLOWS_030000
    FLOWS_FILES
    MDSYS
    OLAPSYS
    ORDSYS
    OWBSYS
    SI_INFORMTN_SCHEMA
    TSMSYS
    WKSYS
    MDSYS
    After rebuild above index im getting error while inserting,update,delete table rows
    Error like 'INVALID ROWID' alert log file
    ANY ONE HELP ME TO RESOLVE THE PROBLEM
    Edited by: 927230 on May 26, 2012 8:51 PM
    Edited by: 927230 on May 26, 2012 8:53 PM

    927230 wrote:
    Oracle sys Index rebuild after Getting error Invalid Error Ora-01410
    Oracle 11.1 version
    Oracle sys Index rebuild list
    CTXSYS
    EXFSYS
    FLOWS_030000
    FLOWS_FILES
    MDSYS
    OLAPSYS
    ORDSYS
    OWBSYS
    SI_INFORMTN_SCHEMA
    TSMSYS
    WKSYS
    MDSYS
    After rebuild above index im getting error while inserting,update,delete table rows
    Error like 'INVALID ROWID'
    ANY ONE HELP ME TO RESOLVE THE PROBLEMwhich came first the error or the rebuild?
    COPY & PASTE whole session & SQL so we can see exactly what you do & how Oracle responds
    post results from following SQL below
    SELECT * FROM V$VERSION

  • Local Domain Index  query fails with ora-01410: invalid rowid

    Hello!
    I have a task to implement partitioned domain index for range partitioned table.
    As I understood from reference http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28425/dom_idx.htm
    the main difference is to provide support for partitioning operations by
    implementing corresponding ODCI interface functions.
    For the first I decided to create something simple to not spend time on system partitioned
    index storage table. My problem is that domain index works correctly when it's created without
    support for partitioning and produces "*ORA-01410: INVALID ROWID*" when it's created
    with LOCAL option.
    Test query:
    SELECT /* +index(from_sample_index) */ * FROM index_in_partitioned_tbl WHERE position_between(card_no)  < 50 ORDER BY card_no DESC;
    Index creared in this way returns 3 rows:
    CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype;
    When index has been creared with LOCAL option I got "ORA-01410: INVALID ROWID" :
    CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype LOCAL;
    I don't post implementation's source code to reduce amount of text in post. It works for global index.
    If I copy rowid from index storage table and then put it into something like
    SELECT card_no FROM index_in_partitioned_tbl WHERE rowid = 'AAAXHGAAEAAAFERAAh';
    then it will be executed successfully without any errors.
    I suppose the error could be somehow linked with "alter index" calls that Oracle makes when local domain index is created.
    The calls are made with option "AlterIndexRebuild" - possibly they mark index as invalid (though it's shown as valid in SQL Developer)

    Solved :)
    when index is LOCAL calls for ODCIINDEXSTART - ODCIINDEXFETCH - ODCIINDEXCLOSE are executed for each partition of base table.
    In my case ODCIINDEXFETCH returns row_id's regardless of partition that are currently scanned for values. So first call returned rowid values for all partitions not only for the first partition and validation failed with "ora-01410: invalid rowid"

  • Raise Form_Trigger_Failure on When-Button-Pressed  ORA-01410 Invalid RowID

    Hello to all...
    I have an error whit Raise Form_Trigger_Failure on trigger When-Button-Pressed.
    I guess the error is when does the Raise Form_Trigger_Failure
    When validate something, this validation ask me if i want to continue.
    When i answer NO, give me this error: ORA-01410 Invalid RowID
    If i answer YES, the process continue and in an unexpected moment, give that error too
    Why give me that error?
    How can i resolve this error...help me
    thanks...
    Part of Code
    FOR i IN 1..TItemsAsi1.LAST LOOP
    IF TItemsAsi1(i).c_error IS NOT NULL THEN
    l_error := l_error + 1;
    IF TItemsAsi1(i).c_error = 'ND' THEN
    IF NOT Fpa_mensaje.disp_consulta_sino('Atención','No hay datos suficientes para generar Asiento de cierre relacionado a Reconocimiento de los recursos del ejercicio') THEN           
    RAISE FORM_TRIGGER_FAILURE;
    END IF ;     ELSIF TItemsAsi1(i).c_error = 'AD' THEN
    IF NOT Fpa_mensaje.disp_consulta_sino('Atención','Hay cuentas Acreedoras con saldo Deudor CUENTA: '||TItemsAsi1(i).c_cuenta||'. ¿Desea continuar con el cierre? ') THEN           
    RAISE FORM_TRIGGER_FAILURE;
    END IF ;     ELSIF TItemsAsi1(i).c_error = 'DA' THEN
    IF NOT Fpa_mensaje.disp_consulta_sino('Atención','Hay cuentas Deudoras con saldo Acreedor CUENTA:'||TItemsAsi1(i).c_cuenta||'. ¿Desea continuar con el cierre? ') THEN           
    RAISE FORM_TRIGGER_FAILURE;
    END IF ;     END IF;END IF;END LOOP;

    delete from <table> where rowid like '<block id>%'Arrgh. To be honest, this is the worst sql-statement i have seen this year. i hope the statement will raise an error on execution, but even if it would get executed, what should be the reason for something like this? Delete anything which is stored in a specific block, regardless of the meaning ?

  • ORA-01410: invalid ROWID, when procedure is executed

    Hi,
    I am using Oracle 10g 10.2.0.3 on linux 64 bit
    I am getting following error
    ORA-12012: error on auto execute of job 17069
    ORA-01410: invalid ROWID
    ORA-06512: at "t1.DR1", line 12
    ORA-06512: at line 1
    t1 is the schema and DR1 is the procedure run every hour
    Error in Alert log showing thirce time.
    Following is the content of procedure
    create or replace procedure t1.dr1
    is
    CURSOR CS1
    IS
    select * FROM t1.V_TL_DR1;
    begin
    FOR CURRENT_RECORD IN CS1
    LOOP
    begin
    insert into t1.tr_dr1
    values
    (t1.tr_dr1_seq.nextval,CURRENT_RECORD.uuid,default,'ANY',DEFAULT,NULL,NULL,NULL,null);
    if CURRENT_RECORD.dv_code in('SD1','SD2') then
    INSERT INTO t1.dr1_writer
    values
    (t1.dr1_writer_feed_seq.nextval,CURRENT_RECORD.uuid,'OP1',DEFAULT,NULL,DEFAULT,NULL,null,DEFAULT,NULL);
    else
    INSERT INTO t1.dr1_writer
    values
    (t1.dr1_writer_feed_seq.nextval,CURRENT_RECORD.uuid,'OP2',DEFAULT,NULL,DEFAULT,NULL,null,DEFAULT,NULL);
    end if;
    exception
    WHEN DUP_VAL_ON_INDEX then
    dbms_output.put_line('IT IS NOT ALLOWED TO DUPLICATE');
    end;
    END LOOP;
    end;
    t1.V_TL_DR1 IS a view which has two columns uuid and dv_code
    Could any one tell me that, is it something to do with above procedure

    CREATE OR REPLACE VIEW t1.V_TL_DR1 AS
    select distinct ap.uuid uuid,ap.adv_code adv_code
    from
         (select alj.app_uid app_uid,alj.stages_uid stages_uid
         ,max(rate_AB) RATE_AB
         ,max(rate_Ac) RATE_AC
         ,max(rate_AD) RATE_AD
         ,MAX(CREATED) CREATED
         from t1.aof alj, (select max(uuid) uuid,max(in_name) in_name from t1.stages where stage=50 group by app_uid) st2
         where alj.stages_uid=st2.uuid
         group by alj.app_uid,alj.stages_uid) alj
         ,t1.app ap
         ,t1.app_user appu
         ,(select * from t1.app_applicant where joint='P') applicants
              WHERE
              alj.app_uid=ap.uuid
              and ap.user_uid=appu.uuid
              and ap.uuid=applicants.app_uid(+)
              and alj.created between systimestamp-(30/1440) and systimestamp-(10/1440)
              and ap.app_status='N'
              and
              (RATE_AB is not null and RATE_AB<>0)
              OR (RATE_AC not null and RATE_AC<>0)
              OR (RATE_AD is not null and RATE_AD<>0 and applicants.residential_status not in('T','U'))
              and appu.role='WEB'
              and ap.created between systimestamp-90 and systimestamp
              and ap.adv_code not in('UP1','UP2','UP3','UP4')Edited by: user605066 on 21-Feb-2011 02:32
    Edited by: user605066 on 21-Feb-2011 02:35

  • Error while adding a record

    I am getting the following error while adding record into the table CM_RECIPE_ITEM :
    <h4> Error </h4>
    ORA-20505: Error in DML: p_rowid=626, p_alt_rowid=CRI_ID, p_rowid2=, p_alt_rowid2=. ORA-01410: invalid ROWID ORA-06512: at "COSTMAN.CM_RECIPE_ITEM_T3_AFTER", line 11 ORA-04088: error during execution of trigger 'COSTMAN.CM_RECIPE_ITEM_T3_AFTER'
         Error      Unable to process row of table CM_RECIPE_ITEM.
    Kindly suggest if the problem is because of the Global temporary table or the triggers given below. Also suggest the solution.
    Thanking You,
    Yogesh
    <h4> CM_RECIPE_ITEM Table </h4>
    CRI_ID------CRI_CR_ID--------CRI_BOM_CODE--------CRI_CIFG_CODE---------CRI_CIRM_CODE--------CRI_SEQ--------CRI_QTY--------CRI_RM_COST
    625----------464-----------------PRODUCT3001----------FG003----------------------10---------------------------1-------------------60-----------------10
    626----------464-----------------PRODUCT3001----------FG003----------------------12---------------------------2-------------------40------------------10
    <h4>Global temporary table</h4>
    DROP TABLE COSTMAN.INTERIM CASCADE CONSTRAINTS;
    CREATE GLOBAL TEMPORARY TABLE COSTMAN.INTERIM
    ROW_ID ROWID
    ON COMMIT PRESERVE ROWS
    NOCACHE;
    CREATE OR REPLACE TRIGGER COSTMAN."CM_RECIPE_ITEM_T3"
    BEFORE INSERT OR UPDATE ON "CM_RECIPE_ITEM" FOR EACH ROW
    BEGIN
    INSERT INTO interim VALUES (:new.rowid);
    END;
    <h4>Trigger to update data on CM_RECIPE table </h4>
    CREATE OR REPLACE TRIGGER COSTMAN."CM_RECIPE_ITEM_T3_AFTER"
    AFTER INSERT OR UPDATE ON "CM_RECIPE_ITEM"
    BEGIN
    FOR ds IN (SELECT row_id FROM interim) LOOP
    UPDATE CM_RECIPE
    SET CR_RMC = (
    SELECT SUM(CRI_QTY * CRI_RM_COST)/SUM(CR_QUANTITY)
    FROM CM_RECIPE_ITEM
    WHERE CRI_BOM_CODE = CR_BOM_CODE
    AND rowid = ds.row_id
    UPDATE CM_RECIPE
    SET CR_TOTAL_COST = (
    SELECT CIFG_PACKING + CIFG_OVERHEAD +CIFG_OTHERS
    FROM CM_ITEM_FG
    WHERE CIFG_CODE = CR_CIFG_CODE
    AND rowid = ds.row_id
    ) + CR_RMC;
    UPDATE CM_RECIPE
    SET CR_GROSS_MARGIN =
    (SELECT CIFG_DP_RATE
    FROM CM_ITEM_FG
    WHERE CIFG_CODE = CR_CIFG_CODE
    AND rowid = ds.row_id) - CR_TOTAL_COST) / CR_TOTAL_COST;
    END LOOP;
    END;
    /

    The scripts of the tables CM_ITEM_FG, CM_RECIPE, CM_RECIPE_ITEM are as follows :
    <h4>CM_ITEM_FG</h4>
    ALTER TABLE COSTMAN.CM_ITEM_FG
    DROP PRIMARY KEY CASCADE;
    DROP TABLE COSTMAN.CM_ITEM_FG CASCADE CONSTRAINTS;
    CREATE TABLE COSTMAN.CM_ITEM_FG
    CIFG_CODE VARCHAR2(13 BYTE) NOT NULL,
    CIFG_CCG_ID NUMBER NOT NULL,
    CIFG_NAME VARCHAR2(50 BYTE) NOT NULL,
    CIFG_PACKING NUMBER NOT NULL,
    CIFG_OVERHEAD NUMBER NOT NULL,
    CIFG_OTHERS NUMBER NOT NULL,
    CIFG_DP_RATE NUMBER NOT NULL,
    CIFG_CR_BY VARCHAR2(32 BYTE),
    CIFG_CR_ON DATE,
    CIFG_UPD_BY VARCHAR2(32 BYTE),
    CIFG_UPD_ON DATE
    TABLESPACE COST_MANAGER
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE UNIQUE INDEX COSTMAN.CM_ITEM_FG_PK_001 ON COSTMAN.CM_ITEM_FG
    (CIFG_CODE, CIFG_CCG_ID)
    LOGGING
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE UNIQUE INDEX COSTMAN.CM_ITEM_FG_UK_001 ON COSTMAN.CM_ITEM_FG
    (CIFG_CODE)
    LOGGING
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE OR REPLACE TRIGGER COSTMAN."CM_ITEM_FG_T1"
    BEFORE UPDATE ON "CM_ITEM_FG"
    FOR EACH ROW
    BEGIN
    BEGIN
    UPDATE CM_RECIPE
    SET CR_TOTAL_COST = (CR_RMC + :NEW.CIFG_PACKING + :NEW.CIFG_OVERHEAD + :NEW.CIFG_OTHERS);
    END;
    BEGIN
    UPDATE CM_RECIPE
    SET CR_GROSS_MARGIN = (:NEW.CIFG_DP_RATE - CR_TOTAL_COST) / CR_TOTAL_COST;
    END;
    END;
    ALTER TABLE COSTMAN.CM_ITEM_FG ADD (
    CONSTRAINT CM_ITEM_FG_PK_001
    PRIMARY KEY
    (CIFG_CODE, CIFG_CCG_ID)
    USING INDEX
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    CONSTRAINT CM_ITEM_FG_UK_001
    UNIQUE (CIFG_CODE)
    USING INDEX
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    ALTER TABLE COSTMAN.CM_ITEM_FG ADD (
    CONSTRAINT CM_ITEM_FG_FK_001
    FOREIGN KEY (CIFG_CCG_ID)
    REFERENCES COSTMAN.CM_COST_GROUP (CCG_ID));
    <h4>CM_RECIPE</H4>
    ALTER TABLE COSTMAN.CM_RECIPE
    DROP PRIMARY KEY CASCADE;
    DROP TABLE COSTMAN.CM_RECIPE CASCADE CONSTRAINTS;
    CREATE TABLE COSTMAN.CM_RECIPE
    CR_ID NUMBER NOT NULL,
    CR_CCG_ID NUMBER,
    CR_EFF_FROM DATE,
    CR_CIFG_CODE VARCHAR2(10 BYTE) NOT NULL,
    CR_BOM_CODE VARCHAR2(50 BYTE),
    CR_QUANTITY NUMBER,
    CR_RMC NUMBER,
    CR_TOTAL_COST NUMBER,
    CR_GROSS_MARGIN NUMBER,
    CR_CR_BY VARCHAR2(32 BYTE),
    CR_CR_ON DATE,
    CR_UPD_BY VARCHAR2(32 BYTE),
    CR_UPD_ON DATE
    TABLESPACE COST_MANAGER
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE UNIQUE INDEX COSTMAN.CM_RECIPE_PK_001 ON COSTMAN.CM_RECIPE
    (CR_CCG_ID, CR_ID, CR_CIFG_CODE)
    LOGGING
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE UNIQUE INDEX COSTMAN.CM_RECIPE_UK_001 ON COSTMAN.CM_RECIPE
    (CR_ID)
    LOGGING
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE UNIQUE INDEX COSTMAN.CM_RECIPE_UK_002 ON COSTMAN.CM_RECIPE
    (CR_BOM_CODE)
    LOGGING
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE OR REPLACE TRIGGER COSTMAN."CM_RECIPE_T1"
    BEFORE INSERT ON "CM_RECIPE"
    FOR EACH ROW
    DECLARE
    L_ID NUMBER;
    BEGIN
    IF INSERTING THEN
    IF :NEW.CR_ID IS NULL THEN
    --SELECT CM_RECIPE_SEQ.NEXTVAL INTO L_ID FROM DUAL;
    :NEW.CR_ID := CM_RECIPE_SEQ.NEXTVAL; --L_ID;
    END IF;
    :NEW.CR_CR_ON := SYSDATE;
    :NEW.CR_CR_BY := nvl(v('APP_USER'),USER);
    END IF;
    IF UPDATING THEN
    :NEW.CR_UPD_ON := SYSDATE;
    :NEW.CR_UPD_BY := nvl(v('APP_USER'),USER);
    END IF;
    END;
    ALTER TABLE COSTMAN.CM_RECIPE ADD (
    CHECK ("CR_EFF_FROM" IS NOT NULL) DISABLE,
    CHECK ("CR_CCG_ID" IS NOT NULL) DISABLE,
    CHECK ("CR_QUANTITY" IS NOT NULL) DISABLE,
    CHECK ("CR_QUANTITY" IS NOT NULL) DISABLE,
    CHECK ("CR_QUANTITY" IS NOT NULL) DISABLE,
    CHECK ("CR_QUANTITY" IS NOT NULL) DISABLE,
    CHECK ("CR_QUANTITY" IS NOT NULL) DISABLE,
    CHECK ("CR_QUANTITY" IS NOT NULL) DISABLE,
    CONSTRAINT CM_RECIPE_PK_001
    PRIMARY KEY
    (CR_ID)
    USING INDEX
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    CONSTRAINT CM_RECIPE_UK_002
    UNIQUE (CR_BOM_CODE)
    USING INDEX
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    <h4>CM_RECIPE_ITEM</H4>
    ALTER TABLE COSTMAN.CM_RECIPE_ITEM
    DROP PRIMARY KEY CASCADE;
    DROP TABLE COSTMAN.CM_RECIPE_ITEM CASCADE CONSTRAINTS;
    CREATE TABLE COSTMAN.CM_RECIPE_ITEM
    CRI_ID NUMBER NOT NULL,
    CRI_CR_ID NUMBER NOT NULL,
    CRI_BOM_CODE VARCHAR2(50 BYTE) NOT NULL,
    CRI_CIFG_CODE VARCHAR2(10 BYTE) NOT NULL,
    CRI_CIRM_CODE VARCHAR2(10 BYTE) NOT NULL,
    CRI_SEQ NUMBER,
    CRI_QTY NUMBER,
    CRI_RM_COST NUMBER,
    CRI_CR_BY VARCHAR2(32 BYTE),
    CRI_CR_ON DATE,
    CRI_UPD_BY VARCHAR2(32 BYTE),
    CRI_UPD_ON DATE
    TABLESPACE COST_MANAGER
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE UNIQUE INDEX COSTMAN.CM_RECIPE_ITEM_PK_001 ON COSTMAN.CM_RECIPE_ITEM
    (CRI_ID)
    LOGGING
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE OR REPLACE TRIGGER COSTMAN."CM_RECIPE_ITEM_T2"
    BEFORE INSERT OR UPDATE ON "CM_RECIPE_ITEM"
    FOR EACH ROW
    BEGIN
    IF :NEW.CRI_CR_ID IS NULL THEN
    SELECT CR_ID INTO :NEW.CRI_CR_ID
    FROM CM_RECIPE
    WHERE CR_BOM_CODE = :NEW.CRI_BOM_CODE;
    END IF;
    END;
    CREATE OR REPLACE TRIGGER COSTMAN."CM_RECIPE_ITEM_T1" BEFORE
    INSERT OR UPDATE ON "CM_RECIPE_ITEM" FOR EACH ROW
    DECLARE
    L_ID NUMBER;
    SEQ NUMBER;
    BEGIN
    IF INSERTING THEN
    IF :NEW.CRI_ID IS NULL THEN
    SELECT CM_RECIPE_ITEM_SEQ.NEXTVAL
    INTO :NEW.CRI_ID
    FROM dual;
    END IF;
    :NEW.CRI_CR_ON := SYSDATE;
    :NEW.CRI_CR_BY := NVL(v('APP_USER'),USER);
    SELECT (NVL(MAX(CRI_SEQ),0)+1)
    INTO SEQ
    FROM CM_RECIPE_ITEM
    WHERE CRI_BOM_CODE = :NEW.CRI_BOM_CODE;
    :NEW.CRI_SEQ := SEQ;
    END IF;
    IF UPDATING THEN
    :NEW.CRI_UPD_ON := SYSDATE;
    :NEW.CRI_UPD_BY := NVL(v('APP_USER'),USER);
    END IF;
    END;
    ALTER TABLE COSTMAN.CM_RECIPE_ITEM ADD (
    CHECK ("CRI_RM_COST" IS NOT NULL) DISABLE,
    CHECK ("CRI_QTY" IS NOT NULL) DISABLE,
    CHECK ("CRI_SEQ" IS NOT NULL) DISABLE,
    CONSTRAINT CM_RECIPE_ITEM_PK_001
    PRIMARY KEY
    (CRI_ID)
    USING INDEX
    TABLESPACE COST_MANAGER
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    ALTER TABLE COSTMAN.CM_RECIPE_ITEM ADD (
    CONSTRAINT CM_RECIPE_FK_002
    FOREIGN KEY (CRI_CIRM_CODE)
    REFERENCES COSTMAN.CM_ITEM_RM (CIRM_CODE),
    CONSTRAINT CM_RECIPE_ITEM_FK_001
    FOREIGN KEY (CRI_CR_ID)
    REFERENCES COSTMAN.CM_RECIPE (CR_ID));
    Yogesh

  • Login page not showing "Unable to generate forwarding URL. Exception:"

    Dear All,
    I have install the EBS R12 on RHEL 5.5 64bit. All run fine some days but one day after restart there is a issue on database we rectify that DB issue but after that we are not able to get the login page. ALL application/DB node process are end with exiting with status 0. we have tried adautocfg.sh with status 0.
    still getting login page as blank.
    showing msg:
    Unable to generate forwarding URL. Exception: oracle.apps.fnd.cache.CacheException
    I got on file javacache.log . i think this is showing error logs.
    /u02/oracle/PROD/inst/apps/PROD_apex/logs/appl/rgf
    $ vi javacache.log
    showing issue:
    correct one :
    [2013-02-25T15:10:48.994+05:30] [ias] [NOTIFICATION] [] [cache.Lifecycle] [host: apex] [nwaddr: 192.168.0.4] [tid: 11] [userId: applmgr] [ecid: 1361785246:192.168.0.4:6700:0:2,2] JOC is initialized. ver=10.1.3, distribute=true, vid=2, coordinator=[192.168.0.4:61230, pos=0, uid=0, pri=0, def=prop:NA], discover list=[[192.168.0.4:12345, pos=-1, uid=0, name=, pri=0]]
    log having problem:
    [2013-03-01T14:40:52.083+05:30] [ias] [ERROR] [] [cache] [host: apex] [nwaddr: 192.168.0.4] [tid: 12] [userId: applmgr] [ecid: 1362129052:192.168.0.4:3933:0:102,2] [[
    oracle.apps.jtf.base.resources.FrameworkException
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:234)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:201)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:176)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:151)
    at oracle.apps.jtf.cache.GenericCacheLoader.load(GenericCacheLoader.java:87)
    at oracle.ias.cache.CacheLoader.callLoad(Unknown Source)
    at oracle.ias.cache.CacheHandle.findObject(Unknown Source)
    at oracle.ias.cache.CacheHandle.locateObject(Unknown Source)
    at oracle.ias.cache.CacheAccess.get(Unknown Source)
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:771)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    at oracle.apps.fnd.functionSecurity.User.getUser(User.java:338)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.getUser(FunctionSecurity.java:527)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1620)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188)
    at oracle.apps.fnd.functionSecurity.RunFunction.init(RunFunction.java:309)
    at RF.jspService(_RF.java:205)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.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:621)
    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.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)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: ORA-01410: invalid ROWID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
    ... 37 more
    Pls help in this case. I am novice in EBS.
    Thanks

    Hi Yoonas,
    while login page shwoing error "Unable to generate forwarding URL. Exception: oracle.apps.fnd.cache.CacheException "
    alert logs are fin no issue from db end all rectified. pls find the application.log.
    13/02/28 18:11:58.536 html: 10.1.3.4.0 Stopped
    13/03/01 10:54:24.412 10.1.3.4.0 Started
    13/03/01 10:54:34.841 html: 10.1.3.4.0 Started
    13/03/01 12:08:50.767 html: oracle.apps.fnd.security.LeakDetectionFilter.initialized:1362119930766
    13/03/01 12:08:50.767 html: LeakSetting:
    global:true,session:false,aggressive:false,stderr:false,appslog:false,corelog:false
    ignoring:null
    13/03/01 12:08:51.980 html: Servlet error
    java.lang.ExceptionInInitializerError
    at oracle.apps.fnd.sso.AppsLoginRedirect.doGet(AppsLoginRedirect.java:613)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    at oracle.apps.fnd.functionSecurity.User.getUser(User.java:338)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.getUser(FunctionSecurity.java:527)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1620)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188)
    at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:735)
    at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:791)
    at oracle.apps.fnd.sso.SSOManager.<clinit>(SSOManager.java:2191)
    ... 19 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: Failure in CacheLoader: oracle.apps.jtf.base.resources.FrameworkException
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:830)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    ... 26 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:234)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:201)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:176)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:151)
    at oracle.apps.jtf.cache.GenericCacheLoader.load(GenericCacheLoader.java:87)
    at oracle.ias.cache.CacheLoader.callLoad(Unknown Source)
    at oracle.ias.cache.CacheHandle.findObject(Unknown Source)
    at oracle.ias.cache.CacheHandle.locateObject(Unknown Source)
    at oracle.ias.cache.CacheAccess.get(Unknown Source)
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:771)
    ... 29 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: ORA-01410: invalid ROWID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
    ... 39 more
    13/03/01 16:02:42.161 html: 10.1.3.4.0 Stopped
    13/03/01 17:06:37.969 10.1.3.4.0 Started
    13/03/01 17:06:47.473 html: 10.1.3.4.0 Started
    13/03/01 18:00:40.903 html: 10.1.3.4.0 Stopped
    13/03/01 18:12:07.664 10.1.3.4.0 Started
    13/03/01 18:12:25.248 html: 10.1.3.4.0 Started
    13/03/01 18:34:41.921 html: oracle.apps.fnd.security.LeakDetectionFilter.initialized:1362143081921
    13/03/01 18:34:42.155 html: LeakSetting:
    global:true,session:false,aggressive:false,stderr:false,appslog:false,corelog:false
    ignoring:null
    13/03/01 18:57:48.659 html: 10.1.3.4.0 Stopped
    13/03/04 11:40:01.741 10.1.3.4.0 Started
    13/03/04 11:40:23.176 html: 10.1.3.4.0 Started
    13/03/04 12:09:47.660 html: oracle.apps.fnd.security.LeakDetectionFilter.initialized:1362379187660
    13/03/04 12:09:47.824 html: LeakSetting:
    global:true,session:false,aggressive:false,stderr:false,appslog:false,corelog:false
    ignoring:null

  • ADF: Problem with List and ListOfValues bindings

    In my page I have panelSplitter.
    In first facet I have panelCollection with ADF tree. For the tree definition I have Iterator binding, which contains the elements with no parent and one accessor, which define a recursive master-detail hierarchy. For the tree node I have specified TragetIterator property, that look up second iterator binding, which containes all tree elements (parents and their children).
    In second facet I have panelForm with input fields, based on second iterator binding. So when the user clicks on any node in the tree, it can see and edit in input fields the data for this node.
    In panelCollection I have placed two buttons to create a new node and to delete current node.
    By creation of new node I do the following:
    1) From currently selected node I get the value of one attribute named Code, which is alternate unique key;
    2) From second iterator binding I get the ViewObject, create a new Row and for the "parent" attribute I set the value derived from step 1.
    3) I rerender through PPR tree component and PanelForm with input fields.
    As result I have a new empty node in the tree and empty input fields in second facet, which must be populated and submitted (commited).
    My problem happens after I populate all fields in panelForm, when I commit changes (press Button with Commit action binding) and rerender page content. The exception, which is trown is listed below.
    I want to make the follwing additional remarks:
    1) My primary key in ViewObject is ROWID. I need this attribute to uniquely identify created new rows.
    2) The problem happens only when in panelForm I have field based on Model driven List or ListOfValues binding (<af:selectOneChoice> or <af:inputListOfValues>).
    When I create a new row the ADF BC assign to it one "dummy" ROWID (for example 317499) and after Commit this ROWID is replaced wtih actual ROWID from database. But I don't understand, why after commit of changes on the page the method findByKey of oracle.jbo.server.ViewObjectImpl is called with initial "dummy" ROWID (317499)?
    When there is no field based on List or ListOfValues binding, then there are no calls of findByKey method and there is no such problem.
    And that is the exception:
    2009-7-29 18:04:54 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: ADFc: ORA-01410: невалиден ROWID
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT OU.CODE, OU.NAME, OU.ABBREVIATION, OU.ORGUNIT_TYPE, OU.PARENT_UNIT, OU.IS_VALID, OU.ROWID FROM ORG_UNITS OU WHERE (OU.ROWID = :1)
         at oracle.jbo.server.BaseSQLBuilderImpl.processException(BaseSQLBuilderImpl.java:3837)
         at oracle.jbo.server.OracleSQLBuilderImpl.processException(OracleSQLBuilderImpl.java:4621)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1150)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:762)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:5681)
         at nsi.isbs.dmc.common.IsbsViewObjectImpl.executeQueryForCollection(IsbsViewObjectImpl.java:56)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1005)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1162)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1082)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1076)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:13994)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:13758)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:13752)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:4891)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:4679)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:4673)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:9456)
         at oracle.jbo.server.ApplicationModuleImpl.getListBindingName(ApplicationModuleImpl.java:8421)
         at oracle.adf.model.bc4j.DCJboDataControl.getListBindingName(DCJboDataControl.java:2244)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2366)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.getAttributeDefs(JUCtrlListBinding.java:2327)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:497)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:487)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isInternalAttributeUpdateable(JUCtrlValueBinding.java:3262)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1617)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1695)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isUpdateable(JUCtrlValueBinding.java:2512)
         at oracle.jbo.uicli.binding.JUCtrlListBinding.isUpdateable(JUCtrlListBinding.java:3357)
         at oracle.adfinternal.view.faces.model.AdfELResolver._isReadOnly(AdfELResolver.java:85)
         at oracle.adfinternal.view.faces.model.AdfELResolver.isReadOnly(AdfELResolver.java:101)
         at javax.el.CompositeELResolver.isReadOnly(CompositeELResolver.java:353)
         at com.sun.faces.el.FacesCompositeELResolver.isReadOnly(FacesCompositeELResolver.java:113)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:128)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:341)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:113)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase.decodeInternal(SimpleInputListOfValuesRendererBase.java:88)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:55)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:236)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
         at oracle.adf.view.rich.component.UIXInputPopup.processDecodes(UIXInputPopup.java:134)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
         at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.sql.SQLException: ORA-01410: невалиден ROWID
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:891)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3425)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1490)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1040)
         ... 104 more
    ## Detail 0 ##

    I have resolved my problem. I have changed the type of list binding to be Dynamic List (not Model Driven List).

  • Problem inserting a gif into a blob field in a table with sqldev / forms6i

    Problem solved - For those that might be interested, the errors don't make much sense - the problem was with the gif. Seems that these 28 gifs plus the new scans were saved from the scanner with
    GIF - LZW, Transparent color: 255
    Converting them to Black and white allowed them to be loaded.
    If anyone understands why, I'd like to know
    glenn
    I was previously having a problem deleting a row with a blob and it was suggested that I create the table using rowdependencies - which I did as follows.
    CREATE TABLE "MDD"."MDD_FIGURE2"
    (     "FG_FIGURENAME" VARCHAR2(18 BYTE),
         "FG_FIGURE" BLOB,
         CONSTRAINT "FG_FIGURENAME_NN" CHECK ("FG_FIGURENAME" IS NOT NULL) ENABLE
    ) ROWDEPENDENCIES;
    Then I copied my data from my previous table with the following - and everything came across
    INSERT INTO MDD_FIGURE2 (fg_figurename, fg_figure)
    SELECT FIG_FIGNAME, FIG_FIGURE FROM MDD_FIGURE;
    mdd_figure2 was then renamed to mdd_figure
    The table, Mdd_Figure, already contains some 2000+ .gifs that were successfully loaded with Forms 6i (yes, I know it is old, but I am stuck with having to use it). All the .gifs I am loading are from scans and all are less than 64k. However, 28 .gifs would not load. When I insert the .gif into the field and committed the form, the status message tells me a record was written but when I check it, the blob is empty.
    So, when I try to insert one of these problem .gifs in SqlDeveloper, I open the new mdd_figure table, select the blob field, open the edit dialog, set it to figure, select the .gif that I want to load and then save it. The blob field changes from NULL to BLOB, but it is empty. When I try to commit, I get the following error from SqlDev.
    UPDATE "MDD"."MDD_FIGURE" SET WHERE ROWID = 'AAAOeWAAEAAABAlAAz' AND ORA_ROWSCN = '358136842'
    One error saving changes to table "MDD"."MDD_FIGURE":
    Row 14: ORA-01410: invalid ROWID
    I use rollback to restore the record to it's previous state.
    If I load one of the successfully loaded .gifs into the same field, it loads perfectly as follows.
    UPDATE "MDD"."MDD_FIGURE" SET WHERE ROWID = 'AAAOeWAAEAAABAoAAp' AND ORA_ROWSCN = '358136522'
    Commit Successful
    It appears the 28 gifs have a problem. I've re-scanned them, with the same results. They are just small scanned line map images from our earlier publications. They view properly in several different graphics programs and I can't find anything wrong with them.
    I notice that the ROWID's are different while the ORA_ROWSCN's are the same - but what is the significance of that?
    Any suggestions as to what is happening and what I can do about it?
    Thanks for any help you can give me.
    glenn
    (Database is 10R2 and sqldev is the most recent one)
    Edited by: gconley on Sep 25, 2008 9:51 PM

    solved it myself - problem was with the gif

Maybe you are looking for

  • Authorization Issue with infotype

    Dear Guru's,          There are a couple of Customer IT that have been created. For which I have also assigned the authorization. But for some of these Infotypes though the user has no authorization he is able to access it.         Can you guys give

  • Added fields doesn't display in update rules

    I added new fields in the infocube and these fields are not getting displayed in left side pane of update rules to apply the logic. Can some one help me in this issue. Thanks in advance, Tony

  • Introduction of regular members of SQL and PL/SQL forum

    This thread introduces regular member of this forum(especially gurus)

  • How to query on a Multi-Select Picklist?

    With the Oracle Web Service, I'm having trouble trying to figure out why I am unable to query for a Lead using only a Custom MultiSelect Picklist that I have. The Multi-Select Picklist has 3 values: - Picklist 1 (ID: <No Values>) - Picklist 2 (ID: Pi

  • How to know if iam in tcode  creation or modif  inside abap  prog ?

    hello , i  want  to  know if there  is any things  that can  help  me to know  if  iam  in tcode  of creation (ME21N) o  modification (ME22N/ME23N) for  PO,  without using  sy-tcode inside a program of smartforms edition. thanks , karim