ORA-06502 error during dbms_mview.refresh

I created a Materialized view MV1 and refreshed using dbms_mview.refresh option and it worked.
dbms_mview.refresh (list => 'MV1', method => 'F');
My requirement is to refresh MV1 daily at 10.00 P.M. I created a procedure ( code attached below) to execute the dbms_mview.refresh and scheduled the procedure to run at 10.00 P.M.
I am getting the following error in a regular basis not always.
ORA-06502: PL/SQL: numeric or value error: raw variable length too long
Kindly do the needfull.
PACKAGE:
CREATE OR REPLACE PACKAGE BODY PKG_COMMON
AS
LOG EXCEPTIONS
PROCEDURE log (
p_package IN ttfa_log.package_name%TYPE DEFAULT NULL,
p_procedure IN ttfa_log.procedure_name%TYPE DEFAULT NULL,
p_log_priority IN ttfa_log.log_priority%TYPE DEFAULT 'INFO',
p_params IN ttfa_log.parameters%TYPE DEFAULT NULL,
p_line_number IN ttfa_log.line_number%TYPE DEFAULT NULL,
p_error_stack IN VARCHAR2 DEFAULT NULL,
p_error_backtrace IN VARCHAR2 DEFAULT NULL
IS
l_step PLS_INTEGER := 0;
l_log_date DATE;
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
l_step := 20;
l_log_date := sysdate;
l_step := 40;
INSERT INTO ttfa_log
( log_id
,log_date
,log_priority
,username
,package_name
,procedure_name
,line_number
,error_code
,log_message
,backtrace_tmp
,parameters
,partition_key
VALUES
( ttfa_log_id_seq.NEXTVAL
,l_log_date
,p_log_priority
,LOWER(USER)
,p_package
,p_procedure
,p_line_number
,SUBSTR( p_error_stack, 1, INSTR(p_error_stack,':') - 1 )
,substr(p_error_stack,1,4000)
,substr(p_error_backtrace,1,4000)
,p_params
,EXTRACT(MONTH FROM l_log_date)
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
RAISE_APPLICATION_ERROR(-20001, 'Error in pkg_ttfa_log.log ' ||chr(13) || 'Actual Error=>' ||DBMS_UTILITY.FORMAT_ERROR_STACK);
END log;
REFRESH MATERIALIZED VIEW
PROCEDURE refresh_mi_mvs
IS
BEGIN
-- Refresh Materialized View
BEGIN
dbms_mview.refresh (list => 'MV1', method => 'F');
EXCEPTION
WHEN OTHERS THEN
log (
p_package => 'PKG_COMMON'
,p_procedure => 'refresh_mvs'
,p_log_priority => 'ERROR'
,p_params => 'MV1'
,p_line_number => 40
,p_error_stack => DBMS_UTILITY.FORMAT_ERROR_STACK
,p_error_backtrace => DBMS_UTILITY.FORMAT_ERROR_BACKTRACE
ROLLBACK;
END;
EXCEPTION
WHEN OTHERS THEN
log (
p_package => 'PKG_COMMON'
,p_procedure => 'refresh_mi_mvs'
,p_log_priority => 'ERROR'
,p_params => 'Package Exception'
,p_line_number => 90
,p_error_stack => DBMS_UTILITY.FORMAT_ERROR_STACK
,p_error_backtrace => DBMS_UTILITY.FORMAT_ERROR_BACKTRACE
ROLLBACK;
END;
END PKG_TTFA_COMMON;

It impossible from what you have posted to know whether the issue is what you are passing to Oracle or what you have written yourself. Have your run a trace? If not that is the first step.
And when you post next ... a version number would be very helpful.

Similar Messages

  • Oracle Collaborate Suite ORA-6502 error during loging or form submitting

    Hi!
    I had Oracle Collaborate Suite ORA-6502 error during loging or form submitting:
    Internal error (WWC-00006)
    An unexpected error has occurred (WWS-32100)
    ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
    Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417)
    Error (WWS-20000)
    An unexpected error has occurred (WWS-32100)
    ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
    Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417).
    This happened when:
    I was using Russian letters in OCS HTML forms (for example - in Administration provision console or in my own HTML forms)
    and only I work in Linux (with UTF-8 encoding) (in Windows with win1251 encoding all is OK).
    My Database NLS not-null Parameters are:
    NLS_LANGUAGE      - AMERICAN
    NLS_LENGTH_SEMANTICS      - BYTE
    NLS_TERRITORY      - AMERICA
    NLS_CHARACTERSET - AL32UTF8
    NLS_NCHAR_CHARACTERSET - AL16UTF16
    WHAT MUST I DO TO AVOID THIS SITUATION?
    Thank
    Valery

    All,
    It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
    Again, the run error only occurred when the page was loaded in "Debug" mode.
    Bernard

  • ORA-12008: error in snapshot refresh path

    I am getting this error even i am specifying to use other rollback segment
    ALTER ROLLBACK SEGMENT R02 SHRINK;
    SET TRANSACTION USE ROLLBACK SEGMENT R02;
    alter materialized view PAY_REV_BREAKUPWITHWOFF NOLOGGING;
    BEGIN dbms_mview.refresh('PAY_REV_BREAKUPWITHWOFF') ; END;
    ERROR at line 1:
    ORA-12008: error in snapshot refresh path
    ORA-01562: failed to extend rollback segment number 1
    ORA-01628: max # extents (505) reached for rollback segment SYS_RBS
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 617
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 674
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 654
    ORA-06512: at line 1

    The reason why it's still using SYS_RBS seems to be that since you are refreshing a materialized view, it might be doing parallel DMLs. In this case the clause of specifying a particular rollback segment is ignored.
    In addition to the above, try taking the rollback segment offline by executing
    alter rollback segment SYS_RBS offline;
    and then drop it by running
    drop rollback segment SYS_RBS;
    Then create new one and see if it works.
    if the above mentioned doesn't work somehow...
    try to change the extents storage parameter by running
    alter rollback segment sys_rbs storage (MAXEXTENTS 1000);
    Can't be sure as i currently don't have access to my system
    Hope this helps
    Message was edited by:
    thrilller

  • ORA-04088: error during execution of trigger

    Error Description :
    We have more than 100 of records in a csv file which we are processing through a script. At the first execution let
    say it generates trigger exception for five records ... when I execute the script second time those five records
    are not throwing any exception but may be some other records. But consecutive trigger exception is not happening for any record . If a particular record is throwing exception at first attempt then in the second attempts it's not throwing the trigger exception.
    Input file
    PROPRTY_ID,NAME,OLD STREET,CITY,STATE,ZIP,NEW STREET,NEW CITY,NEW STATE,NEW ZIP
    88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812
    Error :
    88527091,SAM PAUL SUMMU ,1061 XYZ,CITY1,ST,95626,5512 XX YY ZZ,TOWN,PA,12345-9812 - PROPERTY Update Error : ORA-00001: unique constraint (PROD.PK_AUDIT_LOG) violated
    ORA-06512: at "PROD.PROPERTY_AUD", line 159
    ORA-04088: error during execution of trigger 'PROD.PROPERTY_AUD'
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> desc property
    Name                                      Null?    Type
    PROPERTY_ID                               NOT NULL NUMBER(20)
    TYPE_CODE                                          VARCHAR2(10)
    TYPE_PREFIX                                        VARCHAR2(10)
    DWELLING_TYPE_CODE                        NOT NULL VARCHAR2(10)
    DWELLING_TYPE_PREFIX                      NOT NULL VARCHAR2(10)
    STREET_NUMBER                                      VARCHAR2(25)
    STREET_DIRECTION                                   CHAR(2)
    STREET_NAME                               NOT NULL VARCHAR2(45)
    UNIT_NUMBER                                        VARCHAR2(15)
    CITY_CODE                                          VARCHAR2(10)
    STATE                                     NOT NULL CHAR(2)
    ZIP_CODE                                           VARCHAR2(10)
    UNIT_TYPE                                          VARCHAR2(10)
    UNIT_PREFIX                                        VARCHAR2(10)
    COUNTY_CODE                                        VARCHAR2(10)
    COUNTRY_CODE                              NOT NULL VARCHAR2(10)
    SQUARE_FEET                                        NUMBER(6)
    NUMBER_MOTHER_LAW_UNITS                            NUMBER(6)
    YEAR_BUILT                                         DATE
    PROPERTY_VALUE                                     NUMBER(12)
    ZIP_PLUS_4                                         VARCHAR2(4)
    SFI_REQ_FLAG                                       CHAR(1)
    LAST_MODIFIED                             NOT NULL DATE
    LAST_MODIFIED_BY                                   VARCHAR2(31)
    STANDARDIZED_STATUS                                VARCHAR2(10)
    STANDARDIZED_DESC                                  VARCHAR2(200)
    SQL> desc audit_log
    Name                                      Null?    Type
    SEQ_NO                                    NOT NULL NUMBER(20)
    TABLE_NAME                                         VARCHAR2(31)
    USER_STAMP                                         VARCHAR2(31)
    TIME_STAMP                                         DATE
    TRAN_CODE                                          CHAR(2)
    RECORD1                                            VARCHAR2(2000)
    RECORD2                                            VARCHAR2(2000)
    FLAG_FLD                                           CHAR(1)
    SFI_FLAG_FLD                                       CHAR(1)
    ERROR_NUMBER                                       NUMBER
    Update Query which is getting executed :
    UPDATE PROPERTY
    SET DWELLING_TYPE_CODE = 'SFR',
    DWELLING_TYPE_PREFIX = 'DWELLING',
    STREET_NUMBER = NULL,
    STREET_DIRECTION = NULL,
    STREET_NAME = ln_new_street_name,       -- <From input file>
    UNIT_NUMBER = NULL,
    CITY_CODE = ln_city_code,               -- <From other Table>
    STATE = ln_new_state,                   -- <From input file>
    ZIP_CODE = ln_new_zip_code,
    UNIT_TYPE = NULL,
    UNIT_PREFIX = NULL,
    COUNTY_CODE = ln_county_code,           -- <From Other table>
    COUNTRY_CODE = 1,
    ZIP_PLUS_4 = ln_zip_plus_4            -- <From Input file>
    WHERE PROPERTY_ID = ln_property_id;   -- <From Other table>
    *NOTE :* Property.LAST_MODIFIED field is auto populate through other trigger. It does not causing any problem.
    This might be helpful :
    SQL> select OWNER, CONSTRAINT_NAME, TABLE_NAME,COLUMN_NAME from dba_cons_columns where CONSTRAINT_NAME='PK_AUDIT_LOG';
    OWNER                          CONSTRAINT_NAME                TABLE_NAME  COLUMN_NAME
    PROD                           PK_AUDIT_LOG                   AUDIT_LOG          SEQ_NO
    PROD_ARCH                      PK_AUDIT_LOG                   AUDIT_LOG          SEQ_NO
    SQL> select SEQ_NO, trim(RECORD1), trim(RECORD2),TIME_STAMP
    from audit_log where RECORD1 like '%BUTTE%' order by  TIME_STAMP;
    SEQ_NO
    1675677212
    TRIM(RECORD1)
    00000000000031814095...SFR       .DWELLING  ...5512 BUTTE VIEW CT                           ..15532
        .CA.95765     ...1377      .1         .....5000..20100922.SUSMSAHA                       ..
    TRIM(RECORD2)
    00000000000031814095...SFR       .DWELLING  ...5512 BUTTE VIEW CT                           ..15532
        .CA.95765     ...1377      .1         .....5000..20100922.SUSMSAHA                       ..
    TIME_STAMP
    22-sep-2010
    Trigger Body which is fired and throwing the exception :
    create or replace trigger PROPERTY_AUD
    before insert or update on PROPERTY
    for each row
    declare
    rec1            varchar2(2000);
    rec2            varchar2(2000);
    tcode           char(1);
    ln_seq_id       NUMBER:=Null;
    ls_sql  VARCHAR2(2000):=Null;
    begin
    select temp_audit_seq.nextval into ln_seq_id from dual;
    rec1 := null;
    rec2 := null;
         if user = 'NONREP_USER' then
            return;
         end if;
         if (dbms_reputil.from_remote = FALSE) then
              :NEW.last_modified := sysdate;
              if (user = 'SALESFORCE_SYNC') then
                      :new.last_modified_by := NVL(:new.last_modified_by,USER);
              else
                   :new.last_modified_by := user;
              end if;
         end if;
    if inserting then
    rec1 :=
    LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
    RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
    RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
    RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
    RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
    RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.STATE, 2, ' ' ) || '.' ||
    RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
    RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
    LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
    LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
    TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
    LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
    RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
    RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
    TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
    RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
    RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
    RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
    tcode := 'I';
    elsif deleting then
    rec1 :=
    LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
    RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
    RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
    RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
    RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
    RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.STATE, 2, ' ' ) || '.' ||
    RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
    RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
    LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
    LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
    TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
    LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
    RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
    RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
    TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
    RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
    RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
    RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
    tcode := 'D';
    else
    rec1 :=
    LPAD(:old.PROPERTY_ID, 20, '0' ) || '.' ||
    RPAD(:old.TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:old.TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:old.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:old.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:old.STREET_NUMBER, 25, ' ' ) || '.' ||
    RPAD(:old.STREET_DIRECTION, 2, ' ' ) || '.' ||
    RPAD(:old.STREET_NAME, 45, ' ' ) || '.' ||
    RPAD(:old.UNIT_NUMBER, 15, ' ' ) || '.' ||
    RPAD(:old.CITY_CODE, 10, ' ' ) || '.' ||
    RPAD(:old.STATE, 2, ' ' ) || '.' ||
    RPAD(:old.ZIP_CODE, 10, ' ' ) || '.' ||
    RPAD(:old.UNIT_TYPE, 10, ' ' ) || '.' ||
    RPAD(:old.UNIT_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:old.COUNTY_CODE, 10, ' ' ) || '.' ||
    RPAD(:old.COUNTRY_CODE, 10, ' ' ) || '.' ||
    LPAD(:old.SQUARE_FEET, 6, '0' ) || '.' ||
    LPAD(:old.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
    TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
    LPAD(:old.PROPERTY_VALUE, 12, '0' ) || '.' ||
    RPAD(:old.ZIP_PLUS_4, 4, ' ' ) || '.' ||
    RPAD(:old.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
    TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
    RPAD(:old.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
    RPAD(:old.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
    RPAD(:old.STANDARDIZED_DESC, 200, ' ' );
    rec2 :=
    LPAD(:new.PROPERTY_ID, 20, '0' ) || '.' ||
    RPAD(:new.TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.DWELLING_TYPE_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.DWELLING_TYPE_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.STREET_NUMBER, 25, ' ' ) || '.' ||
    RPAD(:new.STREET_DIRECTION, 2, ' ' ) || '.' ||
    RPAD(:new.STREET_NAME, 45, ' ' ) || '.' ||
    RPAD(:new.UNIT_NUMBER, 15, ' ' ) || '.' ||
    RPAD(:new.CITY_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.STATE, 2, ' ' ) || '.' ||
    RPAD(:new.ZIP_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.UNIT_TYPE, 10, ' ' ) || '.' ||
    RPAD(:new.UNIT_PREFIX, 10, ' ' ) || '.' ||
    RPAD(:new.COUNTY_CODE, 10, ' ' ) || '.' ||
    RPAD(:new.COUNTRY_CODE, 10, ' ' ) || '.' ||
    LPAD(:new.SQUARE_FEET, 6, '0' ) || '.' ||
    LPAD(:new.NUMBER_MOTHER_LAW_UNITS, 6, '0' ) || '.' ||
    TO_CHAR(:new.YEAR_BUILT, 'YYYYMMDD') || '.' ||
    LPAD(:new.PROPERTY_VALUE, 12, '0' ) || '.' ||
    RPAD(:new.ZIP_PLUS_4, 4, ' ' ) || '.' ||
    RPAD(:new.SFI_REQ_FLAG, 1, ' ' ) || '.' ||
    TO_CHAR(:new.LAST_MODIFIED, 'YYYYMMDD') || '.' ||
    RPAD(:new.LAST_MODIFIED_BY, 31, ' ' ) || '.' ||
    RPAD(:new.STANDARDIZED_STATUS, 10, ' ' ) || '.' ||
    RPAD(:new.STANDARDIZED_DESC, 200, ' ' );
    tcode := 'U';
    end if;
    ls_sql :='
    INSERT INTO AUDIT_LOG
    ( seq_no,
    table_name,
    user_stamp,
    time_stamp,
    tran_code,
    record1,
    record2)
    VALUES
    ( :id,
    :s_table_name,
    :s_user_name,
    :d_sysdate,
    :s_tcode,
    :s_rec1,
    :s_rec2
    EXECUTE IMMEDIATE ls_sql
    USING ln_seq_id,
    'PROPERTY',
    user,
    sysdate,
    tcode,
    rec1,
    rec2;
    end;
    Your suggestion is highly appreciated ..
    Edited by: Bipul on Sep 23, 2010 12:40 AM

    TEMP_AUDIT_SEQ generates number with the increment of +1
    Although there seems other sequence populating the AUDIT_LOG table through a different sequence with the increment of +10. So till now there are already 1179 different numbers residing in audit_log.seq_no and yet to be generated by the TEMP_AUDIT_SEQ sequence. I will look into more details.
    SQL> select max(seq_no) from audit_log;
    MAX(SEQ_NO)
    1675689121
    SQL> select TEMP_AUDIT_SEQ.nextval from dual;
       NEXTVAL
    1675677285
    SQL> select count(*) From audit_log where seq_no>1675677285;
      COUNT(*)
          1179
    SQL> select count(*) from audit_log where seq_no>1675677283 and mod(seq_no,2)=1;
      COUNT(*)
          1179
    SQL> select seq_no from audit_log where seq_no>1675677283 and mod(seq_no,2)=1 and rownum<12;
        SEQ_NO
    1675677291
    1675677301
    1675677311
    1675677321
    1675677331
    1675677341
    1675677351
    1675677361
    1675677371
    1675677381
    1675677391
    11 rows selected.
    Thank you Lee and  Herald ten Dam   ...

  • ORA-06502 error on SQL tab

    I have just installed the latest version of SQL Developer (1.2.1.3213) and am running an Oracle 9i database (version 9.2.0.7).
    When I click on the SQL tab when looking at a table I get an ORA-06502 error and the DDL generated has "-- Unable to Render DDL with DBMS_METADATA using internal generator." at the top.
    I then get a whole host of other errors when using other parts of the program until I disconnect and reconnect.
    This error also occurs when I run the following query:
    select dbms_metadata.get_ddl('TABLE',table_name , user ) from user_tables;
    Any ideas?
    Incidentally prior to this release I had an early version 1 release of SQL Developer and the SQL tab here showed nothing at all.
    Any comments would be most appreciated.

    I am currently using v2.1.1.64, Build MAIN-64.45 and have the same or a similar problem. SQL developer will not generate the SQL code, but fails with the following error:
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ORA-06512: at "SYS.UTL_XML", line 0
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3688
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4544
    ORA-06512: at "SYS.DBMS_METADATA", line 466
    ORA-06512: at "SYS.DBMS_METADATA", line 640
    ORA-06512: at "SYS.DBMS_METADATA", line 1260
    ORA-06512: at line 1
    This installation doesn't have the same directory structure as in the previous reply, so I can't run the catmeta.sql script which doesn't exist in this release.
    Mike

  • ORA-06502 error when clicked on Lines tab in Oracle Service Contracts

    When i query for some contracts and click on Lines Tab,i get ORA-06502 error.
    This is not happenning with all contracts.My ICX: Numeric Characters profile is set to 10.000,00 but the user who created the contracts which were showing error message has ICX: Numeric Characters profile set to 10,000.00.
    If i change my profile option to this users profile option,then i am not getting error in these contracts but getting error when trying to view the contracts which were created by other users who's ICX: Numeric Characters profile is different from mine.
    Plz let me know how can i resolve this issue.
    Looking for your suggessions.
    Thanks,
    Ravi

    CRS Home is indicative of having Oracle clusterware installed. Is this a RAC cluster? Are you running on ASM? How many nodes? etc.
    Please fill in the blanks.

  • ORA-04045: errors during recompilation/revalidation

    I was applying catlog.sql and catproc.sql, but has some problem during it, and now, when I try to access a database in the sqlplus appear follow errors:
    ERROR:
    ORA-04045: errors during recompilation/revalidation of
    SYS.DBMS_APPLICATION_INFO
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 2
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 2
    Error accessing package DBMS_APPLICATION_INFO
    Someone know about it ??
    Thanks

    What went wrong during catalog and catproc ?
    Did you run out of space ? In that case just enable autoextension on the system tablespace datafile[s] and re-run catalog & catproc. Check the logfiles.
    regards,
    Ronald.
    http://ronr.nl/unix-dba

  • Oracle Java proc ORA-04045: errors during recompilation/revalidation

    hi,
    I have Oracle Java stored proc called MERGE_ENTITY_AND_EVENT invoked by a trigger. It was working fine for a couple of weeks. Today it throws this generic exception. I'm not sure what changed.
    Caused by: java.sql.SQLSyntaxErrorException: ORA-04045: errors during recompilation/revalidation of TLMDEV./3ba8073b_Log4JLogger
    ORA-06512: at "MERGE_ENTITY_AND_EVENT", line 1
    ORA-06512: at "QUOTE_TRIGGER", line 49
    1. What is the root cause of this exception ?
    2. Whats the solution ?
    If you dont know 1 or 2, how would you go about debugging this problem ?
    Thanks in advance.

    The most likely cause is that something has caused the class TLMDEV./3ba8073b_Log4JLogger to become invalid and implicit invalidation does not succeed in making it valid. In general a class must be valid in order to be run and an attempt to run an invalid class (such as because your trigger calls it) will cause an attempt to validate it and if that attempt fails an ORA-04045 can be the result. Validation of a class amounts to iterating over the set of names referenced by the class and looking for a valid class by that name, perhaps recursively attempting to validate if an invalid class by that name is found. So validation of a class may amount to an attempt to validate several classes at once. If any of them fail to be validatable, which occurs if there is no class for a given referenced name then most if not all of the classes in the set being validated and certainly the top level one will fail to validate. So if things are working correctly, the ultimate reason for the ORA-04045 will prove to be that some name referenced by TLMDEV./3ba8073b_Log4JLogger or recursived by something it references will be a name for which there is no class in the database (or more precisely in the search path used which is typically the current schema followed by PUBLIC, but could be different if some of the classes involved have had explicit resolver specifications given for them). The thing to do to try to start determining what class is missing is to do the query
    select owner||'.'||name||' : '||text from all_errors where type like 'JAVA%';
    The first thing to look at are lines for TLMDEV./3ba8073b_Log4JLogger. These will probably show text which contains either ORA-29534 identifying a referenced class that exists but could not be recursively valid, or ORA-29521 identifying names for which there is no class. The latter are the ultimately interesting ones since the former will end up being recursively caused by them. So look at the ORA-29521s and then try to determine either why the class is missing and how to restore it or which it is now referenced when it wasn't before (which would happen if some class was changed to reference it or something that references it, recursively).

  • ORA-04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD

    Hi,
    i am on 11.5.10.2 RHEL 4.0
    i tried running catalog.log on DB Tier as sys, but was not successful.
    later sqlplus apps/apps would start giving
    ORA-00604 : error occured at recursive SQL level 1
    ORA-04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    $sqlplus /nolog works fine... BUT
    $sqlplus conn /as sysdba HANGS!!!!
    Also logging via URL > after clicking on E-Business Home Page gives
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, changeOnOHSInstall and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    could anybody suggest on this error?
    Thanking You
    Regards,
    SK

    Thanks for your quick reply
    status of the object: INVALID
    PLSQL_V2_COMPATIBLITY is set to FALSE
    Run utlrp.sql to compile all invalid objects in the database
    it gave me error as follows:
    SQL> @utlrp.sql
    declare
    ERROR at line 1
    ORA -00604 : error occured at recursive SQL level 1
    ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    CREATE TABLE utl_recomp_invalid (obj# number)
    ERROR at line 1
    ORA -00604 : error occured at recursive SQL level 1
    ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    CREATE TABLE utl_recomp_sorted (obj# number, depth number)
    ERROR at line 1
    ORA -00604 : error occured at recursive SQL level 1
    ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    CREATE TABLE utl_recomp_compiled(obj# number)
    ERROR at line 1
    ORA -00604 : error occured at recursive SQL level 1
    ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    CREATE INDEX utl_recomp_comp_idx1 ON utl_recomp_compiled(obj#)
    ERROR at line 1
    ORA -00604 : error occured at recursive SQL level 1
    ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    CREATE TABLE utl_recomp_backup_jobs (command varchar2(100), status varchar2(1000))
    ERROR at line 1
    ORA -00604 : error occured at recursive SQL level 1
    ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    SELECT o.obj#, o.type#, o. owner# FROM obj# o
    ERROR at line 2
    ORA -00604 : error occured at recursive SQL level 1
    ORA - 04045 : errors during recompilation/revalidation of SYS.DBMS_STANDARD
    Edited by: mirage on Dec 4, 2008 6:45 PM

  • ORA-06502 - Error when running "Ask The Expert 0.9"

    Hi ,
    I successfully installed "Ask the Expert" package with Apex 3.0 on Oracle 10g Database 10.2.0.1.0. No error ocurred during the import in my Apex environment.
    Besides that, i'm having problems when i tried to run the "Aks the Expert". It always shows the following message errors:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Unable to write activity log.
    I think it was a problem with APEX instalation, but i could run the Sample Application of Apex without any problem.
    I opened an SR in Metalink, but to my surprise, the analist of support don't know what's wrong with the demo "Ask de Expert".
    The debug function of the application show the following commands before the error ocurrs:
    0.01:
    0.01: S H O W: application="103" page="1" workspace="" request="" session="6648566035252817"
    0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: NLS: CSV charset=WE8MSWIN1252
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -03:00
    0.02: NLS: Language=en-us
    0.02: Application 103, Authentication: CUSTOM2, Page Template: 667896385843019243
    0.02: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.02: ...ok to reuse builder session for user:nobody
    0.03: ...Application session: 6648566035252817, user=nobody
    0.03: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 103, page 1
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.03: Fetch application meta data
    0.04: Computation point: BEFORE_HEADER
    0.04: ...Perform computation of item: P1_CLEAN_CRITERIA, type=FUNCTION_BODY
    0.04: ...Performing function body computation
    0.06: ...Session State: Save "P1_CLEAN_CRITERIA" - saving same value: ""
    0.06: Processing point: BEFORE_HEADER
    0.06: ...Process "Read and Write Activity Cookie": PLSQL (BEFORE_HEADER) declare l_cookie_id number; begin owa_util.mime_header('text/html', FALSE); -- ate_api.read_activity_cookie; l_cookie_id := ate_api.fetch_activity_cookie_val( 'COOKIE_ID' ); -- if l_cookie_id is null then l_cookie_id :=
    Content-type: text/html; charset=ISO-8859-1 Set-Cookie: activity_ask_expert=1|2400346189796; expires=Wed, 01-Jan-2020 08:00:00 GMT; path=/;
    0.06: Encountered unhandled exception in process type PLSQL
    0.06: Show ERROR page...
    0.06: Performing rollback...
    Please, could any one help me to solve this problem ? Metalink couldn't help me diagnosing what's wrong.
    Thanks,
    Sergio Coutinho

    Hi,
    I don´t know if it help the analisis, but i collect some informations about my environment:
    1) HTML DB version
    3.0.1
    2) Database version
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    3) Database server operating system (as well, if 32-bit or 64-bit)
    Solaris 5.9 - 64 bits
    4) Database Parameters:
    PARAMETER VALUE
    NLS_CALENDAR GREGORIAN
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_COMP BINARY
    NLS_CURRENCY $
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_DUAL_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_LANGUAGE AMERICAN
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    NLS_RDBMS_VERSION 10.2.0.1.0
    NLS_SORT BINARY
    NLS_TERRITORY AMERICA
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    Could it explain why ASK THE EXPERT is running on hosted apex site and it´s
    generating error when running in my environment?
    Thanks for the help !
    Sergio

  • Error in DBMS_MVIEW.REFRESH

    Hi All,
    I am trying to refresh a materialized view 'APPS_TEST.LGC_SYSTEM_ITEM_MV'.
    The command I gave is -
    DMBS_MVIEW.REFRESH ('APPS_TEST.LGC_SYSTEM_ITEM_MV','f');
    However I am getting following error -
    ORA-00900:invalid SQL statement
    Can anyone please let me know what is incorrect with this?
    I am using SQL developer for this.
    Regards,
    Yash

    Yash wrote:
    Following code worked for me - begin
    DBMS_MVIEW.REFRESH('APPS_TEST.LGC_SYSTEM_ITEM_MV','F');
    end;
    I do not know why.Because that is valid syntax for invoking a PL/SQL procedure.
    You can do either
    begin
      proc;
    end;or
    exec proc;This will give you an invalid sql statement error.
    proc;Edited by: Jim Smith on Nov 20, 2012 10:34 PM

  • ORA-06502 error after SSO login

    Hi all.
    In our intranet i'm trying to use the AS 10g SSO
    as authentication with my HTML DB application.
    HTML DB is into a 9.2.0.4 database in a Alpha open VMS server.
    AS 10g infrastructure and AS 10g mid-tier on two difference Linux RedHat AS 2.1 servers.
    Infrastructure server: http://giedi.marinarinaldi.it:7779
    Mid-tier server: http://si.marinarinaldi.it:7778
    HTML DB application: http://si.marinarinaldi.it:7778/pls/htmldbSVIL/f?p=106:1
    I followed the related how-to document
    and the SSO login page shows correctly
    but when i click "login":
    Error     Error determining caller of process_success:l_owner::p_partner_app_name:HTML_DB Please contact administrator.
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    The SSO logi page is a our custom login page
    but it works perfectly with portal.
    The SSO partner application parameters:
    ID:     97F428BC
    Token:     4PW44GF797F428BC
    Encryption Key:     12E3971BE26C4E5D
    Login URL:     http://giedi.marinarinaldi.it:7779/pls/orasso/orasso.wwsso_app_admin.ls_login
    Single Sign-Off URL:     http://giedi.marinarinaldi.it:7779/pls/orasso/orasso.wwsso_app_admin.ls_logout
    Name:     HTML_DB
    Home URL: http://si.marinarinaldi.it:7778/pls/htmldbSVIL/f?p=106:1
    Success URL: http://si.marinarinaldi.it:7778/pls/htmldbSVIL/wwv_flow_custom_auth_sso.process_success
    Logout URL: http://si.marinarinaldi.it:7778/pls/htmldbSVIL/htmldb
    The parameters of regapp.sql script on the Alpha HTMLDB database:
    Enter value for listener_token: HTML_DB:si.marinarinaldi.it:7778
    Enter value for site_token: 4PW44GF797F428BC
    Enter value for site_id: 97F428BC
    Enter value for login_url: http://giedi.marinarinaldi.it:7779/pls/orasso/orasso.
    wwsso_app_admin.ls_login
    Enter value for cookie_version: v1.0
    Enter value for encryption_key: 12E3971BE26C4E5D
    Enter value for ip_check: N
    Thank you all in advance for help.

    SQL> select * from WWSEC_SSO_LOG$;
    1
    entry: papp_show_config
    05-AUG-04
    2
    IN papp_show_config: after the select.
    05-AUG-04
    3
    site name is 4PW44GF797F428BC
    05-AUG-04
    4
    exit: papp_show_config
    05-AUG-04
    5
    entry: urlencode
    05-AUG-04
    6
    encoded URL is http%3A%2F%2Fsi.marinarinaldi.it%3A7778%2Fpls%2FhtmldbSVIL%2Ff%3F
    p%3D106%3A1%3A6300852000501899701
    05-AUG-04
    7
    exit: urlencode
    05-AUG-04
    8
    entry: urlencode
    05-AUG-04
    9
    encoded URL is http%3A%2F%2Fsi.marinarinaldi.it%3A7778
    05-AUG-04
    10
    exit: urlencode
    05-AUG-04
    11
    entry: encrypt_url_cookie
    05-AUG-04
    12
    Before bake_site2pstore_token: listener token: HTML_DB:si.marinarinaldi.it:7778u
    rlcookie_version: v1.0papp_url_cookie: http%3A%2F%2Fsi.marinarinaldi.it%3A7778%2
    Fpls%2FhtmldbSVIL%2Ff%3Fp%3D106%3A1%3A6300852000501899701~http%3A%2F%2Fsi.marina
    rinaldi.it%3A7778enabler_config.site_token: 4PW44GF797F428BCkey: 12E3971BE26C4E5
    D
    05-AUG-04
    13
    entry: bake_site2pstore_token
    05-AUG-04
    14
    entry get_enabler_config
    05-AUG-04
    15
    site token is 4PW44GF797F428BC
    05-AUG-04
    16
    exit: get_enabler_config
    05-AUG-04
    17
    In hash string. Input is 308-05-2004 10:06:52
    05-AUG-04
    18
    In hash string. Input is ud)xc`8L`GJd~4PW44GF797F428BC~20040805100652~http%3A%2F
    %2Fsi.marinarinaldi.it%3A7778%2Fpls%2FhtmldbSVIL%2Ff%3Fp%3D106%3A1%3A63008520005
    01899701~http%3A%2F%2Fsi.marinarinaldi.it%3A7778
    05-AUG-04
    19
    temp site2pstoretoken is :ud)xc`8L`GJd~4PW44GF797F428BC~20040805100652~http%3A%2
    F%2Fsi.marinarinaldi.it%3A7778%2Fpls%2FhtmldbSVIL%2Ff%3Fp%3D106%3A1%3A6300852000
    501899701~http%3A%2F%2Fsi.marinarinaldi.it%3A7778~5169F5D95694EE7F4EEC7D80056B56
    A5
    05-AUG-04
    20
    entry: encrypt_des
    05-AUG-04
    21
    Key is: 12E3971BE26C4E5D
    05-AUG-04
    22
    before rpad
    05-AUG-04
    23
    pre mask: 503504C465CC51FDD7EBB62850973AF1503504C465CC51FDD7EBB62850973AF1503504
    C465CC51FDD7EBB62850973AF1503504C465CC51FDD7EBB62850973AF1503504C465CC51FDD7EBB6
    2850973AF1503504C465CC51FDD7EBB62850973AF1503504C465CC51FDD7EBB628
    05-AUG-04
    24
    post mask: 45FBB10E9AABB801ABAC1C861EBF9AE645FBB10E9AABB801ABAC1C861EBF9AE645FBB
    10E9AABB801ABAC1C861EBF9AE645FBB10E9AABB801ABAC1C861EBF9AE645FBB10E9AABB801ABAC1
    C861EBF9AE645FBB10E9AABB801ABAC1C861EBF9AE645FBB10E9AABB801ABAC1C86
    05-AUG-04
    25
    exit: bake_site2pstore_token
    05-AUG-04
    26
    After bake_site2_pstore_token. Value is: C061F10FBDDAACCB4A5B536D036656AF013D33B
    17261B66BD9C46A02004CF08081B0EB68834FA1594884A2088A6E1829A35EEA97ECF7B0F9B728B60
    B7DDEFEC846EA96CDB4208783B26F7DE976B3E7912554A8FA2B383EBF0C4221858C88B10A00A2789
    65C85703BEF6C3C1E3F069FF9C41059B5982CBADB7F662D481C9812EBCD7B44A7E24819CD152BB29
    9F2B40F08138F7DAE05BCC58CF87FECFA89B1BEE195FB2A314699AA2C8D406AC52FCE4F5B6DCE910
    A4B31714D99918BEC39E3E067BE031F5E9DF031192064B1ECAE0B100775AD76EF4D478844
    05-AUG-04
    27
    Redirect URL generated is : http://giedi.marinarinaldi.it:7779/pls/orasso/orasso
    .wwsso_app_admin.ls_login?site2pstoretoken=v1.0~97F428BC~C061F10FBDDAACCB4A5B536
    D036656AF013D33B17261B66BD9C46A02004CF08081B0EB68834FA1594884A2088A6E1829A35EEA9
    7ECF7B0F9B728B60B7DDEFEC846EA96CDB4208783B26F7DE976B3E7912554A8FA2B383EBF0C42218
    58C88B10A00A278965C85703BEF6C3C1E3F069FF9C41059B5982CBADB7F662D481C9812EBCD7B44A
    7E24819CD152BB299F2B40F08138F7DAE05BCC58CF87FECFA89B1BEE195FB2A314699AA2C8D406AC
    52FCE4F5B6DCE910A4B31714D99918BEC39E3E067BE031F5E9DF031192064B1ECAE0B100775AD76E
    F4D478844
    05-AUG-04

  • Version 3.1 fault - ORA-06502 error when creating SQL Report Region/Page

    I usually perfect my query in SQL*PLUS before I create a new report region.
    Consequently, I copy the code into the region wizard to create the new page. However, since we have upgraded to Version 3.1, virtually every report I have tried to create has created the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    It would appear that a maximum of 960 characters can be used to create the region/page. Perversely, once the page/region has been created, I can then edit the source and include as much code as I want (so far I've not run up against a limit)
    As it's just annoying, but not stopping me doing what I wanted to do, I've not got around to mentioning this error previously, but it occurred to me that I should (so I am!)
    David

    Hi David,
    Thank you for reporting this. Unfortunately, this was a regression introduced in Application Express 3.1. The workaround is to edit the region, as you suggested. This has been filed as Bug 6956070 and will be corrected in the forthcoming Application Express 3.1.1 patch set.
    Joel

  • ORA-00942 Error during unicode export of BI 7.0

    Hello Everyone,
    I am doing an export of a non-unicode BI 7.0 system to convert and import it into a Unicode database. All the jobs have passed except one and I see the following error in the log file (SAPAPPL0_3.log)
    /usr/sap/ABD/SYS/exe/run/R3load: START OF LOG: 20080302124247
    /usr/sap/ABD/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    /usr/sap/ABD/SYS/exe/run/R3load: version R7.00/V1.4
    Compiled Jun  9 2007 09:20:06
    /usr/sap/ABD/SYS/exe/run/R3load -e SAPAPPL0_3.cmd -datacodepage 4102 -l SAPAPPL0_3.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) WARN: UMGCONTAINER has 1 problems.
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 1100
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: active, by default
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (GSI) INFO: dbname   = "ABD20070922100908
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "ussbbdd5                                                        "
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "ussbbdd5"
    (GSI) INFO: release  = "B.11.23"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "ia64"
    (GSI) INFO: instno   = "INITIAL   "
    (EXP) ERROR: DbSlExeRead failed
      rc = 103, table "/BIC/SZTERR_CD"
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (DB) INFO: disconnected from DB
    /usr/sap/ABD/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/ABD/SYS/exe/run/R3load: END OF LOG: 20080302124251
    When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
    SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD '; 
    I did finish all the unicode preconversion steps and also ran the SMIGR_CREATE_DDL program. I had exported recently from the same system but I never got this error during that run.
    Another question is about the order in which the steps need to be performed. I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
    Thanks again for your help!

    Hello Stacy,
    > When I run the following command on /BIC/SZTERR_CD, I do not get any table information back. I am not sure how to fix it though.
    > SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = '/BIC/SZTERR_CD ';
    If the object does not exists on the source target database, please check if the ddic of sap still contains the table definition. (SE11 or SE14)
    If yes you can set the status of the table /BIC/SZTERR_CD to "ok" in the corresponding task file.
    You can not fix this problem in other way after you have started the conversion, because of the export files are already generated (with the information of the sap ddic)...
    > I completed the preconversion steps, then ran the SMIGR_CREATE_DDL program before proceeding to the export phase. Is this right or does it not matter?
    That was the right way.
    Regards
    Stefan

  • Ora-06502 error while running a form

    Hi
    DECLARE
    pl_id PARAMLIST;
    begin
         PL_ID:=GET_PARAMETER_LIST('TMP');
         IF NOT ID_NULL(PL_ID) THEN
              DESTROY_PARAMETER_LIST('TMP');
         END IF;
         PL_ID:=CREATE_PARAMETER_LIST('TMP');
         ADD_PARAMETER(PL_ID,'PARAMFORM','TEXT_PARAMETER','NO');
         /*ADD_PARAMETER(PL_ID,'Y_N','TEXT_PARAMETER',:L_CHOICE);
         add_parameter(pl_id,'WHERE','TEXT_PARAMETER',:TI_WHERE);
         add_parameter(pl_id,'ORDERBY','TEXT_PARAMETER',:TI_ORDERBY);*/
         RUN_PRODUCT(REPORTS,'LEXUSE1.REP',SYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL);
         EXCEPTION
              WHEN OTHERS THEN
              MESSAGE(SQLERRM);
              MESSAGE(' ');
    END;
    i am using the above code on when-button-pressed trigger to call a report, but when i press the button i get an error message ORA-06502 PL/SQL Numeric or Value Error. dont know why

    Remove single quotes around TEXT_PARAMETER
    ADD_PARAMETER(PL_ID,'PARAMFORM',TEXT_PARAMETER,'NO');

Maybe you are looking for

  • Unexpected error message when connecting iPod touch to mac

    Just recently i've started getting an alert from the Sophos anti-virus software i'm running. It only happens when I connect my iPod touch to the mac, and as far as i can see it's coming from the mobilesync backup. Any ideas if i should worry about th

  • How far outside the "38 cities" will 4G reach?

    I'm primarily asking about West Lafayette.  I live about 3-4 miles outside of West Lafayette in the city of Lafayette.  Does anyone know how far outside the "city limits" the 4G access will reach?  If I am able to get 4G speeds, I'll hold off on upgr

  • Route call based on source IP address

    Hello Guys, Is there a way to route calls based on source IP address? I want to redirect calls to specific queues based on the ip of the phone who's starting it. Any ideas? Thanks in advance. Filipe Leite                  

  • Change RAW to JPEG on Card

    Hi youall, I want to get thumbnails from my compact card inserted in the printer but I do most my pictures in RAW and the printer doesn't recognize a card with RAW pictures on it. I would be uploading first to my computer in order to keep the origina

  • Need step-by-step procedure for PR Release without classification

    Hi, Can any one please let me know the detailed/ step-by-step procedure for releasing a Purchase equisition without classification. Thanks, Prasuna.