Fatal and nonfatal errors

what are fatal and nonfatal errors can any body tell

If my memory serves me correctly fatal errors have an error level >25 and cannot be supressed by setting the :SYSTEM.MESSAGE_LEVEL wheras non fatal errors are more like information messages that can be supressed by upping the :SYSTEM.MESSAGE_LEVEL.
E.g FRM-40350 Query caused no records to be returned is an information message and has an error level of 5 so can be suppressed by setting :SYSTEM.MESSAGE_LEVEL := 10;

Similar Messages

  • INI instrument driver and fatal run time errors

    Hey everyone, I'm experimenting with the INI instrument driver and running into a fatal run time error.  Here's what I know so far:
    The runtime error only happens during the very first Ini_Putxxx
    It only happens if the target INI file does not yet exist.  After the file is created with a Ini_WriteToFile, then the program will proceed with all my Put functions without any errors.
    Ideas?
    Solved!
    Go to Solution.

    Are you sure about that? I just tried calling these functions in the Interactive Execution window without errors (the destination file wasn't there before the call and has been created without errors):
    #include "inifile.h"
    static int error = 0;
    static IniText T = 0;
    T = Ini_New (0);
    Ini_PutString (T, "General", "Item 1", "Test string");
    Ini_PutInt (T, "General", "Item 2", 123);
    Ini_PutDouble (T, "General", "Item 3", Pi ());
    error = Ini_WriteToFile (T, "C:\\test.ini");
    Ini_Dispose (T);
    Ini_PutXX functions do not make any disk access, they work entirely in memory; the only functions where the instrument accesses the disk are Ini_WriteToFile and Ini_ReadFromFile. Which error are you receiving? Can you post a sample code that exhibits the error?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Fatal NI connect error 12170 and TNS-12535: TNS:operation timed out

    We are getting intermittently following error.
    TNS for Solaris: Version 10.2.0.3.0 - Production
    Oracle Bequeath NT Protocol Adapter for Solaris: Version 10.2.0.3.0 - Production
    TCP/IP NT Protocol Adapter for Solaris: Version 10.2.0.3.0 - Production
    Time: 26-FEB-2008 07:17:25
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12606
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    sql net ora file
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    # NAMES.DEFAULT_DOMAIN = world
    SQLNET.EXPIRE_TIME = 10
    Out of 10,000 sucessful connections, some 10 connections are getting the 12170 and 12535 error. It is due to firewall connection time out ?
    Appreciate advanced help
    Prasad

    Hi ,
    Even I am facing similar issue. Please let me know if you have any resolutions for this

  • Rep-1401: formula name : Fatal Pl/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    Thanks for ur reply.
    I used nvl too, but the same error occurred.
    For the information in my question I by mistake typed
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error.
    but when the value of f_val = zero and s_val is zero why it gives fatal error when i divide, i used nvl on both the variable while dividing but still got the same error.
    but if s_val is greater than zero then no error occurs.
    please help me, I feel it is a bug.

  • Rep-1401 : Fatal PL/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    The best way to handle this is to just add an exception handler that handles a zero divide.
    EX:
    function...blah
    var3:=var/var2...
    EXCEPTION
    when zero_divide then
    var3:= 0;Zero Divide is a built-in exception to handle cases just like this - so if you run into it, you can set it to whatever you want

  • REP-1401:'cf_1formula': Fatal PL/SQL error occured, ORA-01403: no data fou

    hi,
    my report is giving error REP-1401:'cf_1formula': Fatal PL/SQL error occured,
    ORA-01403: no data found
    There are two table emp1 and emp2 created from employees table from HR schema
    I have deleted some records from table emp2 where department id is 110
    main query is
    select employee_id, first_name, department_id from emp1
    now i created a foumula column
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    return(dept);
    end;
    the above error is given when report is run. i tried
    exception
    when_no_data_found then
    dept:=000
    but problem is not solved
    i want to disply any number in this foumula column if the record is not found

    M. Khurram Khurshid wrote:
    exception
    when_no_data_found then
    dept:=000try this code in formula
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    if dept is not null then
    return(dept);
    else
    return 0;
    end if;
    end; Hope this will help you...
    If someone response is helpful or correct please, mark is accordingly.

  • REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal.

    Hi,
    I am running the report Journals - General (132 char)- file name GLRGNJ.rdf from
    Oracle Report Builder 6.0.8.11.3.
    I have commented all the (srw.user_exit) in the Before Report trigger but i still
    get the message:
    REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal,
    successful completion.
    Can anyone suggest a solution please?
    Thanks,
    Faris

    Dear sir, i am created one formula column in Reports6i and the following error has come. Could u please find out a solution. Thanks in advance.
    my function is below
    function CF_Branch_NameFormula return Char is
    lc_branch_name varchar2(100);
    begin
    SELECT rtrim(substr(FVT.DESCRIPTION
    ,instr(FVT.DESCRIPTION,'-',1)+1
    ,100)) INTO lc_branch_name
    FROM FND_FLEX_VALUES FFV, FND_FLEX_VALUES_TL FVT
    WHERE FFV.flex_value_Set_id = 1007956
    AND FFV.FLEX_VALUE_ID = FVT.FLEX_VALUE_ID
    AND FFV.FLEX_VALUE = FVT.FLEX_VALUE_MEANING
    AND FVT.DESCRIPTION <> 'xxx'
    and rownum<=1
    AND SUBSTR(FVT.FLEX_VALUE_MEANING,3,2) = :P_BRANCH;
    return (lc_branch_name);
    end;

  • REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found

    Hi guys,
    I am getting error 'REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found ' when run the report
    and i m also use formula column in my report.
    can any body help me why it's coming.
    following code is used in formula column plz check and verify:
    function CF_3Formula return Char is
    T1 VARCHAR2(100);
    begin
    SELECT
         VAT_REG_NO INTO T1
    FROM
         JA_IN_HR_ORGANIZATION_UNITS JIHOU,
         HR_LOCATIONS HL--,
         --MTL_TXN_REQUEST_HEADERS MTLH
    WHERE
    JIHOU.ORGANIZATION_ID=HL.INVENTORY_ORGANIZATION_ID AND
    JIHOU.LOCATION_ID=HL.LOCATION_ID AND
    --Jihou.ORGANIZATION_ID = Mtlh.Organization_Id AND
    -- Hl.INVENTORY_ORGANIZATION_ID =Mtlh.Organization_Id AND
    -- MTLH.ATTRIBUTE10=SUBSTR(HL.LOCATION_CODE,1,3) AND
    SUBSTR(HL.LOCATION_CODE,1,3)= :TO_ORG1 ;
    RETURN (T1);
    end;
    plz help me out.

    Hi;
    What is EBS version? Is it custom report or not?
    See below which is mention similar errors
    Autoinvoice Error: ORA-1403: no data found [ID 1209403.1]
    APXIIMPT - Payable Open Interface Import Fails on "REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred. ORA-01403: no data found" [ID 222058.1]
    Regard
    Helios

  • REP-1401: 'cf_10formula': Fatal PL/SQL error occurred. ORA-06502: PL/SQL: numeric or value error

    Hi Team,
    I am running one conc programme.
    After running I am getting below  error. I checked the issue on metalink  and other, seems that it is an size related issue. I have increased the size of formula columns and placeholdder too.
    But still getting issue.
    My requirement is to get comma seperated values using SQL query itself. Neither i wanted to create layout of the report , since it is a XML publisher report and nor  I am including it on RTF template.
    I want the CF_10 formula column to be populated with comma seperated values.
    MSG-00187: From Date 01-Sep-2014
    REP-1401: 'cf_10formula': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    And Here is my code for CF_10
    function CF_10Formula return Number is
    begin
       SELECT NVL(TO_CHAR(sum(Amount),'99,99,99,999'),0) into :CP_5 --NVL(ROUND(sum(Amount)),0) into :CP_5
    --  xxhw_Coll_cat(category)     "Intercat  Catg"
    FROM hhxw_Region_col_v
    WHERE Category IN ('Intercompany - CATV')
    AND trunc(gl_date) BETWEEN TO_DATE(:P_FROM_DATE, 'DD/MM/RRRR') AND TO_DATE(:P_TO_DATE, 'DD/MM/RRRR');
    RETURN ROUND(:CP_5);
    end;
    Anyone please suggest me.
    Regards,
    Sachin

    Hi,
    1)Why are you selecting the value into a report item? Select into a local variable and return that
    RETURN :CP_5 --> This one!!
    2)And you should avoid applying functions to DB columns in where clauses wherever possible, so oracle can use indexes on them if applicable:
    AND gl_date >= To_date(:P_FROM_DATE, 'DD/MM/RRRR')
    AND gl_date < To_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
    I think you are taking 2 column in the Layout CF_10 and CP_5 right? if so, then use below Query.
    FUNCTION cf_10formula
      RETURN NUMBER
    IS
      v_amount NUMBER:null;
    IS
    BEGIN
      BEGIN
        SELECT nvl(round(SUM(amount)), 0)
        INTO   v_amount --> Retruns the value for CF_10 column
        FROM   hhxw_region_col_v
        WHERE  category IN ( 'Intercompany - CATV' )
        AND    gl_date >= to_date(:P_FROM_DATE, 'DD/MM/RRRR')
        AND    gl_date < to_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
        :CP_5 := nvl(trunc(v_amount),0); --> Retruns the value for CP_5 column
      EXCEPTION
      WHEN OTHERS THEN
        v_amount := 0;
        srw.message(1003,'Error in Getting  :' ||p_from_date);
      END;
    END;
    And
    If you've got a number function returning into a number field then all you should need to do to make the comma appear is to change the number format mask in field.
    From 40000 to 40,000

  • REP-1401: 'no_daysformula':Fatal PL/SQL error occured. ora-06503: PL/SQL : Functio returned without value. REP-0619: You cannot run without a layout.

    Hi everyone.
    Can anyone tell me what is wrong in this code below?
    Code:
    function NO_DAYSFormula return Number is
    begin
      IF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
      AND :P_TO_DT<:MATURITY_DATE
      AND :ACCT_OPN_DT>:P_FR_DT
      THEN RETURN (:P_TO_DT-:ACCT_OPN_DT+1);
      ELSIF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
      AND :P_TO_DT<:MATURITY_DATE
      AND :ACCT_OPN_DT<:P_FR_DT
      THEN RETURN (:P_FR_DT-:P_TO_DT+1);
      ELSIF TO_CHAR(TO_DATE(:P_FR_DT, 'DD-MM-RRRR'), 'RRRR') =TO_CHAR(TO_DATE(:ACCT_OPN_DT, 'DD-MM-RRRR'), 'RRRR')
       AND :P_TO_DT>:MATURITY_DATE
       AND :ACCT_OPN_DT<:P_FR_DT
      THEN RETURN (:P_FR_DT-:MATURITY_DATE+1);
      END IF;
    END;
    It gets compiled successfully but when i run the report, i get 2 errors.
    Error 1:
    REP-1401: 'no_daysformula':Fatal PL/SQL error occurred.
    ora-06503: PL/SQL : Function returned without value.
    Error 2:
    REP-0619: You cannot run without a layout.
    Should i use only 1 return statement?
    Can i use as many return statements as i want?
    What is the exact mistake? Please let me know.
    Thank You.

    Let me clear you the first thing...
    If you get any fatal errors while running the report (e.g., function returned without value,no value etc.,) the report will show
    REP-0619: You cannot run without a layout.
    So you just correct the function 'no_daysformula' .
    First of all you run the report without that formula column.
    If it works fine then , Check the return value of your formula column (Your formula column properties --> Return value --> value (It will be DATE as i think so).
    As function will always return a single value, Check your formula 'no_daysformula' returns the same.
    declare a return variable say for example..
    DECLARE
    V_DATE DATE;
    BEGIN
    --YOUR CODE---
    RETURN V_DATE := (RETURN VALUE)
    END;
    Last but not least ... use Else condition to return (NULL or any value ) in your code and check..
    If any Problem persists let me know
    Regards,
    Soofi.

  • Fatal NI connect error 12547/12170

    Hi,
    I am stakk with connection problem on customer Oracle server. Oracle database is installed on Microsoft Windows Server 2012 Standard. Version of Oracle DB is 11.2.0.4 Standard One Edition.
    Oracle database works fine on server. I had no problems/errors while installing (as admin). My user is memer of Local Admin Group. I am also able to connect to it with sqlplus (sqlplus username/password@tns_alias) and SQL Developer.
    Content of tnsnames, listener og sqlnet files are following:
    tnsnames.ora
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))   )
        (CONNECT_DATA =  (SID = CLRExtProc) (PRESENTATION = RO)  )  )
    SALES =
      (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.9)(PORT = 1521))
      (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sales.company.se)))
    listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc) (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)  (ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll") )  )
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP)(HOST = servername.company.se)(PORT = 1521))
                                          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))))
    ADR_BASE_LISTENER = D:\oracle
    INBOUND_CONNECTION_TIMEOUT_LISTENER=180
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    SQLNET.INBOUND_CONNECT_TIMEOUT = 180
    ADR_BASE = D:\oracle\product\11.2.0\dbhome_1\log
    I am using VPN tunnel to connect to database from my client. I can ping server successfully. TNSPING to database works fine, but I am not able to connect to database. I get an error on client:
    ORA-12537 connection closed error.
    Alert log content is following:
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
      VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.2.0.4.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
      Time: 19-DEC-2013 13:01:47
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12547
    TNS-12547: TNS:lost contact
        ns secondary err code: 12560
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    opiodr aborting process unknown ospid (88) as a result of ORA-609
    2013-12-19 13:05:28.990000 +01:00
    Fatal NI connect error 12170.
      VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.2.0.4.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
      Time: 19-DEC-2013 13:05:28
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12535
    TNS-12535: TNS:operation timed out
        ns secondary err code: 12606
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
      Client address: <unknown>
    opiodr aborting process unknown ospid (2384) as a result of ORA-609
    2013-12-19 13:44:44.855000 +01:00
    opiodr aborting process unknown ospid (1292) as a result of ORA-609
    2013-12-19 14:30:34.351000 +01:00
    I supposed that connection could use some more time so I set inbound_connection to 180 (3 minutes). Same error.
    Then I turn on support trace. Here is analyzed content:
    server_4424.trc
    Trying to get IP client address results in error. Host IP is not correct.
    [19-DEC-2013 13:42:35:692] nsgetclientaddress: Client address: "(ADDRESS=(PROTOCOL=tcp)(HOST=::1)(PORT=53749))"
    [19-DEC-2013 13:42:35:692] nsgetclientaddress: exit
    [19-DEC-2013 13:42:35:692] nszgclient: entry
    [19-DEC-2013 13:42:35:692] nszgclient: using dedicated context
    [19-DEC-2013 13:42:35:692] nazsgsnm: entry
    [19-DEC-2013 13:42:35:692] nau_genm: entry
    [19-DEC-2013 13:42:35:692] nau_genm: exit
    [19-DEC-2013 13:42:35:692] nazsgsnm: failed with error 12630
    [19-DEC-2013 13:42:35:692] nazsgsnm: exit
    [19-DEC-2013 13:42:35:692] nszgclient: returning no username
    [19-DEC-2013 13:42:35:692] nszgclient: returning no username
    [19-DEC-2013 13:42:35:692] nszgclient: exit
    [19-DEC-2013 13:42:35:692] nszgetuser: entry
    [19-DEC-2013 13:42:35:692] nszgetuser: using dedicated context
    [19-DEC-2013 13:42:35:692] nazsgunm: entry
    [19-DEC-2013 13:42:35:692] nau_gnm: entry
    [19-DEC-2013 13:42:35:692] nau_gnm: exit
    [19-DEC-2013 13:42:35:692] nazsgunm: failed with error 12630
    Getting package from client. And when reached to @ we get EOF (daflag=64)
    [19-DEC-2013 13:42:35:724] nttfprd: exit
    [19-DEC-2013 13:42:35:724] nsbasic_brc: type=6, plen=10
    [19-DEC-2013 13:42:35:724] nsbasic_brc: what=1, tot =10
    [19-DEC-2013 13:42:35:724] nsbasic_brc: packet dump
    [19-DEC-2013 13:42:35:724] nsbasic_brc: 00 0A 00 00 06 00 00 00  |........|
    [19-DEC-2013 13:42:35:724] nsbasic_brc: 00 40                    |.@      |
    [19-DEC-2013 13:42:35:724] nsbasic_brc: Got EOF (daflag=64).
    [19-DEC-2013 13:42:35:724] nserror: entry
    [19-DEC-2013 13:42:35:724] nsbasic_brc: exit: oln=0, dln=0, tot=10, rc=-1
    [19-DEC-2013 13:42:35:724] nioqer: entry
    [19-DEC-2013 13:42:35:724] nioqer:  incoming err = 12151
    [19-DEC-2013 13:42:35:724] nioqce: entry
    [19-DEC-2013 13:42:35:724] nioqce: exit
    [19-DEC-2013 13:42:35:724] nioqer:  returning err = 3113
    [19-DEC-2013 13:42:35:724] nioqer: exit
    [19-DEC-2013 13:42:35:724] nioqrc: exit
    [19-DEC-2013 13:42:35:724] nioqds: entry
    [19-DEC-2013 13:42:35:724] nioqds:  disconnecting...
    Handshake never succeded. Client was trying to read from transport but never succeeded. I assume it is because of wrong or non Client address: "(ADDRESS=(PROTOCOL=tcp)(HOST=::1)(PORT=53749))"
    [19-DEC-2013 13:41:43:803] nscon: doing connect handshake...
    [19-DEC-2013 13:41:43:803] nscon: recving a packet
    [19-DEC-2013 13:41:43:803] nsprecv: entry
    [19-DEC-2013 13:41:43:803] nsprecv: reading from transport...
    [19-DEC-2013 13:41:43:803] nttrd: entry
    [19-DEC-2013 13:44:44:855] nttrd: exit
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: Read unexpected EOF ERROR on 2648
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nsprecv: error exit
    [19-DEC-2013 13:44:44:855] nserror: entry
    [19-DEC-2013 13:44:44:855] nserror: nsres: id=0, op=68, ns=12535, ns2=12606; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [19-DEC-2013 13:44:44:855] nscon: error exit
    [19-DEC-2013 13:44:44:855] nsdo: nsctxrnk=0
    [19-DEC-2013 13:44:44:855] nsdo: error exit
    [19-DEC-2013 13:44:44:855] nsinh_hoff: error recving request
    [19-DEC-2013 13:44:44:855] nsclose: entry
    [19-DEC-2013 13:44:44:855] nsvntx_dei: entry
    [19-DEC-2013 13:44:44:855] nsvntx_dei: exit
    [19-DEC-2013 13:44:44:855] nstimarmed: entry
    [19-DEC-2013 13:44:44:855] nstimarmed: no timer allocated
    [19-DEC-2013 13:44:44:855] nstimarmed: normal exit
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: entry
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: ATO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: STO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: RTO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: PITO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoUpdateActive: entry
    [19-DEC-2013 13:44:44:855] nstoUpdateActive: Active timeout is -1 (see nstotyp)
    [19-DEC-2013 13:44:44:855] nstoDestroyAlarm: entry
    [19-DEC-2013 13:44:44:855] nstoDestroyAlarm: exit (0)
    [19-DEC-2013 13:44:44:855] nttctl: entry
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: soc -1 error - operation=7, ntresnt[0]=530, ntresnt[1]=38, ntresnt[2]=0
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nttctl: entry
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: soc -1 error - operation=7, ntresnt[0]=530, ntresnt[1]=38, ntresnt[2]=0
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nsfull_cls: entry
    [19-DEC-2013 13:44:44:855] nsfull_cls: cid=0, opcode=65, *bl=0, *what=0, uflgs=0x0, cflgs=0x40
    [19-DEC-2013 13:44:44:855] nsfull_cls: nsctx: state=1, flg=0x4000, mvd=0
    [19-DEC-2013 13:44:44:855] nsbfr: entry
    After 180 sec Oracle net sends following message:
    [19-DEC-2013 13:44:44:855] nsclose: normal exit
    [19-DEC-2013 13:44:44:855] nserror: entry
    [19-DEC-2013 13:44:44:855] nserror: nsres: id=0, op=73, ns=12535, ns2=12606; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [19-DEC-2013 13:44:44:855] nsinherit: error exit
    [19-DEC-2013 13:44:44:855] nioqper:  error from nsinherit: failed...
    [19-DEC-2013 13:44:44:855] nioqper:    ns main err code: 12535
    [19-DEC-2013 13:44:44:855] nioqper:    ns (2)  err code: 12606
    [19-DEC-2013 13:44:44:855] nioqper:    nt main err code: 0
    [19-DEC-2013 13:44:44:855] nioqper:    nt (2)  err code: 0
    [19-DEC-2013 13:44:44:855] nioqper:    nt OS   err code: 0
    [19-DEC-2013 13:44:44:855] niotns: No broken-connection function available.
    [19-DEC-2013 13:44:44:855] niomapnserror: entry
    [19-DEC-2013 13:44:44:855] niqme: entry
    [19-DEC-2013 13:44:44:855] niqme: reporting NS-12535 error as ORA-12535
    [19-DEC-2013 13:44:44:855] niqme: exit
    [19-DEC-2013 13:44:44:855] niomapnserror: exit
    [19-DEC-2013 13:44:44:855] niotns: Couldn't connect, returning 12170
    [19-DEC-2013 13:44:44:855] nioqer: entry
    [19-DEC-2013 13:44:44:855] nioqer:  incoming err = 12170
    [19-DEC-2013 13:44:44:855] nioqce: entry
    [19-DEC-2013 13:44:44:855] nioqce: exit
    [19-DEC-2013 13:44:44:855] nioqer:  returning err = 3136
    Firewall is off on Server. Network administrator says that there is no rules which could compromise communication/traffic on port 1521. I tried trcroute too and I get following conntent
    1     27ms      22 ms     17ms       192.168.97.1
    2      *         *        *          request aborted
    3     20 ms     18 ms     18 ms      server.company.se (192.168.1.9)
    Any suggestion, help or comments would be appriciated. I am running out of ideas.
    Tnx a lot,
    adi

    The error could be due to a port change/reconnect/redirect that fails.
    The problem: Listener.exe is a separate physical process image in the kernel as the Oracle.exe process. The Listener needs to start an Oracle dedicated server process (created by the Listener as a remote thread in the oracle.exe process). Then it needs to pass the socket handle (created when the Listener accepted the tcp connection of the client) to this thread in another physical process - in order for that thread to continue tcp comms with the client.
    This is not by default supported in Windows as I understand (always wrote a single threaded exe myself with the main thread acting as listener and child threads as dealing with client sessions, when developing Win32 tcp servers).
    On Unix/Linux it is fairly common  to pass the socket handle as stdin and stdout to a forked child process (a separate physical process).
    If the socket handle cannot be passed from the listener.exe to oracle.exe, then the oracle.exe thread could open a private port as tcp listening end-point and inform, via the Listener, the client to reconnect to that tcp port (i.e. SQL*Net on client gets a redirect).
    You will need to determine whether this is happening - as it would explain the initial successful tcp connect from client to Listener, followed by the tcp connection failing to the Oracle dedicated server process.
    Not sure how one checks on Windows - have last done Oracle on Windows back with Oracle 7.1. But I think there are support notes on this.
    I would use netstat myself on Linux/Unix - and list the ports used by client and server for the connection, and determine if a private/dynamic port was used to continue the client-server tcp communication as a renegotiated tcp session. netstat is also available on Windows and can be used in a similar fashion too.

  • Reg. Fatal pl/sql error

    Hi All,
    When i run my report with passing '%' or 'ALL' in customer code parameter field for all customer, it shows following error in one of my formula column :
    Formula column name : cf_remark
    Error:
    'cf_remark':Fatal PL/SQL error occured
    ora-06502:PL/SQL:numeric or value error
    it is running fine when i pass single cutomer code into customer code parameter field.
    formula column Code is as follows :
    function CF_remark return Char is
    VAR varchar(20);
    BEGIN
    --     BEGIN
    if :cf_duedays > 0 then
    var := 'OVERDUE';
    -- else
         --var := null;
    END IF;
    return(var);
    end;
    Please provide some inputs :
    Thks and Regards
    Shailesh
    Edited by: user3267954 on Jan 1, 2010 1:34 AM

    hi,
    check u r formula column "cf_remark " property data type should be CHAR .
    if u selected number or date it will gives the error.
    otherwise send the code :cf_duedays also

  • Fatal pl/sql Error

    Hi am facing a problem in reports.The error is like this
    REP-771: 'afterpform': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    Plz guide me how to solve this problem.And tell me whrn will this error occur.
    regards
    Pradeep

    Error: ORA 1403
    Text: no data found
    Cause: In a host language program, all records have been fetched.
    The return code from the fetch was +4, indicating that all records
    have been returned from the SQL query.
    Action: Terminate processing for the SELECT statement.
    Or Maybe it is a bug .Please refer to Known Bugs:
    Fixed In. Bug No. Description
    2.1.5 Bug 240820 ORA 1403 IF FUNCTION CONTAINING DECODE IS CALLED IN SQL
    (Base bug is Bug 221231)
    2.3.3 Bug 334538 FETCH INTO ELEMENT OF PLSQL-TABLE OF RECORDS FAILS

  • REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.

    Hi all,
    I am using the barcodes example which is on otn.
    I am getting the result on the development side which is my local set-up. (windows-2000) and i am using Report Builder 9.0.4.0.21.
    I am able to see the barcode.
    If i try the same thing on my deployment side which on my AS(Application server) which on UNIX platform .
    I am getting the below error....
    REP-1401: 'CF_1FORMULA0031': Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    I had gone thru metalinks and i found few docks saying change of width of file_name
    I am enclosing the details
    the below is the change i did in rep_<server>.conf
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000" classPath="$ORACLE_HOME/reports/jlib/oraclebarcode.jar">
    and i had made an entry in reports.sh as mentioned in one of the docs in metalinks.
    and i had changed the width of
    myfilename varchar2(20);
    to
    myfilename varchar2(256);
    and CF_1 width to same
    The code in
    function CF_1FORMULA0031 return Char is
    myfilename varchar2(256);
    result varchar2(20);
    barcodeData VarChar2(50) := :order_ID;
    begin
         myFileName := srw.create_temporary_filename;
    barcodemaker.setBarWidthInch(globals.bcobj, 0.005);
    barcodemaker.setBaseCodeData(globals.bcobj,barcodeData);
    barcodemaker.setBarCodeType(globals.bcobj,globals.barcode_to_use);
    myfilename := barcodeData;
    barcodemaker.setFullPath(globals.bcobj, myFileName);
    barcodemaker.renderBarCode(globals.bcobj);
    return(myfilename);
    end;
    and i had opened the trace on and my trace says the below....
    [2004/4/9 8:10:50:171] Debug 50103 (EngineManager:spawnEngine): Start engine command line = $ORACLE_HOME/bin/rwengine.sh -server -cp $ORACLE_HOME/reports/jlib/oraclebarcode.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar -Xbootclasspath/p:$ORACLE_HOME/vbroker4/lib/vbjboot.jar -Duser.language=en -Duser.region=US -Xmx256M oracle.reports.engine.RWEngine name=rwEng-0 server=rep ORACLE_HOME=/ora10g engineimplclass=oracle.reports.engine.EngineImpl traceopts=trace_all tracefile=$ORACLE_HOME/reports/logs/rep/rwEng-0.trc tracemode=trace_replace cacheDir=$ORACLE_HOME/reports/cache
    which means the server is picking the jar files....
    can any one tell me what can be the issue......
    Advise me at the earliest................
    cheers,
    ALI

    Hi Aamir,
    The problem is that divisor by 0 (zero) is not possible.
    So you need to make sure that in your calculation there's no division by zero.
    In your case :bugamt is equal to zero then you will get this error.
    So just make sure that :bugamt is not equal to zero.
    You can do this as follows:
    function avggFormula return Number is begin
    IF :bugamt != 0 THEN
    :cp_1 := (:bugamt-nvl(:totexp,0)/:bugamt)*100 ;
    END IF;
    return(:cp_1);
    end;
    Regards
    Arif

  • REP-1401: 'cf_changetotalformula': Fatal PL/SQL error occurred.

    The program is finding no data in some place and is erroring out.
    when i run the report i get the following error
    REP-3000: Internal error starting Oracle Toolkit.
    MSG-00010: EC installation status I
    MSG-00003: Calling the archiving routine with parameters PO, STANDARD, 6677
    REP-1401: 'cf_changetotalformula': Fatal PL/SQL error occurred.
    ORA-01403: no data found
    The following is the program
    function CF_ChangeTotalFormula return Number is
    v_maxrev number:=0;
    v_result_final number :=0;
    v_changes_to_curr varchar2(2000);
    v_changes_to_prev varchar2(2000);
    v_OriginalPOAmount varchar2(2000);
    v_changes_from varchar2(2000);
    v_changes_to varchar2(2000);
    v_seq number ;
    v_rev_num number ;
    v_para varchar2(100);
    begin
         select icx_po_history_details_s.nextval into v_seq from dual;
    select max(revision_num) into v_rev_num from apps.po_lines_archive where po_header_id =:poh_po_header_id;
    for i in 1 .. v_rev_num loop
                        if v_rev_num >1 then
                                  v_para := null;
                        else
                                  v_para := 'ORIGINAL';
                        end if;
                   begin
                             pos_revision_differences.compare_headers(:poh_po_header_id,null,i,v_para,v_seq);
                             exception
                                  when others then
                                  return 0;
                             end;
    end loop;
    Select sum(pol.unit_price*pol.quantity) OriginalPOAmount
    into v_OriginalPOAmount
    from apps.po_lines_archive pol
    where pol.revision_num = 0
    and po_header_id = :poh_po_header_id
    group by pol.po_header_id;
    select max(revision_num)
    into v_maxrev
    from apps.po_lines_archive
    where po_header_id = :poh_po_header_id;
    if v_maxrev > 1 then
    select distinct a.changes_to
    into v_changes_to_curr
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = v_maxrev
    and a.changes_from <> v_OriginalPOAmount;
    if v_maxrev-1 <> 1 then
    select distinct a.changes_to
    into v_changes_to_prev
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = v_maxrev-1
    and a.changes_from <> v_OriginalPOAmount;
    else
    select distinct a.changes_to
    into v_changes_to_prev
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = 1;
    end if;
    v_result_final := v_changes_to_curr - v_changes_to_prev;
    else
    select distinct a.changes_from,a.changes_to
    into v_changes_from,v_changes_to
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = 1;
    v_result_final := v_changes_to - v_changes_from ;
    end if;
    return v_result_final;
    /* exception
                   when others then
                   return 0; */
    end;
    Can anyone shed a light on this.
    thanks
    kalpana

    The program is finding no data in some place and is erroring out.
    when i run the report i get the following error
    REP-3000: Internal error starting Oracle Toolkit.
    MSG-00010: EC installation status I
    MSG-00003: Calling the archiving routine with parameters PO, STANDARD, 6677
    REP-1401: 'cf_changetotalformula': Fatal PL/SQL error occurred.
    ORA-01403: no data found
    The following is the program
    function CF_ChangeTotalFormula return Number is
    v_maxrev number:=0;
    v_result_final number :=0;
    v_changes_to_curr varchar2(2000);
    v_changes_to_prev varchar2(2000);
    v_OriginalPOAmount varchar2(2000);
    v_changes_from varchar2(2000);
    v_changes_to varchar2(2000);
    v_seq number ;
    v_rev_num number ;
    v_para varchar2(100);
    begin
         select icx_po_history_details_s.nextval into v_seq from dual;
    select max(revision_num) into v_rev_num from apps.po_lines_archive where po_header_id =:poh_po_header_id;
    for i in 1 .. v_rev_num loop
                        if v_rev_num >1 then
                                  v_para := null;
                        else
                                  v_para := 'ORIGINAL';
                        end if;
                   begin
                             pos_revision_differences.compare_headers(:poh_po_header_id,null,i,v_para,v_seq);
                             exception
                                  when others then
                                  return 0;
                             end;
    end loop;
    Select sum(pol.unit_price*pol.quantity) OriginalPOAmount
    into v_OriginalPOAmount
    from apps.po_lines_archive pol
    where pol.revision_num = 0
    and po_header_id = :poh_po_header_id
    group by pol.po_header_id;
    select max(revision_num)
    into v_maxrev
    from apps.po_lines_archive
    where po_header_id = :poh_po_header_id;
    if v_maxrev > 1 then
    select distinct a.changes_to
    into v_changes_to_curr
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = v_maxrev
    and a.changes_from <> v_OriginalPOAmount;
    if v_maxrev-1 <> 1 then
    select distinct a.changes_to
    into v_changes_to_prev
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = v_maxrev-1
    and a.changes_from <> v_OriginalPOAmount;
    else
    select distinct a.changes_to
    into v_changes_to_prev
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = 1;
    end if;
    v_result_final := v_changes_to_curr - v_changes_to_prev;
    else
    select distinct a.changes_from,a.changes_to
    into v_changes_from,v_changes_to
    from icx_po_revisions_temp_v a
    where a.header_id = :poh_po_header_id
    and a.field_altered = 'Amount'
    and a.revision_num = 1;
    v_result_final := v_changes_to - v_changes_from ;
    end if;
    return v_result_final;
    /* exception
                   when others then
                   return 0; */
    end;
    Can anyone shed a light on this.
    thanks
    kalpana

Maybe you are looking for