Please acknowledge-106557-106557:non ORACLE exception

Hi everyone.
I have created a form in which the required data gets displayed in the excel (.xls) file on clicking a button.
When i run the form, I am getting error that is FRM-40735: WHEN-BUTTON PRESSED trigger raised unhandled exception ORA-106557.
When i run the form again, I am getting result as expected. It works perfectly fine.
After i log in to the software, only for the first click i get that error. Later it works fine.
So i tried to catch the exact error by putting an exception code that is:
EXCEPTION
WHEN OTHERS THEN
MESSAGE(SQLCODE||' - '||SQLERRM);
PAUSE;
END;
After compiling with the exception; I got an error message and an error alert window.
The Error window shows 'Please acknowledge'.
The Error message is -106557-106557:non ORACLE exception .
I am not getting to know what is wrong exactly because it shows FRM-40735 error only for the first time, later it works fine.
Can you Help me with this.
Thank You.

DECLARE
  CURSOR C_EXCEL IS
  SELECT DISTINCT INDIRECT_RECD.SLNO SLNO,
  INDIRECT_RECD.COMPLIANCE COMPLIANCE,
  INDIRECT_RECD.DUE_DATE DUE_DATE,
  INDIRECT_RECD.UNIT1 UNIT1,
  INDIRECT_RECD.UNIT2 UNIT2,
  INDIRECT_RECD.UNIT4 UNIT4,
  INDIRECT_RECD.UNIT5 UNIT5,
  INDIRECT_RECD.UNIT6 UNIT6,
  INDIRECT_RECD.UNIT7 UNIT7,
  INDIRECT_RECD.UNIT11 UNIT11,
  INDIRECT_RECD.UNIT12 UNIT12,
  INDIRECT_RECD.UNIT14 UNIT14,
  INDIRECT_RECD.UNIT15 UNIT15,
  INDIRECT_RECD.UNIT16 UNIT16,
  INDIRECT_RECD.UNIT18 UNIT18,
  INDIRECT_RECD.UNIT20 UNIT20,
  INDIRECT_RECD.UNIT25 UNIT25,
  INDIRECT_RECD.UNIT91 UNIT91,
  INDIRECT_RECD.COMP_MONTH COMP_MONTH
  FROM INDIRECT_RECD
  WHERE COMP_MONTH=:IT_DATE;
  CONVID PLS_INTEGER;
   ROWCOUNT NUMBER;
   RW NUMBER:= 7;
   RR NUMBER :=2;
   x number :=0;
   sn number := 1;
   OUT_FILE Text_IO.File_Type;
   FNAME VARCHAR2(50);
BEGIN
  FNAME := GET_FILE_NAME('C:\', File_Filter=>'Excel Files (*.xls)|*.xls|',DIALOG_TYPE=>SAVE_FILE);
  IF FNAME IS NOT NULL THEN
  OUT_FILE := Text_IO.Fopen(FNAME, 'w');
  Text_IO.Fclose (out_file);
   CONVID := DDE.App_Begin('C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\EXCEL.EXE '||FNAME,
   DDE.APP_MODE_MAXIMIZED);
   dbms_lock.sleep(1);
  ConvID := DDE.Initiate('EXCEL', FNAME);
  DDE.Poke(ConvID,'R1C2','COMPANY LTD.',DDE.CF_TEXT,2000);
  DDE.Poke(ConvID,'R2C2','INDIRECT.', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R3C2','MONTHLY REPORT - CLOSED.', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R4C2','For the MONTH/YEAR = '||to_char(to_date(:IT_DATE,'RRRR/MM'),'MONTH/RRRR'), DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C1','SLNo.', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C2','Compliance', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C3','Due_Date', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C4','Unit-1', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C5','Unit-2', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C6','Unit-4', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C7','unit-5', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C8','Unit-6', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C9','Unit-7', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C10','Unit-11', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C11','Unit-12', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C12','Unit-14', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C13','Unit-15', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C14','Unit-16', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C15','Unit-18', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C16','Unit-20', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C17','Unit-25', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C18','Unit-91', DDE.CF_TEXT, 2000);
  DDE.Poke(ConvID,'R6C18','YEAR/MM', DDE.CF_TEXT, 2000);
   For i in C_EXCEL
     loop
     sn := sn + 1;
            DDE.Poke(ConvID,'R'||RW||'C'||1,nvl(i.SLNO,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||2,nvl(i.COMPLIANCE,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||3,nvl(to_char(i.DUE_DATE,'DD-MON-RRRR'),' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||4,nvl(i.UNIT1,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||5,nvl(i.UNIT2,' '), DDE.CF_TEXT, 2000);
        DDE.Poke(ConvID,'R'||RW||'C'||6,nvl(i.UNIT4,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||7,nvl(i.UNIT5,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||8,nvl(i.UNIT6,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||9,nvl(i.UNIT7,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||10,nvl(i.UNIT11,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||11,nvl(i.UNIT12,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||12,nvl(i.UNIT14,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||13,nvl(i.UNIT15,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||14,nvl(i.UNIT16,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||15,nvl(i.UNIT18,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||16,nvl(i.UNIT20,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||17,nvl(i.UNIT25,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||18,nvl(i.UNIT91,' '), DDE.CF_TEXT, 2000);
     DDE.Poke(ConvID,'R'||RW||'C'||18,nvl(i.COMP_MONTH,' '), DDE.CF_TEXT, 2000);
     RW := RW+1;
     x :=1;
  end loop;
RR:=RW-1;
  IF x  = 1 THEN
  DDE.Poke(ConvID,'R'||RW||'C2','END OF REPORT', DDE.CF_TEXT, 2000);
  ELSE
  DDE.Poke(ConvID,'R7C1','No Data Found', DDE.CF_TEXT, 2000);
  END IF;
  END IF;
End;
Please acknowledge-106557-106557:non ORACLE exception 

Similar Messages

  • 101511 non-ORACLE exception

    Hi all,
    We are submitting a concurrent request which runs a report. the report errors out giving 101511 non-ORACLE exception.
    The major coding is done in the before report trigger which is purely just based on pl/sql.
    Which is populating data in a temp table.
    The main query of the report just fetches data from the above temp table.
    The before report trigger code is working on tables, which is populated by data through a DB Link by a package.
    On submitting the report, it runs for long hours and errors out with the above mentioned message.
    I have no clue about this error.
    Please help me out.
    Thanks in advance.

    Please post the details of the application release, database version and OS.
    We are submitting a concurrent request which runs a report. the report errors out giving 101511 non-ORACLE exception.
    What type of concurrent programs?
    Please post the contents of the concurrent request log file here.
    Thanks,
    Hussein

  • Client_ole - "305500: non-ORACLE exception

    Dear all,
    I tried to open a word documet and save some data in it from a application in Forms 10g.The sequence of code used works fine how ever i get struck up when i say CLIENT_OLE2.invoke(obj_hnd,'SaveAs',arglist) and when handling exception i get a error message " 305500: non-ORACLE exception.Please let me know how to solve this.
    Thanks,
    Prathap

    I am having similar situation where it hangs at "Save as". Any help on how this was resolved is greatly appreciated.
    Thanks.

  • Inserting error: 100500: non-ORACLE exception

    Hi,
    I have bunch of inserts in post_update trigger in Forms. When I commit the changes , i notice the error message inserting error: 100500: non-ORACLE exception. I have 6 inserts and only one insert is fired. Please help. I am using forms 6.0.8
    Thanks,

    Hi,
    Thanks for the help. I had 6 inserts in one stored proc hence the problem. I split it into 3 different procs and it works now.Thanks Again.
    I didn't have any call to next-record etc...

  • 105100: non-ORACLE exception for client_image.read_image_file

    Hi Friends,
    I have configured webutil for 10g As I am able open java file bowser for the form also when i am trying load or save the file i am getting
    105100: non-ORACLE exception for this line od code
    client_image.read_image_file:img_file_name,'jpg','SIGN_IMG');
    I have checked some of the thread where it has been said that it jave exception
    I am not getting any error on the java console also i am pasting content of the java console also.
    Please help me is some one has the solution for this.
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\venkatesh
    Proxy Configuration: Manual Configuration
    Proxy: 172.20.2.51:8080
    Proxy Overrides: 192.168.10.100,192.168.10.160,<local>
    JAR cache enabled
    Location: C:\Documents and Settings\venkatesh\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://192.168.10.160:7777/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Loading http://192.168.10.160:7777/forms/java/frmall_jinit.jar from JAR cache
    Loading http://192.168.10.160:7777/forms/java/fccicon.jar from JAR cache
    Loading http://192.168.10.160:7777/forms/java/webicons01.jar from JAR cache
    Loading http://192.168.10.160:7777/forms/java/webicons02.jar from JAR cache
    Loading http://192.168.10.160:7777/forms/java/webicons03.jar from JAR cache
    Loading http://192.168.10.160:7777/forms/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0

    Hi Friends,
    This problem got soled.
    LIBPATH=/d02/10gas/products/10.1.2/lib32:/d02/10gas/products/10.1.2/jdk/jre/bin:/d02/10gas/products/10.1.2/jdk/jre/bin/classic:%LIBPATH%
    was commented in env file .
    Thanks

  • Getting 100501:non-ORACLE EXCEPTION

    Hi,
    I'm receving an error 100501:non-ORACLE exception, when I try to run the webutil package Webutil_File_Transfer.Client_To_DB on the application server. The same is working in my standalone machine.
    Regards,
    Madhu

    This normally appears when and only proper previleges are not there:
    Check if the user permissions .

  • What is the solution of  non-oracle exception erro 100501

    what is the solution of non-oracle exception erro 100501

    I'm guessing that the TRUE parameter in My_Alert causes the procedure to raise a form_trigger_failure. In that case you could do this:
    Declare
      A number(10);
    Begin
      SELECT Sif_Code
      INTO A
      FROM Pro_Stp_Rcp_Item
      WHERE Sif_Code = :Pro_Stp_Rcp_Item.Sif_Code
      AND Rou_Code = :Routes.Rou_Code;
      My_Alert('Item Code Already Registered',1,TRUE);
    Exception
      When form_trigger_failure then
        raise;
      When No_Data_Found Then null;
      When Too_Many_Rows
        Then My_Alert('Item Code Already Registered',1,TRUE);
      When Others
        Then My_Alert(Sqlerrm||' - '||sqlcode,1,TRUE);
    End;As Steve says, the problem is really caused by When Others here. I've got no problem with trapping "Others" but in forms you might be better off having a generic catch-all in the on-error trigger.

  • 305500 non-Oracle exception when I use forms 6i to open a excel

    Hi
    I get a 305500 non-Oracle exception when I use forms 6i to open a excel file. Does anyone know what the problem is? Any solution/workaround for this?
    Thanks

    Hi, this problem mainly happens if you try to close an excel sheet which you have not open or you are trying to open an excel sheet twice with the same name.

  • Non-Oracle Exception

    I have a report that is throwing a non-Oracle exception;
    in this case the exception number is 101507.
    I cannot find a list of these anywhere. Does such a list exist?
    How do I track an error like this down?
    Thanks for any info.

    is there any prefix for the exception?
    like REP- FRM- etc ?
    If yes post it. Even other wise post the entire error u are getting and brief description of problem.

  • 100501 : non - ORACLE exception

    When i am trying to open a file using text IO, application is giving 100501 : non - ORACLE exception.
    The opening of file is written withing a BEGIN EXCEPTION END statement with when others exception.
    But the cursor is jumping to the outher EXCEPTION E.G.
    BEGIN
    BEGIN
    OPENING A FILE
    EXCEPTION
    WHEN OTHERS THEN
    MESSAGE('1');
    END;
    EXCEPTION
    WHEN OTHERS THEN
    MESSAGE('2');
    END;
    my application on failing for opening of file(file is not present) raises a message 2 rather than 1.
    Kindly let me know why the message 1 is not appearing

    i m getting the same error while updating several tables from a loop in a PU.
    its because i had put raise form_trigger_failure with each statement. and i had put a exception when others at the end of the my PU.
    remove exception when others from PU as form_trigger_failure is a non oracle exception (It is there in DBMS sereies of packages) and test your form.

  • URGENT: Non Oracle Exception

    Hello,
    I'm using Forms 6i in Windows NT Cleint Server Environment. I've made a procedure in form. When executed, it goes into exception <When Others> portion and gives the following error. SQLCODE = <100501>, SQLERRM = <non-ORACLE exception>.
    How to handle this error? What manual should I refer to, to get further details about it?
    An urgent reply will be appreciated.
    Thanx.
    HASAN.

    Hi hasan,
    I dont know about the documentation for this problem but I have faced this problem once. Just check the code in the trigger where this exception is coming, there must be in some condition u have written Raise form_trigger_failure. This raise trigger failure is actually taking you to the non-oracle exception. In my view if u have multiple raise form trigger failures then try to debug by commenting one at a time that which is taking u to this exception. If u find it then do the form trigger failure in the exception of when others and this will solve the problem.
    Vishal

  • 105101: non-ORACLE exception

    I have the following statment and it is throwing 105101: non-ORACLE exception. any idea how to resolve it?
         DECLARE
         l_filename VARCHAR2(10000);
         l_filetype VARCHAR2(10);
         l_trans BOOLEAN;
         l_url varchar2(100) := 'c:\Sample.JPEG';
         l_file varchar2(50) := 'H:\';
         l_asynch boolean default false;
         l_cb_trg varchar2(50) default null;
         l_bare_filename varchar2(60);
         BEGIN -- to open dialog box and get the full path of the image where its available
         l_filename := client_get_file_name(directory_name => 'C:\'
         ,file_name => null
         ,file_filter => 'All Files (*.*)|*.*|(*.gif)|*.gif|(*.jpg)|*.jpg|'
         ,message => null
         ,dialog_type => null
         ,select_file => null
         IF l_filename IS NOT NULL THEN -- to check the filename given is valid
         l_filetype:=substr(l_filename,instr(l_filename,'.')+1,3);
         client_image.read_image_file(l_filename, l_filetype, 'MEMTDOCM005.MEM005_BIN_DOCUMENT');
         l_bare_filename := substr(l_filename,instr(l_filename,'\',-1)+1);
         ---:b6.create_date := SYSDATE; -- assign the default date when the image is inserted
         ELSE -- if its a invalid filename display error message
         NULL;
         END IF;
         COMMIT;
              GO_ITEM('mem001_membership_type');
         EXCEPTION
         WHEN OTHERS THEN
         message(sqlerrm);message(sqlerrm);
         END;

    The error could rersult from missing java-classes in the CLASSPATH-setting in your env-file. Make sure the webutil.jar is in it, as described in the webutil-configuration-guide.

  • DDE.APP_BEGIN Causes error 106561: non-oracle Exception

    Hello,
    Im trying to launch excel from my form. My form is running from Oracle E-Business Suite and i always get the error 106561: non-oracle Exception. The cause of the error is the DDE.APP_BEGIN. My first conclusion is the file path since my form isnt running from my machine. Any one can help me with this?
    DECLARE
    APPL_NAME VARCHAR2(100);
    APPLICATION_ID PLS_INTEGER;
    CHANNEL_ID PLS_INTEGER;
    BEGIN
    IF application_id IS NOT NULL
    THEN
    MESSAGE('Application is already running. ');
    ELSE
    application_id := DDE.APP_BEGIN('C:\MsOffice\EXCEL.EXE', DDE.APP_MODE_NORMAL);
    MESSAGE('application_id = '||application_id);
    MESSAGE(' ');
    END IF;
    EXCEPTION
    WHEN DDE.DDE_APP_FAILURE THEN
    MESSAGE('Could not launch application for DDE operations.');
    RAISE FORM_TRIGGER_FAILURE;
    WHEN OTHERS THEN
    MESSAGE('Error: '||TO_CHAR(SQLCODE)||' '||SQLERRM);
    RAISE FORM_TRIGGER_FAILURE;
    END;
    Thank you.

    I would guess that you hunch is correct. C:\ does not exist on the machine where the Forms server is running. The WEB_UTIL package will probably be able to do this.

  • 'net use' giving 100501 non-ORACLE exception

    hi all,
    i am taking a file from local pc to server.
    before taking a file there i need to login to the server, for this i am using '_net use_'
    Client_host('net use * \\10.3.1.53 password /user:userid');
    10.3.1.53 is ip of the server i want to access. i tried with '*' as well without '*'.
    i have checked by putting message before and after this line, it is this line which gives *100501 non oracle exception.*
    how should i tackle this problem , ?? help me
    form version 10g, server 11g, client os is windows and server os is linux
    Edited by: Amoeba on Jul 26, 2012 9:16 AM
    Edited by: Amoeba on Jul 26, 2012 9:34 AM
    Edited by: Amoeba on Jul 26, 2012 9:38 AM

    Do you have a samba server installed and a share configured properly on your linux server? otherwise you won't be able to map your network drive via net use.
    The ORA-100501 non oracle exception means you cought a raise form_trigger_failure exception in a when others exception handler which most certainly is thrown in the client_host procedure because something went wrong.
    Try the command you are issuing in the shell on your client machine and see what errors come up. Most certainly your samba server isn't configured properly (or not configured at all); as this has nothing to do with forms you should try google with the error message of net use then first.
    cheers

  • ORA-105101: non-ORACLE exception

    we have some JNI calls embedded in our forms (10g), sometimes the calls result in an ORA-105101: non-ORACLE exception, is there any way to get the stack trace so we can see what the java error actually is?
    thanks in advance.

    ...found the answer, ORA_JAVA.LAST_EXCEPTION.

Maybe you are looking for

  • How to save text in txt/xml file?

    Which application can I use to save nonformatted text (or xml) into a txt or xml file? TextEdit seems to apply all sorts of formatting. I can see this when I change the extension from rtf to txt or xml and open the file.

  • QA13..Inspection lot status should be UD without result

    Hello Guys, One of our client want report  to show for the inspection lot for which UD is done, And there is no results in the Result column in Transaction:QA13,Those records need to display in the report. But report was developed ,we are getting onl

  • What is the maximun number of front panel objects in LabVIEW 7

    I need to know what is the maximun number of indicators in a panel control, LabVIEW 7.0

  • How do I fix slight distortion in background in generating sine wave

    I'm getting a slight distortion in the background when I run the following code, the distortion is very slight and sounds like buzzing. Because of its subtle nature it makes believe there is some sort of aliasing going on with the byte casting: Note:

  • HTML Editor size limitation?

    Hi,<br> I'm using Apex 3.1 on Oracle 10g...<br> Is there a size limitation on the number of characters in the HTML Editor? <br> We have a Report/Form combo for a column. clicking on the "Edit" Link from the Report takes you to the Form where you can