REP-1401 in 9.0.2.3 reports builder on Linux

Hi,
I am trying to make use of the 2d barcode jarfile provided by IDAutomation. when I try to incorporate it into one of my reports I am consistently getting:
REP-1401: 'cf_2d_barcodeformula': Fatal PL/SQL error occurred.
ORA-39565: Message 39565 not found: product=RDBMS; facility=ORA
I am able to make it work in the 10g version of Reports developer (on linux also), but my client is unable to move to 10g immediately.
In both cases my REPORTS_CLASSPATH is set in reports.sh, I have a valid DISPLAY setting. In the 9i version I have added the classPath entry to the report conf file with no success, In 10g it worked without this though.
The 9i version has been patched up to 9.0.2.3.
Are ther any workarounds/fixes for this issue, apart from moving to 10g?
Many Thanks in advance
Ruchit Khimasia

Has anyone had any issues with upgrading from a different OS (like Windows) to Linux and trying to print reports directly to the printer? I've had nothing but issues with it. I know others are using the feature but, I just haven't figured it out.
When I send it via the command line, I get this message below. I'm working with Oracle Support on this. I've got default printer setup as my network printer. I can print a document via the command line to my printer but when I submit an Oracle Report command, I get errors like below.
[as10g@inxx37 bin]$ ./rwrun.sh report=/u11/app/as10g/ybs/bin/test.rdf destype=printer
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0x01c4d4d3, pid=21730, tid=103095184
# Java VM: Java HotSpot(TM) Server VM (1.4.2_14-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x704d3] strrchr+0xa3
# An error report file with more information is saved as hs_err_pid21730.log

Similar Messages

  • Rep-0002 : unable to retrive string from report builder message file

    rep-0002 : unable to retrive string from report builder message file
    i'm using developer/2000 ver 2.1 and my reports running under win95 platform and i'm using client/server techneque, when i start to distribute my reports to my users on their machines i got the above message , and i have to recompile all of my RDF files again on every user machine. this not all my story , but after some period may be 2 months these reports start to give the same message , again i must recompile all my RDF on every user machine.
    please if any one have a solution for this mazing problem.
    thank you.
    [email protected]

    bogdom and gaben,
    I belong to your club too it seems. Though in my case the compilation was required on each database. Report used to work in the only that database in which they were compiled. Connecting to other database used to give this string error. Moreover this problem existed only for those reports in which i had used PL/SQL code in the formula columns. One way to avoid this is by writing all PL/SQL code in a library and call it in the formula column calculations.
    null

  • Report Builder on Linux?

    Hi Everyone,
    Is it possible to run a version of Oracle report builder in linux? Currently right now I am running Reports 6i in Windows XP. I've found a way to run all my other apps in linux and have switched over except for a couple of Oracle apps. The main ones being Reports and Workflow Builder.
    I remember there was a way to run Forms builder in Solaris not sure if there was a same version like that for Reports builder.
    Thanks.

    hi ,
    The oracle report builder will work on linux operating system also.

  • How to start Oracle Report Builder in Linux

    Hi all
    Can someone please help by telling how can i start Oracle Report Builder in Linux????
    Thank you and best regards to all

    Hello,
    there should be a script rwbuilder.sh
    in ORACLE_HOME/bin for 10.1.2.
    in ORACLE_INSTANCE/config/reports/bin for 11g
    Of course, you need to have a "X Display Server " up and running and the variable DISPLAY must be set to this "X Display Server "
    Example :
    export DISPLAY=123.456.789.12:0
    $ORACLE_HOME/bin/rwbuilder.sh
    Regards

  • REP-56048: Engine rwEng-0 crashed sending reports to printer Linux

    Hi,
    I was wondering if anyone had any ideas of things I could try to get around this error in Oracle 10g (10.1.2.3) on Linux:
    Terminated with error: REP-56048: Engine rwEng-0 crashed
    I'm receiving it when I send a report directly to the printer (DESTYPE=printer DESFORMAT=blank DESNAME=printer name. When I run it locally on my Windows Machine, the command works and my report prints direclty to the printer fine. It's only when I go to Linux that I have issues. I get the above error. I've read posts on here about turning tracing off but that doesn't seem to help (unless I turned an option off that I thought was tracing.
    When I run it with (DESTYPE=cache DESFORMAT=pdf), the reports generates in a new browser window and works fine (on Windows and Linux both).
    Here's the code below I'm sending
    V_OTHER := 'PARAMFORM=NO READONLY=YES authid='||user;
    V_OTHER := V_OTHER||' PAGESIZE='||vPaper;
    V_OTHER := V_OTHER||' ORIENTATION='||vOrientation;
    V_OTHER := V_OTHER||' DELIMITER='||V_DELIM;
    V_OTHER := V_OTHER ||' '||vParameters;
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_FILENAME, LOWER(:MODULE.MODULE_NAME)||'.rep');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_SERVER, 'rep_inxx37_ybs');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_OTHER, V_OTHER);
    IF :SUBM_RQST.DESTINATION = 'P' THEN -- This is printer option
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESTYPE, PRINTER);
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESNAME, 'gt-ybs-ps');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESFORMAT, '');
    ELSIF :SUBM_RQST.DESTINATION = 'S' THEN     -- This is the PDF option               
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESFORMAT, 'PDF');
    END IF;
    Any help is appreciated.
    Chris

    Has anyone had any issues with upgrading from a different OS (like Windows) to Linux and trying to print reports directly to the printer? I've had nothing but issues with it. I know others are using the feature but, I just haven't figured it out.
    When I send it via the command line, I get this message below. I'm working with Oracle Support on this. I've got default printer setup as my network printer. I can print a document via the command line to my printer but when I submit an Oracle Report command, I get errors like below.
    [as10g@inxx37 bin]$ ./rwrun.sh report=/u11/app/as10g/ybs/bin/test.rdf destype=printer
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x01c4d4d3, pid=21730, tid=103095184
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_14-b05 mixed mode)
    # Problematic frame:
    # C [libc.so.6+0x704d3] strrchr+0xa3
    # An error report file with more information is saved as hs_err_pid21730.log

  • Barcode Report is not working in Linux REP-1401: 'cf_1formula': Fatal PL/SQ

    In windows its barcodesample is working fine.(all the barcode constants)
    In linux
    1.I have set the CLASSPATH in reports.sh
    2.and I also added the classPath value in <engineId...> tag in the reportservername.confg file.
    3.And I restart the report server as well as application server also. still I am getting the following error messages.
    REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    In windows I followed the same steps its working fine.But Linux its not working any idea.!!! Its really urgent....
    Thanks,
    Natarajan.U
    Mail:[email protected]

    Hello,
    The note 278044.1 available on metalink may help you :
    Note.278044.1 How to Debug REP-1401 when executing Reports with Barcode java code ?:
    Regards

  • In Barcodesample reports are not working REP-1401: 'cf_1formula': Fatal P

    In windows its barcodesample is working fine.(all the barcode constants)
    In linux
    1.I have set the CLASSPATH in reports.sh
    2.and I also added the classPath value in <engineId...> tag in the reportservername.confg file.
    3.And I restart the report server as well as application server also. still I am getting the following error messages.
    REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    In windows I followed the same steps its working fine.But Linux its not working any idea.!!! Its really urgent....
    Thanks,
    Natarajan.U
    Mail:[email protected]

    I pretty sure that the problem is the BarcodeMaker.java class in the oraclebarcode.jar. I got the barcode example to work locally (on Windows XP) in reports builder, but I couldn't run it in our webApp on a Solaris appServer. However, I was actually just doing the barcode example to learn how to display gantt charts in a report. So I wrote a simple java class called GantChartTest that uses the JFreeChart API to create a gantt chart as a jpg. I followed the bar code example almost exactly and my gantt charts did show up on the Solaris appServer. Here's my imagefilename function:
    function ImageFilenameFormula return VarChar2 is
    myFileName varchar2(500);
    result varchar2(500);
    thePhase VarChar2(50) := :phase;
    estStartDate VarChar2(50) := :est_start_date;
    estEndDate VarChar2(50) := :est_end_date;
    wipActualStartDate VarChar2(50) := :wip_actual_start_date;
    wipActualEndDate VarChar2(50) := :wip_actual_end_date;
    begin
         myFileName := srw.create_temporary_filename;
         GantChartTest.createGanttChart(globals.bcobj, thePhase, estStartDate, estEndDate, wipActualStartDate, wipActualEndDate, myFileName);
         return(myFileName);
    end;

  • See this error in report REP-1401: cf_1formula: Fatal PL/SQL errir occurred

    hi mater
    sir i use oracel reprot 6i
    i try to use formula for calculation see
    function avggFormula return Number is begin
    :cp_1 := (:bugamt-nvl(:totexp,0)/:bugamt)*100 ;
    return(:cp_1);
    end;
    this formula complie rightly no error
    but when i run my report
    that give me this error
    REP-1401: 'cf_1formula': Fatal PL/SQL errir occurred.
    ORA-01476: divisor is equal to zero
    please give me idea how i solve my this error
    thank;
    aamir

    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

  • Ora-06503/rep-1401 with my second report

    hello :D
    im making my second report (new to reports, self studying)
    i encountered REP-1401-'cf_itemtypeformula': Fatal PL/SQL error occured.
    then i tried to trace the error by putting srw.message() in parts of the code to try to figure out the problem
    here is cf_itemtype currently
    function CF_itemtypeFormula return Char is
    itype char(60);
    begin
         srw.message(1000,'item type is'||:p_itemtype);
         --return ' ';
    if :p_itemtype = '%-ALL' then
         itype:=' ';
         srw.message(1005,'itype code is'||itype);
         return itype;
    else
         srw.message(1003,'item type is'||:p_itemtype); --it prints this one
         itype:='AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ';
         --itype:=' ';
         srw.message(1005,'itype code is'||itype); --and never reaches this line i think.
         return itype;
    end if;
    exception
         when value_error then
              srw.message(1007,'value error');
    end;
    i think the error is because of this line
    'AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' '
    because when i comment it out and uncomment itype:=' '; the srw.message(1005,'itype code is'||itype); works
    thanks

    Hi,
    You just need to increase the length of itype.
    Or even better option is to return the value directly without assigning to a local variable.
    return ('AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ');Your over all function without the SRW messages will be like, you don't even need Exception handler:
    function CF_itemtypeFormula return Char is
    begin
    if :p_itemtype = '%-ALL' then
      return (' ');
    else
      retrun ('AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ');
    end if;
    end;Also I have doubt about your if statement, I dont understand what you are trying to do by this.
    > if :p_itemtype = '%-ALL' then
    May be you just need to check if :p_itemtype is null
    so may be your above IF clause will be like
    > if :p_itemtype IS NULL then
    Edited by: Arif Khadas on Apr 21, 2010 10:37 AM

  • REP-1401 error when excuting report

    Hi,
    I'm running a Report builder report that uses User Parameters and an Oracle stored procedure.
    After providing the user parameters the report starts to run for a minute and then returns the message. REP-14-1: 'qr_1refcurds': Fatal PL/SQL error occurred.
    Any suggestions on correcting this. The help was no help.
    Thanks, Jim

    Hi,
    As mentioned in the Reports online Help (http://www.oracle.com/technology/products/reports/index.html), this error was caused due to an abnormal condition. Per the Action suggested, may be you would want to first contact your system administrator to determine if the message was caused by something other than Oracle Reports. If you determine that the message was not the result of user error or a system problem, then you can contact Oracle Support Services.

  • 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

Maybe you are looking for