Ora -06502 from forms application

I have medical application developed by forms 9i, But its responds error
ORA-06502 while running a form with enter query mode. it displys the said
error while execute the query . I dont the exeact SQL query returns this error. How to debug this? Is there any way how to find the sql text returns this error. Kinldy note that, I dont have the forms source code. Only executable available(fmx). I have TOAD too. can i use the toad to traceout it.
thanks.

Hi,
This is ' numeric or value error' it may be character to number conversion problem or your assigning character value to number field in the form.....But without source code It's not easy to solve the problem....
Thanks,
Pavan.

Similar Messages

  • Error ORA-06502: FROM forms

    I have medical application developed by forms 9i, But its responds error
    ORA-06502 while running a form with enter query mode. it displys the said
    error while execute the query . I dont the exeact SQL query returns this error. How to debug this? Is there any way how to find the sql text returns this error. Kinldy note that, I dont have the forms source code. Only executable available(fmx). I have TOAD too. can i use the toad to traceout it.
    thanks.

    Its an application error.If you don't have the source code,you need to ask for the source code.

  • Large DDL causes ORA-06502 in several Applications

    I Created a Table with
    CREATE TABLE large_table (
    c001 VARCHAR(2) NOT NULL
    and added columns with
    ALTER TABLE large_table ADD c002 VARCHAR(2) NOT NULL;
    ALTER TABLE large_table ADD c060 VARCHAR(2) NOT NULL;
    The DDL of this table cannot be executed eg. in SqlDeveloper, sqlplus, ... and it cannot be imported from a dump with exp! Importing causes:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in WE8ISO8859P15 character set and AL16UTF16 NCHAR character set
    . importing RLODEVEL's objects into RLODEVEL
    . importing RLODEVEL's objects into RLODEVEL
    IMP-00017: following statement failed with ORACLE error 604:
    "CREATE TABLE "LARGE_TABLE" ("C001" VARCHAR2(2) NOT NULL ENABLE, "C002" VARC"
    "HAR2(2) NOT NULL ENABLE, "C003" VARCHAR2(2) NOT NULL ENABLE, "C004" VARCHAR"
    "2(2) NOT NULL ENABLE, "C005" VARCHAR2(2) NOT NULL ENABLE, "C006" VARCHAR2(2"
    ") NOT NULL ENABLE, "C007" VARCHAR2(2) NOT NULL ENABLE, "C008" VARCHAR2(2) N"
    "OT NULL ENABLE, "C009" VARCHAR2(2) NOT NULL ENABLE, "C010" VARCHAR2(2) NOT "
    "NULL ENABLE, "C011" VARCHAR2(2) NOT NULL ENABLE, "C012" VARCHAR2(2) NOT NUL"
    "L ENABLE, "C013" VARCHAR2(2) NOT NULL ENABLE, "C014" VARCHAR2(2) NOT NULL E"
    "NABLE, "C015" VARCHAR2(2) NOT NULL ENABLE, "C016" VARCHAR2(2) NOT NULL ENAB"
    "LE, "C017" VARCHAR2(2) NOT NULL ENABLE, "C018" VARCHAR2(2) NOT NULL ENABLE,"
    " "C019" VARCHAR2(2) NOT NULL ENABLE, "C020" VARCHAR2(2) NOT NULL ENABLE, "C"
    "021" VARCHAR2(2) NOT NULL ENABLE, "C022" VARCHAR2(2) NOT NULL ENABLE, "C023"
    "" VARCHAR2(2) NOT NULL ENABLE, "C024" VARCHAR2(2) NOT NULL ENABLE, "C025" V"
    "ARCHAR2(2) NOT NULL ENABLE, "C027" VARCHAR2(2) NOT NULL ENABLE, "C026" VARC"
    "HAR2(2) NOT NULL ENABLE, "C028" VARCHAR2(2) NOT NULL ENABLE, "C029" VARCHAR"
    "2(2) NOT NULL ENABLE, "C030" VARCHAR2(2) NOT NULL ENABLE, "C031" VARCHAR2(2"
    ") NOT NULL ENABLE, "C032" VARCHAR2(2) NOT NULL ENABLE, "C033" VARCHAR2(2) N"
    "OT NULL ENABLE, "C034" VARCHAR2(2) NOT NULL ENABLE, "C035" VARCHAR2(2) NOT "
    "NULL ENABLE, "C036" VARCHAR2(2) NOT NULL ENABLE, "C037" VARCHAR2(2) NOT NUL"
    "L ENABLE, "C038" VARCHAR2(2) NOT NULL ENABLE, "C039" VARCHAR2(2) NOT NULL E"
    "NABLE, "C040" VARCHAR2(2) NOT NULL ENABLE, "C041" VARCHAR2(2) NOT NULL ENAB"
    "LE, "C042" VARCHAR2(2) NOT NULL ENABLE, "C043" VARCHAR2(2) NOT NULL ENABLE,"
    " "C044" VARCHAR2(2) NOT NULL ENABLE, "C045" VARCHAR2(2) NOT NULL ENABLE, "C"
    "046" VARCHAR2(2) NOT NULL ENABLE, "C047" VARCHAR2(2) NOT NULL ENABLE, "C048"
    "" VARCHAR2(2) NOT NULL ENABLE, "C049" VARCHAR2(2) NOT NULL ENABLE, "C050" V"
    "ARCHAR2(2) NOT NULL ENABLE, "C051" VARCHAR2(2) NOT NULL ENABLE, "C052" VARC"
    "HAR2(2) NOT NULL ENABLE, "C053" VARCHAR2(2) NOT NULL ENABLE, "C054" VARCHAR"
    "2(2) NOT NULL ENABLE, "C055" VARCHAR2(2) NOT NULL ENABLE, "C056" VARCHAR2(2"
    ") NOT NULL ENABLE, "C057" VARCHAR2(2) NOT NULL ENABLE, "C058" VARCHAR2(2) N"
    "OT NULL ENABLE, "C059" VARCHAR2(2) NOT NULL ENABLE, "C060" VARCHAR2(2) NOT "
    "NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL"
    " 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS"
    "" LOGGING NOCOMPRESS"
    IMP-00003: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 25
    Import terminated successfully with warnings.
    I'm quite sure, this problem is well known, but I did not find a hint in metalink or the rest of the internet.

    Sorry, the example has not been tested well :(
    But I just had to duplicate the number of columns to get the error both in SqlDeveloper, SqlPlus and (still) imp. That sqlplus and imp have different limits in DDL-size confuses me even more :-/
    CREATE TABLE LARGE_TABLE (
    C001 VARCHAR2(2) NOT NULL , C002 VARCHAR2(2) NOT NULL , C003 VARCHAR2(2) NOT NULL , C004 VARCHAR2(2) NOT NULL ,
    C005 VARCHAR2(2) NOT NULL , C006 VARCHAR2(2) NOT NULL , C007 VARCHAR2(2) NOT NULL , C008 VARCHAR2(2) NOT NULL ,
    C009 VARCHAR2(2) NOT NULL , C010 VARCHAR2(2) NOT NULL , C011 VARCHAR2(2) NOT NULL , C012 VARCHAR2(2) NOT NULL ,
    C013 VARCHAR2(2) NOT NULL , C014 VARCHAR2(2) NOT NULL , C015 VARCHAR2(2) NOT NULL , C016 VARCHAR2(2) NOT NULL ,
    C017 VARCHAR2(2) NOT NULL , C018 VARCHAR2(2) NOT NULL , C019 VARCHAR2(2) NOT NULL , C020 VARCHAR2(2) NOT NULL ,
    C021 VARCHAR2(2) NOT NULL , C022 VARCHAR2(2) NOT NULL , C023 VARCHAR2(2) NOT NULL , C024 VARCHAR2(2) NOT NULL ,
    C025 VARCHAR2(2) NOT NULL , C027 VARCHAR2(2) NOT NULL , C026 VARCHAR2(2) NOT NULL , C028 VARCHAR2(2) NOT NULL ,
    C029 VARCHAR2(2) NOT NULL , C030 VARCHAR2(2) NOT NULL , C031 VARCHAR2(2) NOT NULL , C032 VARCHAR2(2) NOT NULL ,
    C033 VARCHAR2(2) NOT NULL , C034 VARCHAR2(2) NOT NULL , C035 VARCHAR2(2) NOT NULL , C036 VARCHAR2(2) NOT NULL ,
    C037 VARCHAR2(2) NOT NULL , C038 VARCHAR2(2) NOT NULL , C039 VARCHAR2(2) NOT NULL , C040 VARCHAR2(2) NOT NULL ,
    C041 VARCHAR2(2) NOT NULL , C042 VARCHAR2(2) NOT NULL , C043 VARCHAR2(2) NOT NULL , C044 VARCHAR2(2) NOT NULL ,
    C045 VARCHAR2(2) NOT NULL , C046 VARCHAR2(2) NOT NULL , C047 VARCHAR2(2) NOT NULL , C048 VARCHAR2(2) NOT NULL ,
    C049 VARCHAR2(2) NOT NULL , C050 VARCHAR2(2) NOT NULL , C051 VARCHAR2(2) NOT NULL , C052 VARCHAR2(2) NOT NULL ,
    C053 VARCHAR2(2) NOT NULL , C054 VARCHAR2(2) NOT NULL , C055 VARCHAR2(2) NOT NULL , C056 VARCHAR2(2) NOT NULL ,
    C057 VARCHAR2(2) NOT NULL , C058 VARCHAR2(2) NOT NULL , C059 VARCHAR2(2) NOT NULL , C060 VARCHAR2(2) NOT NULL ,
    C101 VARCHAR2(2) NOT NULL , C102 VARCHAR2(2) NOT NULL , C103 VARCHAR2(2) NOT NULL , C104 VARCHAR2(2) NOT NULL ,
    C105 VARCHAR2(2) NOT NULL , C106 VARCHAR2(2) NOT NULL , C107 VARCHAR2(2) NOT NULL , C108 VARCHAR2(2) NOT NULL ,
    C109 VARCHAR2(2) NOT NULL , C110 VARCHAR2(2) NOT NULL , C111 VARCHAR2(2) NOT NULL , C112 VARCHAR2(2) NOT NULL ,
    C113 VARCHAR2(2) NOT NULL , C114 VARCHAR2(2) NOT NULL , C115 VARCHAR2(2) NOT NULL , C116 VARCHAR2(2) NOT NULL ,
    C117 VARCHAR2(2) NOT NULL , C118 VARCHAR2(2) NOT NULL , C119 VARCHAR2(2) NOT NULL , C120 VARCHAR2(2) NOT NULL ,
    C121 VARCHAR2(2) NOT NULL , C122 VARCHAR2(2) NOT NULL , C123 VARCHAR2(2) NOT NULL , C124 VARCHAR2(2) NOT NULL ,
    C125 VARCHAR2(2) NOT NULL , C127 VARCHAR2(2) NOT NULL , C126 VARCHAR2(2) NOT NULL , C128 VARCHAR2(2) NOT NULL ,
    C129 VARCHAR2(2) NOT NULL , C130 VARCHAR2(2) NOT NULL , C131 VARCHAR2(2) NOT NULL , C132 VARCHAR2(2) NOT NULL ,
    C133 VARCHAR2(2) NOT NULL , C134 VARCHAR2(2) NOT NULL , C135 VARCHAR2(2) NOT NULL , C136 VARCHAR2(2) NOT NULL ,
    C137 VARCHAR2(2) NOT NULL , C138 VARCHAR2(2) NOT NULL , C139 VARCHAR2(2) NOT NULL , C140 VARCHAR2(2) NOT NULL ,
    C141 VARCHAR2(2) NOT NULL , C142 VARCHAR2(2) NOT NULL , C143 VARCHAR2(2) NOT NULL , C144 VARCHAR2(2) NOT NULL ,
    C145 VARCHAR2(2) NOT NULL , C146 VARCHAR2(2) NOT NULL , C147 VARCHAR2(2) NOT NULL , C148 VARCHAR2(2) NOT NULL ,
    C149 VARCHAR2(2) NOT NULL , C150 VARCHAR2(2) NOT NULL , C151 VARCHAR2(2) NOT NULL , C152 VARCHAR2(2) NOT NULL ,
    C153 VARCHAR2(2) NOT NULL , C154 VARCHAR2(2) NOT NULL , C155 VARCHAR2(2) NOT NULL , C156 VARCHAR2(2) NOT NULL ,
    C157 VARCHAR2(2) NOT NULL , C158 VARCHAR2(2) NOT NULL , C159 VARCHAR2(2) NOT NULL , C160 VARCHAR2(2) NOT NULL
    PCTFREE 10
    PCTUSED 40
    INITRANS 1
    MAXTRANS 255
    STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE USERS
    LOGGING
    NOCOMPRESS
    CREATE TABLE LARGE_TABLE (
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 25

  • Creating Web Services from Forms Application

    I have a commercial system based on Oracle Forms 6. I would like to expose the functionality of this application as Web Services. This would permit us to integrate these applications using XML technology.
    I think the best approach would be to look for a way to communicate with forms from within a Java environment.
    Does anyone know how I can do this ?

    You can certainly use 10.1.3.x of JDev for building web services to call from forms 10.1.2. I have done this here:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    Generally the thing you have to watch is to ensure the JDK version for the web service proxy project is the same as Forms (1.4). You also need to be careful on the web service type from which you are creating the proxy. (Jax-rpc, jax-ws etc)
    It might be worth trying (but might have a few gotchas) using 10.1.3 to generate a proxy against an 11g web service - but you need to watch what version of the web services standard you are using as there have been a number of changes in this area.
    hope that helps
    Grant

  • How to Call Image Viewer from Form application

    Hi,
    how to call Image viewer using host command on oracle form 6i.
    i trying using host command on local/client application .. and it is working ...
    but when i try on server application (EBS - UNIX) it does not working ...
    thanks ..
    regards,
    safar

    Are you using Forms 6i in client/server mode or web deployed? I'm not sure what you mean by 'try on server application"
    Remember that when using a web deployed architecture, a host command will execute the command on the Forms application server, NOT on the client.
    To execute host commands on the client you would have to use WebUtil, but that's not available for Forms 6i. Perhaps there are PJC's out there that can do it for you, but I don't want to get in all those details without me knowing if it is relevant for you.

  • Can I write to a text file on local HDD from forms appl?

    Hi All,
    We have 8i database being accessed by 6i forms application using web-based arch. Clients are on windowsNT/window2000. Is it possible to dump some data in a text file from forms application (by pressing a button) on local hard disk? User is looking something similar to sqlplus spool in forms 6i. Is this possible? User is specific about file being created in local machine and not on server(utl_file/dbms_pipe). Any ideas?
    Thanks.

    You can find explanation and a quick start guide on PJCs on the Forms Upgrade Center at:
    I think the following code can give you a starting point for a PJC (based on text_item) that will do it.
    Also you will need to sign this JAR because you want to access the client machine - see the sigining paper on OTN.
    To activate this PJC you will use something like SET_CUSTOM_PROPERTY ('text_item1', 1, 'WRITE', :text_item1);
    In your form.
    import oracle.forms.ui.VTextField;
    import java.io.FileOutputStream;
    import oracle.forms.properties.ID;
    public class textio extends VTextField
    public final static ID WRITE = ID.registerProperty("WRITE");
    String a = "hello";
    public textio()
    public boolean setProperty(ID p0, Object p1)
    if (p0==WRITE)
    try
    FileOutputStream fileOut = new FileOutputStream("c:\\temp\\textio.txt");
    fileOut.write(p1.toString().getBytes());
    fileOut.close();
    } catch (Exception ex)
    ex.printStackTrace();
    }

  • Calling Reports on Web from Forms

    Hello Friends,
    Right now I am able to run my reports from HTML page/by
    giving URL in IE.
    but I want to call reports from form application. in
    client/Server model, I used RUN_PRODUCT built-in. when i am
    converting to web, i don't know how to call reports from form.
    one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    pass the Parameter List, as we pass parameter list in
    RUN_PRODUCT built-in.
    even though we can pass like
    report=xyz.rep&destype=screen ....
    If there is '&' in the paramtere value , how should we take
    care of this. If any one knows solution, please let me know
    Thanks in advance
    Regards
    Surendra.
    null

    Surendra Babu (guest) wrote:
    : Hello Friends,
    : Right now I am able to run my reports from HTML page/by
    : giving URL in IE.
    : but I want to call reports from form application. in
    : client/Server model, I used RUN_PRODUCT built-in. when i am
    : converting to web, i don't know how to call reports from form.
    : one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    : pass the Parameter List, as we pass parameter list in
    : RUN_PRODUCT built-in.
    : even though we can pass like
    : report=xyz.rep&destype=screen ....
    : If there is '&' in the paramtere value , how should we take
    : care of this. If any one knows solution, please let me know
    : Thanks in advance
    : Regards
    : Surendra.
    Hi Surendra,
    Run Reports using Run_product tool by passing all the parameters
    reqd. for your report and save it as a file in *.pdf format(
    recommended) then call the saved report in WeB.Show_document
    which will call your saved report .
    Ex:
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id:=Get_parameter_list('mtetgdata');
    IF NOT Id_Null(pl_id) then
    Destroy_Parameter_list(Pl_id);
    END IF;
    Pl_id:=CREATE_PARAMETER_LIST('mtetgdata');
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    ADD_PARAMETER
    (pl_id,'DESTYPE',TEXT_PARAMETER,:REP_LAUNCH.DESTYPE);
    ADD_PARAMETER(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
    ADD_PARAMETER
    (pl_id,'P_RECV_129',TEXT_PARAMETER,:REP_LAUNCH.RECV_129);
    ADD_PARAMETER(pl_id,'DESNAME',TEXT_PARAMETER,'J:
    \WEBFORMS\RepTemp\ACHD_129.pdf');
    ADD_PARAMETER(pl_id,'P_START_DATE',TEXT_PARAMETER,TO_CHAR
    (:REP_LAUNCH.START_DATE,'DD-MON-RRRR'));
    RUN_PRODUCT(REPORTS,'J:
    \WebForms\REPORTS\ACHD_129.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl
    _id,NULL);
    WEB.SHOW_DOCUMENT
    ('http://xdb.oraweb.net:8889/Webforms/RepTemp/ACHD_129.pdf','_sel
    f');
    end;
    I hope this will solve your problem
    Rao Guduru
    null

  • Invoke a web page from form 6i

    How can I invoke a web page from Oracle Forms 6i. The web built in has show_document but it only works with a form run from the web. Our forms are not deployed on web. Can anyone help???

    The command works except there's one problem. Once explorer is launched, it grey's out my form application screen and I can't use the application parallel with web. Once I close the browser then the control is returned back to form.
    Does any one know is it is possible to launch the web as well as not leave control from forms application. At this point I'm working with a work around to open another instance of application which is kinda not neat.
    Pleaseeeeeeee help.

  • ORA-06502 JNI.CALL_STRING_METHOD Oracle Forms & Web Services

    Hello:
    A customer of us has been integrating Oracle Forms 10g and Web Services.
    There is a java class named WsGenQueryStub. That java class has been generated using Oracle JDeveloper.
    It implements the consume of a Web Service That class has a method named GetDat which receives 2 input parameters which are of VARCHAR2 type, containing XML text.
    This method returns an XML text string which may have more than 4000 characters .
    That class is incluedd at forms application by using the "Import Java Class" feature.
    Forms builds a package named WsGenQueryStub which includes the following funtion
    -- Method: GetData (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION GetData(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    END;
    Forms Version is 9.0.4.0.19 , and PL/SQL version ( of forms ) is 9.0.1.5.1 , both support variables of type VARCHAR2 up to 32767 characters long
    However when the form is run the line
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'Interfases/WsGenQueryStub', 'GetData', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    gets the ORA-06502 error when the returned text is longer than 4000 characters
    I thank your answers.
    Fernando.

    Ferdo,
    could you split up the result string in chunks that don't exceed the max. length? A method exposed on the Java class to could do this and be called from Forms as long as there is data coming.
    Frank

  • ORA-06502 on "Help Text" region when changing pages on a tabular form

    Hello everybody,
    We are developing an application on Apex 4.1.0.00.32. This application have some pages with tabular forms and these pages uses a page zero as template. In this page zero, we have added two sidebar regions: a list region to navigate on the application and a help text to describe how to use our application.
    The problem occurs when the tabular split the records into pages (since it has more records that it can show on a single page). When the user clicks to change to another page, Apex raises an ORA-06502: PL/SQL: numeric or value error as described below:
    Erro ao renderizar a região "Ajuda". ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    Informações Técnicas (visível somente para desenvolvedores)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: Ajuda
    error_backtrace:
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    Obs: Our database is in Brazilian Portuguese, so I guess it will be hard for some people to understand the first two lines! :)
    We have tried to change the pagination style of the tabular form and change the region model of the help text but the problem still happens.
    Does anyone an ideia about what this may be?
    Thanks in advance!

    I am getting the exact same message, to the line number, also in APEX 4.1.0.0.32.
    Occurs when changing pages in a classic report, Standard region template, select list pagination, when selecting a different pagination set.
    In English:
    Error during rendering of region "Matched Participants Help & Hints".
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: <strong>Matched Participants</strong> Help & Hints
    error_backtrace:
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    There are no conditions on the region, and no date string within the Help text. Some HTML <strong> tags, that's it.
    The Help region renders fine the first time.
    The Debug info does not help any:
    3.798360.00062Computation point: After Box Body4
    0
    3.798990.00081Processes - point: AFTER_BOX_BODY4
    0
    3.799790.00068Region: <strong>Matched Participants</strong> Help & Hints4
    0
    3.800470.00213Region rendered dynamically because request was not null4
    0
    3.802590.00096Add error onto error stack4
    0
    3.803550.00084...Error data:4
    0
    3.804400.00084......message: Error during rendering of region "<strong>Matched Participants</strong> Help & Hints".4
    0
    3.805240.00084......additional_info: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.806080.00081......display_location: ON_ERROR_PAGE4
    0
    3.806890.00081......is_internal_error: true4
    0
    3.807700.00084......apex_error_code: APEX.REGION.UNHANDLED_ERROR4
    0
    3.808540.00082......ora_sqlcode: -65024
    0
    3.809350.00234......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.811700.00082......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654 ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204 4
    0
    3.812510.00081......component.type: APEX_APPLICATION_PAGE_REGIONS4
    0
    3.813310.00110......component.id: 24
    0
    3.814420.00099......component.name: <strong>Matched Participants</strong> Help & Hints4
    0
    3.815400.00076...Show Error on Error Page4
    0
    3.816160.00344......Performing rollback4
    0
    3.819610.00225Processes - point: AFTER_ERROR_HEADER4
    0
    3.821850.00268Processes - point: BEFORE_ERROR_FOOTER4
    0
    3.82453-End Page Rendering
    Any thoughts on where to poke around for this one?
    Thanks - Karen

  • Forms application returns "ORA-01403 no data found" exception on Windows 7

    Hi everyone,
    I am currently involved in an application compatibility project for an O/S migration from Windows XP to Windows 7.
    We have a legacy Oracle Dev6i P18 Forms application that has been working perfectly on Windows XP for the last decade or so. When we installed the same application on Windows 7, it returned a pop-up error message with the text: "ORA-01403 no data found" when performing a certain operation (clicking on a Submit button in a specific form). The same operation works successfully on Windows XP displaying the message "Submit has been successful".
    This error is well documented and the solution involves adding an exception handler to the faulting SQL statement(s) in order to handle the ORA-01403 exception. Unfortunately, the application is composed of compiled forms (.FMX) and we no longer have the source code so I can't implement this solution.
    I ran a file comparison utility (WinDiff from the Windows SDK) and confirmed that all the files in the application folder and the Oracle Dev6i P18 folder are identical on both the Windows XP and Windows 7 systems.
    I enabled tracing in SQLNet.ORA by configuring TRACE_LEVEL_CLIENT=SUPPORT (I know, too verbose) and other related settings on both systems and have uploaded the traces to my SkyDrive for public viewing:
    http://sdrv.ms/10BNYtI
    The traces show that the "ORA-01403" exception occurs many times on both Windows XP and Windows 7 systems as a result of various SQL statements being executed, for instance:
    SELECT TASK_ID,TASK_DETAIL_STATUS,ASSIGNED_DATE FROM TASK_DETAILS WHERE TASK_ID = :b1 AND TASK_DETAIL_STATUS = (SELECT ID FROM V_TASK_STATUS WHERE ABBREVIATION = 'PLANNED' ) FOR UPDATE OF TASK_DETAIL_STATUS,ASSIGNED_DATE
    UPDATE TASK_DETAILS SET ASSIGNED_DATE=NTMS_UTIL.GET_SERVER_DATE,TASK_DETAIL_STATUS=(SELECT ID FROM V_TASK_STATUS WHERE ABBREVIATION = 'ASSIGNED' ) WHERE ROWID = :b1
    ORA-01403: no data found.
    So the same error happens on both Windows XP and Windows 7.
    On Windows XP, the error is somehow handled, and does not cause the "Submit" operation to fail.
    On Windows 7, however, the error bubbles to the surface and is displayed to the user, thus halting the "Submit" operation.

    Thank you. I'm well aware that adding an exception handler is the classic solution to the ORA-01403 error. However, like I mentioned in my original post, I don't have the source code. All I have are the compiled .FMX forms so I can't implement such a solution:
    From my original post:
    This error is well documented and the solution involves adding an exception handler to the faulting SQL statement(s) in order to handle the ORA-01403 exception. Unfortunately, the application is composed of compiled forms (.FMX) and we no longer have the source code so I can't implement this solution.

  • Error ORA-03108 While connecting to database on 8.1.6 from Form 6i

    I am getting error while running updates on database running on Oracle 8.1.6. from Form 6i. Both are Oracle latest products and Oracle homes are running Net8 versions shipped with products.
    ORA-03108 oranet: ORACLE does not support this interface version.
    Are there incompatibility problems in Net8 versions shipped with Oracle products?
    null

    Can I get some clarification on following:
    1. When Form runs as WebForm mode, the webform runs as appellet. Does this mean that connectivity shifts from Net8 to JDBC?.
    2. Is there possibility of above error comming because of JDBC connectivity.
    Thanks
    Sanjay Sharma
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sanjay Sharma ([email protected]):
    [Here is further input on the error:
    1. I am not running any database link.
    2. the error is coming only when form is running as WebForm Mode. It is not coming in Client-Server Mode.
    3. The occurance is random. there is no pattern of occurance. The eror might crop-up 5 times in 50 updates. Which is strange???]Originally posted by [email protected]:
    [b]Can you confirm if the problem happens with a simpe DEPT table. Ensure you are not using database links or any other complexities. It should be ok to run against this combonation but you may want to remove any possibilites that your application could be contributing to the error.
    Regards
    Grant Ronald<HR></BLOCKQUOTE>
    null

  • ORA-06502 when calling from a procedure

    HI,
    I have a procedure(p1) inside a package that queries a table and send out the result based on the input paramater value. OUT variable is of same type as the table column(using %type), column size is varchar2(4000). This procedure is called from another procedure(p2) and sends out the result to Java Page to display the results at front-end.
    Problem is when application runs and p1 is called I get the following error message,
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Length/size of the character string queried from table is _1747_ that is within the limit of 4000 chars. If I limit the output to just 500 using substr, I don't get any error but adding a single character startes throwing error. OUT variable in both p1 and p2 are declared as table.column%type and error comes from p1 only as confirmed by the error log.
    When I call p1 or p2 from a declare block, I don't get any error.
    This has really confused me and I am not able to find any reason for this difference in behaviour.
    Request to help me in understanding what could be the issue here.
    Oracle version used is Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    -Thanks in Advance.

    CREATE or replace PROCEDURE p1
    ( l_id IN VARCHAR2
    , l_str OUT VARCHAR2
    ) IS
      l_temp VARCHAR2(4000);
    BEGIN
      SELECT Response_Message INTO l_temp FROM t1 WHERE Response_ID = l_id;
      l_str := l_temp||'10 symbols';
    END;
    CREATE or replace PROCEDURE p2
    ( l_id IN VARCHAR2
    , l_str OUT VARCHAR2
    ) IS
    BEGIN
      p1(l_id, l_str);
    END;
    /no errors in procedures, but
    DECLARE
    resultstr VARCHAR2(1000);
    BEGIN
      p2(58, resultstr);
      DBMS_OUTPUT.PUT_LINE(resultstr);
    END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "P1", line 8
    ORA-06512: at "P2", line 6
    ORA-06512: at line 4Procedure is called with small variable.
    Try check all calls and all procedures for size and check if there are string concatenations.

  • ORA-06502 (character string buffer too small) on import application via script

    Running apex 4.2.2.00.11
    oracle 10.2.0.5
    I'm using a script to import my development application to a few production applications.
    It worked great on apex 4.1.1, but now I get an 'ORA-06502 PL/SQL numeric of value error: character string buffer too small'
    In the command window, I see that the script fails after it starts on the plugins.
    My question: is this a bug in 4.2.2?
    I could be a incompatible plugin, but how can I found out which plugin?
    My script is quite simple:
    In a command window I run
    sqlplus SCHEMA/PASSWORD@SPIEU10 @_IMPORT_F102.sql
    The script is
    declare
    l_workspace_id number;
    begin
        -- determine the workspace id for the workspace FM in the target system
        select workspace_id into l_workspace_id from apex_workspaces where workspace = 'BY_APEX_SHARED';
        -- set the context for the target workspace
        apex_application_install.set_workspace_id( l_workspace_id );
        -- override the original application id 102
        apex_application_install.set_application_id ( 102 );
        -- set a different application name and alias, it should be unique within an APEX instance
        apex_application_install.set_application_alias( 'MY_ALIAS' );
        apex_application_install.set_application_name( 'MY_APP_NAME' );
        -- Use fixed offset
        apex_application_install.set_offset( p_offset => 0);
        -- override the original parsing schema FM with a different value
        apex_application_install.set_schema( 'BY_SCHEMA' );
    end;
    -- install the original application export, now the values for the workspace
    @f102.sql
    exit;
    Error message from command window:
    ...ui types
    ...plugins
    begin
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 3
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64
    bit Production
    With the Partitioning, Data Mining and Real Application Testing options

    ListAGG throws an ORA-01489 for varchar2 > 4000 bytes
    OP has an ORA-06502 --> the IR is running into a 4k/32k limit.
    quick solution: wrap USER_COMMENTS ListAGG in a substr( ...., 1, 4000)
    Longer solution, use a subquery to modify the comments based on ROW_NUMBER() (ie after nth row, change it to NULL)
    with
    -- simulating data
    t as (select task_id, sysdate - lv as date_entered
      ,round(dbms_random.value(1,24)) hours
      , '-*' || lv || '.' || task_id || '*-' as user_comments
    from ( select level as task_id from dual connect by level <=10 ), (select level lv from dual connect by level < 1000)
    -- modify data
    modified_data as (
      select task_id, hours, date_entered
        ,case
          when row_number() over (partition by task_id order by date_entered desc) < 5
            then user_comments
          else null
         end USER_COMMENTS
        from t)
    select task_id, sum(hours) total_hours,
      listagg( user_comments  ) within group (order by date_entered desc)
      || case when count(*) >= 5 then '! MORE COMMENTS !' else null end
        as user_comments
    from modified_data
    group by task_id;

  • Application Builder page ORA-06502

    I'm having the same problem as described in this old thread that doesn't seem to have been resolved:
    application builder page error ORA-06502
    After logging in, I click Application Builder and get this error message three times:
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    On the main part of the page where there should be a bunch of icons for each of the applications, and also on the right in the boxes labeled "Recent" and "Application Groups". The URL states that I'm in application 4000, page 1500. Using info from the old thread I tried changing the view option of the report from "Icons" to "Details" and find I am able to see the list of applications this way. I am worried that eventually even this method of reaching my application will become compromised. Anyone know how to fix this issue yet?
    My versions are:
    Application Express 3.2.1.00.12
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options

    So after a while the problem went away by itself, but it's back again and I've noticed another section of APEX that becomes affected when this error starts happening. When I click the icon for Copy Region, instead of a list of region names I get the error message.

Maybe you are looking for

  • BSEG-Menge Value

    Dear Gurus, The quantity field after a Accounting document is generated is carrying the value twice for two different Pricing condition types. (Say the sale quantity is 20, it shows 20 pcs against one and 20 pcs against other. ) How is the quantity f

  • Forte/CORBA/VC++ Question

    Hi Everybody, Does any one worked on a C++ application communicating with a Forte Service Object via Visibroker. Problem we are facing is we could't able to call a Service Object Method which is returning a Array of Objects. Forte generating the IDL

  • How to use /usr/bin/gcc  with Accelerate?

    Hi, After upgrading Mac to OSX10.9, C compiler has been changed to LLVM. Using gcc4.9(http://hpc.sourceforge.net), /usr/local/bin/gcc -framework Accelerate xxx.c works well. Using /usr/bin/gcc, how to compile it with Accelerate?

  • Safari reports "computer not connected to internet" (but it is)

    Safari reports "computer not connected to internet" (but it is). Firefox works normally. What kind of issue is this with Safari? Corrective action? Message was edited by: Noaks

  • Copy/past actual size

    Hello, sometimes when i paste to iweb its pasting with actual size , but some time it is not actual size and it needs to be stratched. how to paste always actual size?