ORA-29536: badly formed source

Hi,
I have created a Java source in Oracle ,actually i created it using pl/sql developer,
now i need to deliver it to client ,so i gave it in .sql file ,but then its giving the error
ora-29536: badly formed source: Encountered "<EOF>" at line 1, column 17.
following is the source code
create or replace and compile java source named filelist as
import java.io.*;
import java.sql.*;
import java.util.*;
public class filelist
public static void getList(String directory)
throws SQLException
try
File dir = new File(directory);
System.out.println("Coming after creating object");
File[] files = dir.listFiles();
System.out.println("Coming after getting list");
Arrays.sort(files, new Comparator() {
public int compare(Object o1, Object o2) {
File f1 = (File) o1; File f2 = (File) o2;
return (int) (f1.lastModified() - f2.lastModified());
// String[] list = files.list();
System.out.println("Coming after sorting1 "+files.length);
String element;
for(int i = 0; i < files.length; i++)
element = files.getName();
System.out.println("Coming after "+element);
#sql { INSERT INTO DIR_LIST (FILENAME,sequence_number)
VALUES (:element,:i) };
catch(Exception e)
System.out.println(e.getMessage());
please tell me how to get rid of this error ,or is there any there way of loading it into oracle.
Regards,
Sandeep

Yes , I have put ; for each Java statement.
issue in ; as it's used as sql terminator, ends the compilation at ;
How to resolve this, I ahev to give this as sql file.
How to change the terminator, compile the code, and reset the terminator
Suggestions are welcome

Similar Messages

  • HELP! JDeveloper 10g: WrappedDocLiteralStub badly formed class

    hello,
    Using JDeveloper 10g preview, I created a wrapper/skeleton for a webservice.
    I noticed a dependency on:
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    SO, i loacted this class in jdev.jar and extracted the 2 classes that I needed.
    I then tried to load these 2 classes into oracle using the loadjava utility.
    When trying to do this, I get an ORA-29545: badly formed class error.
    does anybody have ANY idea's whats going on?
    pelase help, thanks!
    here is a dump of what happened:
    F:\test>loadjava -user xxx/xxx@testdb -resolve -verbose WrappedDocLiteralStub$SerialisationInfo.class WrappedDocLiteralStub.class
    arguments: '-user' 'xxx/xxx@testdb' '-resolve' '-verbose' 'WrappedDocLiteralStub$SerialisationInfo.class' 'WrappedDocLiteralStub.class'
    creating : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    loading : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    creating : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    loading : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    resolving: class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    errors : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo
    ORA-29534: referenced object XXX.oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub could not be resolved
    ORA-29545: badly formed class:
    errors : class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    ORA-29545: badly formed class:
    The following operations failed
    class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub$SerialisationInfo: resolution
    class oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub: resolution
    exiting : Failures occurred during processing

    Hi,
    As a first step to solving this, can I ask:
    1. What version of the database are you using
    2. Have you loaded the Client SOAP stack (see http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.html )
    rgds
    Susan
    JDeveloper PM

  • Badly formed class

    initialization complete
    loading : HCXMLUtil
    creating : HCXMLUtil
    resolver :
    resolving: HCXMLUtil
    errors : HCXMLUtil
    ORA-29545: badly formed class: at offset 163 of HCXMLUtil.readXML expecting a class-org
    .w3c.dom.Document but encountered a class-oracle.xml.parser.v2.XMLDocument.
    loadjava: 1 errors
    Java Code:
    Document root = new XMLDocument();
    root.appendChild( result );
    conn = getConnection();
    sav = new OracleXMLSave( conn, sTable );
    sav.insertXML( root ); // **** Error here
    Please help.

    Yes, I am using Oracle 9i version 2 with JDK 1.3.1. I have also tried loading in without -resolve option. But when I run the program, it didn't like it because these classes are still marked as invalid.
    The owner of the imported classes (ILOG) is still trying to figure out why as well. Probably some Oracle DBA experts like you out there may be able to throw in a few suggestions on what could be the problem?
    A small part of the error stack:
    resolving: class ilog/jum/client/IluCollector$Getter
    errors : class ilog/jum/client/IluCollector$Getter
    ORA-29534: referenced object xxx.ilog/jum/client/IluCollector could notProbably some Oracle DBA experts like you guys can throw in a few more suggestions on what could be the problem?
    be resolved
    ORA-29545: badly formed class:
    errors : class ilog/jum/client/IluCollector$SystemPropertyGetter
    ORA-29534: referenced object xxx.ilog/jum/client/IluCollector$Getter cou
    ld not be resolved
    ORA-29545: badly formed class:
    errors : class ilog/jum/client/IluCollector
    ORA-29534: referenced object xxx.ilog/jum/client/IluSAM could not be res
    olved
    ORA-29545: badly formed class:
    errors : class ilog/jum/client/IluConnectionThread
    ORA-29534: referenced object xxx.ilog/jum/client/IluJumServerUtil could
    not be resolved
    ORA-29545: badly formed class:
    errors : class ilog/jum/client/IluJumLog
    ORA-29545: badly formed class:
    errors : class ilog/jum/client/IluJumServerUtil
    ORA-29545: badly formed class:
    errors : class ilog/jum/client/IluLicenseChecker
    ORA-29534: referenced object xxx.ilog/jum/util/IluDigestorInvalidFormatE
    xception could not be resolved
    ORA-29545: badly formed class:
    errors : class ilog/jum/client/IluLicenseReader
    ORA-29534: referenced object xxx.ilog/jum/client/IluLicenseChecker could
    not be resolved
    ORA-29545: badly formed class:
    Thanks,
    M

  • 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.

  • 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.

  • ORA-39000: bad dump file specification in 11gRAC environment...

    Hi All,
    I am having two version of Database. Source database is non-RAC environment and target is having RAC environment. I want to perform expdp from 10g and impdp to 11g RAC env.
    expdp db is : Oracle 10.2.0.4 (Enterprise Edition) and impdp is : Oracle 11.2.0.1 (EE) RAC environment.
    when I do impdp its giving error:
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31640: unable to open dump file "/home/oracle/try_1.dmp" for read
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    and the below is the syntax for impdp:
    impdp system/<password>@<service_name> remap_schema=scott10g:scott11g dumpfile=try_1.dmp logfile=scott11g.log  directory=mydir
    Is there any specific method to do impdp in RAC?
    Thanks...

    see the below method:
    ~~~~~~~~~~~~~~
    SQL> select * from dba_directories;
    SYS DATA_PUMP_DIR /u01/app/oracle/admin/prod_db/dpdump/
    SYS DPUMP_DIR /u01/app/oracle/product/10.2.0/db_1/impdata_dir
    SQL> !
    [oracle@temple01 ~]$ expdp system/manager dumpfile=try_1.dmp logfile=try.log directory=data_pump_dir schemas=tom
    Export: Release 10.2.0.1.0 - Production on Monday, 15 November, 2010 17:08:53
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** dumpfile=try_1.dmp logfile=try.log directory=data_pump_dir schemas=tom
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
    /u01/app/oracle/admin/prod_db/dpdump/try_1.dmp
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully completed at 17:09:03
    [oracle@temple01 ~]$ cd /u01/app/oracle/admin/prod_db/dpdump/
    [oracle@temple01 dpdump]$ impdp system/manager dumpfile=try_1.dmp logfile=try_imp.log directory=data_pump_dir remap_schema=tom:test1
    Import: Release 10.2.0.1.0 - Production on Monday, 15 November, 2010 17:10:33
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** dumpfile=try_1.dmp logfile=try_imp.log directory=data_pump_dir remap_schema=tom:test1
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at 17:10:34
    Edited by: CKPT on Nov 15, 2010 5:20 PM

  • ORA-29261: bad argument using UTL_HTTP.REQUEST_PIECES

    I am running Oracle 10gR2.
    I keep getting ORA-29261: bad argument when setting the proxy either by the UTL_HTTP.SET_PROXY or UTL_HTTP.REQUEST_PIECES code. I have searched this forum and found no resolutions. I have set this proxy in the browser and it works fine. The following are excerpts of my code:
    Begin
       utl_http.set_proxy('http://myproxy/theProxyFile');
    End;The error is:
    ORA-29261: bad argument
    ORA-06512: at "SYS.UTL_HTTP", line 22
    ORA-06512: at "SYS.UTL_HTTP", line 888
    ORA-06512: at line 2
    I get the same error when trying to set the proxy via UTL_HTTP.REQUEST_PIECES.
    Thanks in advance,
    Becky
    Edited by: Becky Eisen on Aug 8, 2011 10:15 AM
    Edited by: Becky Eisen on Aug 8, 2011 10:21 AM

    After submitting this, I realized that I needed to look in the Proxy file for the actual proxy! Duh.

  • Encountering ORA-39000: bad dump file specification while using datapump

    Hello,
    I am trying to use datapump to take a export of a schema(Meta_data only). However, I want the dump file to be named after the date & time of the export taken.
    When i use the following command -- the job runs perfectly.
    expdp system@***** dumpfile=expdp-`date '+%d%m%Y_%H%M%S'`.dmp directory=EXP_DP logfile=expdp-`date '+%d%m%Y_%H%M%S'`.log SCHEMAS=MARTMGR CONTENT=METADATA_ONLY
    However, I want to run the export using an parfile. but if use the below parfile, i am encountering the following errors.
    USERID=system@*****
    DIRECTORY=EXP_DP
    SCHEMAS=TEST
    dumpfile=expdp-`date '+%d%m%Y_%H%M%S'`
    LOGFILE=MARTMGR.log
    CONTENT=METADATA_ONLY
    expdp parfile=martmgr.par
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning option
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-39157: error appending extension to file "expdp-`date '+%d%m%Y_%H%M%S'`"
    ORA-07225: sldext: translation error, unable to expand file name.
    Additional information: 7217
    How do i append date&time to the dumpfile name when using a parfile.
    Thanks
    Rohit

    I got the below error while using the dumpfile parameter as dumpfile=dump_$export_date.dmp
    Export: Release 11.2.0.2.0 - Production on Thu Feb 7 16:46:22 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning option
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-39157: error appending extension to file "dump_$export_date.dmp"
    ORA-07225: sldext: translation error, unable to expand file name.
    Additional information: 7217
    Script i used is as follows
    export ORACLE_HOME=/orcl01/app/oracle/product/11.2.0.2
    export ORACLE_SID=$1
    export PATH=$PATH:$ORACLE_HOME/bin
    echo $ORACLE_HOME
    export export_date=`date '+%d%m%Y_%H%M%S'`
    echo $export_date
    expdp parfile=$2
    parfile is
    DIRECTORY=EXP_DP
    SCHEMAS=MARTMGR
    dumpfile=dump_$export_date.dmp
    LOGFILE=MARTMGR.log
    CONTENT=METADATA_ONLY

  • ADS: Badly formed SStringKey found in StringKey

    Hello,
    I have customizing the application TRM. There I'm using the the formular "ISR_FORM_SPI1". The formular call in the application "Tax Office Cockpit" from the taxagent in the Enterprise Portal. If I'm calling the application in language "en" it works fine. But If I'm calling it in languge "de" the webdynpro dumps with "WebDynpro Exception: Der Aufruf des ADS schlug fehl. Informationen zur Ursache finden Sie im error.pdf auf dem Applikationsserver".
    I found with debugger the error message from ADS:
    Begin operation: Render, elapsed time = 2 ms.#  
    End operation: Render, elapsed time = 1763 ms.#  
    Begin operation: Render Log, elapsed time = 1763 ms.#  
    End operation: Render Log, elapsed time = 1818 ms.#  
    om.aific error information:#   a file-system error has occurred (^0)#  
    INTERNAL ERROR! Badly formed SStringKey found in StringKey::GetKey().#   ;
    [Error Log file "2008.09.19.103624SAFPMSTURM.pdf" written  to /usr/sap/HAL/SYS/global//AdobeDocumentServices/renderErrorLog/errorFiles]#
    In the 2008.09.19.103624SAFPMSTURM.pdf written:
    Severity Message Id Date/Time Description
    Warning 29203 19/09/08 10:36 AM Invalid node type: tags
    Warning 29323 19/09/08 10:36 AM The fault occurred on line 2.
    (and so on same message 9x)
    An expressionless information...?
    If I use an own formular (e.g. ZFORM) the error is:
      Processing exception during a "UsageRights" operation.#
      Request start time: Thu Sep 18 18:33:18 CEST 2008#
      com.adobe.ads.exception.FailedCreationException: ##
      Specific error information:#a file-system error has occurred (^0)#
      INTERNAL ERROR! Badly formed SStringKey found in StringKey::GetKey().###
      Exception Stack Trace:#
      com.adobe.ads.exception.FailedCreationException: ##
      Specific error information:#
      a file-system error has occurred (^0)#
    Who know an answer of the two problems?
    Reguards
    Maik

    Workaround
    This may not work for all, but this is something that seem to work for us.
    Instead of loading the pdf directly from the server like we normally do (using Response.Redirect or Server.Transfer etc).
    Let the html page load and in the onload of the html page, call a javascript to set the window.location to the server path of the pdf and then when the pdf downloads and displays, it seem to work fine for us on all versions.
    This is the general idea and the way I did in .Net was to use ClientScript.RegisterStartupScript and set the window.location as the pdf path instead of where the pdf was getting loaded from the server.
    Hope this helps someone.

  • ORA-39000: bad dump file specification

    Hi ,
    i exported the dumpfile with %U and its genereated successfully with suffix of 101..102..till 243.
    But while importing its searching the file from 01 02 and so in other env.
    Could you please assist.
    Actual file name start with:
    Dump file set for EXPDPUSER.EXPFULL_NW is:
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw101.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw201.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw102.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw202.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw103.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw203.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw104.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw204.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw105.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK8/asm_dpump/prod_data_expdb_nw242.dmp
      +LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw143.dmp
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-31640: unable to open dump file "+LMDRSITERDB_ASM_DATA1/dpump/PROD_data_expdb_NW01.dmp" for read
    ORA-17503: ksfdopn:2 Failed to open file +LMDRSITERDB_ASM_DATA1/dpump/PROD_data_expdb_NW01.dmp
    ORA-15173: entry 'PROD_data_expdb_NW01.dmp' does not exist in directory 'dpump'Thanks,

    Mishra wrote:
    Hi ,
    i exported the dumpfile with %U and its genereated successfully with suffix of 101..102..till 243.
    But while importing its searching the file from 01 02 and so in other env.
    Could you please assist.
    Use the SAME format (with the %U) that you used for the export.
    This:
    "+LMDRSITERDB_ASM_DATA1/dpump/PROD_data_expdb_NW01.dmp"does not look anything like these:
    "+LMDRPRDERDWDB_ASM_DATA_DISK9/asm_dpump/prod_data_expdb_nw101.dmp":p

  • Create project from template failed with "badly formed pathname" error message

    Hi,
    I am trying to create a project from a custom template, but I am getting the following error message prompt:
    LabWindows/CVI could not create
    Test_Project
    because of an error: Badly formed pathname
    However, when I checked the target project directory, I see the project files are copied correctly.  I don't know if there is something missing from our custom templates?  Of, if there is something wrong with our custom template?
    I am using LabWindows/9.0
    Thank you.
    Peggy

    Hi Peggy,
    Did I understand you correctly that the files for the new project appear to have been created, but the error dialog still shows? In addition to Wolfgang's suggestions, take a look at the help section on New Project and File Templates. This describes everything that should be needed to create a custom template. Also, try to create a new, very basic custom template and make sure that you can use it successfully. If you can, start adding in the functionality of the original template, and test along the way. Hopefully either this new one will work once you finish, or you will see at which point it is breaking, and we can debug from there.
    Best Regards,
    John M
    National Instruments
    Applications Engineer

  • UTL_MAIL  = ORA-29261: bad argument

    Hi All,
    I am using UTL_MAIL for the first time. I was tring execute UTL_MAIL without setting SMTP_OUT_SERVER
    ORA-29261: bad argument
    Is it mandatory to set SMTP_OUT_SERVER parameter to user UTL_MAIL?
    Thanks in advance for the help.
    Regards
    Murali

    muralirachakonda wrote:
    I am using UTL_MAIL for the first time. I was tring execute UTL_MAIL without setting SMTP_OUT_SERVER
    ORA-29261: bad argument
    Is it mandatory to set SMTP_OUT_SERVER parameter to user UTL_MAIL?Yes. Else how is the UTL_MAIL code to know what the mail server hostname (or IP address) is, and what port to connect to? Lemme check...
    Okay - had a look at the code. You do not need to explicitly set this paramater. UTL_MAIL checks for SMTP_OUT_SERVER. If this parameter does not exist or is null, then it uses the DB_DOMAIN parameter as the mail server's name.
    Hmmm.. not sure that that will work as the standard is to use mail.domain.com and not domain.com for the domain's SMTP server.
    Rather set SMTP_OUT_SERVER explicitly.
    PS. Correction. The code is buggy (no surprises there), assuming the unwrapping worked correctly. The code does not cater for a NO_DATA_FOUND exception, the code that assigns the DB_DOMAIN will never be executed. To be honest - this code looks like it has been written by an utter PL/SQL n00b. Which is of concern as this is a standard Oracle PL/SQL supplied package.
    Edited by: Billy Verreynne on Feb 4, 2011 6:06 AM

  • ORA-39071: Value for INCLUDE is badly formed.

    Hi,
    in 10g , when exporting by :
    expdp scott/tiger@mydb directory=dpump_dir1 dumpfile=scott.dmp INCLUDE=TABLE:"IN ('EMP')"  content=DATA_ONLY FILESIZE=1000MI receive :
    ORA-39071: Value for INCLUDE is badly formedAny help ?
    I coppied /past the INCLUDE part of code from :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215.pdf
    Thank you.

    HI..
    What exactly do you need to do? If, you want to take the export of EMP table only then use
    expdp scott/tiger@mydb directory=dpump_dir1 dumpfile=scott.dmp logfile=scott.log tables=EMP content=DATA_ONLY FILESIZE=1000M
    Anand
    Removed the include syntax
    Edited by: Anand... on Aug 31, 2009 8:28 PM

  • Read XML Form source

    Hello all,
    I'm trying to programaticaly read the contents of an XML Form. I get my resource, grab it's content, get an input stream and start reading. The problem is that instead of a simple XML file being read, what comes back is an entire HTML page with all the layout for the list viewer form, not the XML source.
    The code that I'm using is below, I know that it's bad but this is just a test program so it doesn't matter.
    StringBuffer sb = new StringBuffer();
    IResource res = ....;// Here I get my resource
    try{
      IContent con = res.getContent();
      try{
        InputStream is = con.getInputStream();
        int c;
        while((c = is.read())!=-1){
          sb.append((char)c);
        scrollingText = addToText(scrollingText, sb.toString()+"<br>");
      }catch(ContentException e){
      }catch(IOException e){
    }catch(ResourceException rE){
    So is it possible to access the XML source so that I can read values of specific elements? How?
    Regards,
    Patrick.

    Hi Patrick,
    Please check out my reply in this thread :
    Re: Access XML content of XMLForm input
    Basically you need to use getUnfilteredContent() instead of getContent(), so that the XML doesn't get formatted by the resource filter.

  • Occasional ora-6502 using forms 6i and 10g

    Hi all.
    We have been experiencing some weird and unexpected ora-6502 errors in some of our forms 6i modules running against 10g (rel 1 or 2).
    Forms modules are correctly functioning and for some reason, one day an ora-6502 error suddenly pops up.
    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.
    I know that this may sound hard to believe, but it has happened several times. All we do is put some message built in, recompile all, and the error is gone (for a while).
    So my questions are:
    - Is this a known issue beween forms 6i and 10g Db?.
    - Is there a patch on Metalink ( we use Forms [32 bits] Versión 6.0.8.26.0 (Producción))
    - A workaround?
    and most important
    - Have anyone been exposed to a similar situation?
    Regards, Luis ...!

    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.Sounds like the form has not been "clean compiled" against the server on which it is running. Try a "Compile All", which causes all previously compiled program units to be compiled fresh.
    Or even better, clean out all the compiled code from your fmb before compiling the fmb on the server where it runs.
    See this topic:   Re: Why does this happen - find ';', replace with ';'?

Maybe you are looking for