Strange Error- Invalid pc in line number table

We have a web application on OAF(Oracle Application Framework) hosted using jdk 1.5.. we are trying to backport it to jdk 1.4.2_04.. The code compiles successfully but while trying to run the application on 1.4.2_04, it ends up in an unexpected exception saying..
JBO-30003: The application pool (ap639sdbpqecu220009oracle.apps.fem.mappingwizard.server.MappingWizardAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassFormatError, msg=oracle/apps/fem/mappingwizard/validation/server/ValidationEngineAMImpl (Invalid pc in line number table)
Has any one encountered this error previously?? Any known workarounds/solutions.. I am pasting the error stack below-
JBO-30003: The application pool (ap639sdbpqecu220009oracle.apps.fem.mappingwizard.server.MappingWizardAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassFormatError, msg=oracle/apps/fem/mappingwizard/validation/server/ValidationEngineAMImpl (Invalid pc in line number table)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1619)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2366)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:427)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:214)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:473)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1177)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._OA._jspService(_OA.java:98)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)

I never saw it before but the ClassFormatError states that the runtime can't read your class file because it is malformed.
Try to remove all your class files and recompile again. I think normally it is backward compatible, but try to use the 1.4 runtime environment in your IDE.

Similar Messages

  • Invalid pc in line number table

    Hi,
    I try to decompile and recompile the class file and copy it back to the server getting the following error. I am using the latest Jdeveloper with OA , The ARU number is 5455514. I tried with few other classes, it works fine. Getting error for only one class (i.e. RcptTrxFListener). It's a telnet application for mobile devices.
    Can anyone help?
    Thanks
    Lalit
    [Wed Oct 11 05:39:59 CDT 2006] (Thread-10) SM_EXCEPTION: Exception occurred with user LALIT MISHRA
    java.lang.ClassFormatError: oracle/apps/inv/invtxn/server/RcptTrxFListener (Invalid pc in line number table)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
         at oracle.apps.inv.invtxn.server.RcptTrxPage.<init>(RcptTrxPage.java:552)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.apps.mwa.container.StateMachine.loadPage(StateMachine.java:1329)
         at oracle.apps.mwa.container.StateMachine.loadMenuItem(StateMachine.java:1541)
         at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:926)
         at oracle.apps.mwa.presentation.telnet.PresentationManager.handle(PresentationManager.java:690)
         at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:818)

    Hi,
    Have you solved this error? I'm encountering the same error. Please reply ASAP.
    OAF gurus, this is the error i'm getting..
    ## Detail 0 ##
    JBO-30003: The application pool (dev4.devorg.orgDVI21540devorg.oracle.apps.po.createpo.server.CreatePosAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassFormatError, msg=devorg/oracle/apps/po/createpo/server/CreatePosAMImpl (Invalid pc in line number table)
    Thanks in advance.

  • XML Parsing Error: no element found Line Number 1, Column 1:

    Hi All,
    I have deployed EAR on my standalone server using JDEV 11.1.1.6.0. I am able to get the WSRP portlet producer page on
    http://<server>:7001/contextRoot. But when i try to click on any of the WSDL URL it gives me "XML Parsing Error: no element found Line Number 1, Column 1:"
    and from IE it gives me: XML document must have a top level element. Error processing resource
    there can be a issue with the WSRPContainer.jar file. So i have remove it from my deployment profile, EAR and lib/classpath files.
    Can you please suggest a workaround.
    Regards,
    ND
    Edited by: ND on Dec 4, 2012 9:57 PM

    Hi All,
    this error normally comes when the WLS domain is not not properly created. if you get some exception for ./provesecurity.sh file while creating the domain, then the XML error comes.
    I did not went into the depth but figured out a workaround: restart the VM/hosted box and then create the domain, remember to use diff port name while creating it from the domain creation script.
    Regards,
    ND

  • Finding the right line when Oracle says an error happens at a line number.

    Hi,
    Were using Oracle 11.1.
    I use TOAD 10 to develop.
    When I run a procedure sometimes I'll get an error message saying "an Oracle error happened at ### line number"
    When I go to that line number, that's usually not where the error is.
    I'm not talking about an error where they say it occurs at line 1.
    It'll say line 124 and in the TOAD editor that will occur in the middle of a cursor or something.
    I'm pretty sure that's not where the error actually is.
    Is there any way to find out where Oracle is talking about?
    Thanks!

    Hi,
    In triggers, the first DECLARE or BEGIN statment is counted as line 1, even though there are often several lines before that.
    In other procedures, the line numbers are relative to the beginning of the relevant CREATE statement, e.g. "CREATE OR REPLACE PACKAGE BODY ...".
    Where these statements are in your files has nothing to do with the error messages. For example, if you have a package spec that goes on for 50 lines, then 10 lines of comments, and then a package body, all in the same file, then the line numbers that you see for the pacakage body will be 60 lower than the line numbers from your file. (You may want to use separate files, each starting with a CREATE command on the fitst line, for just this reason.)
    Oracle often gives multiple error messages for the same error. For example, if a cursor definition begins on line 50, and you mis-spell a column name on line 55, you may get a message saying "statement ignored" referencing line 50, but you'll probably get another (more useful) error referenccing the particular problem on line 55.
    Of course, some errors can't be detected right away. For example, if you forget a single-quote at the end of a string literal, the compiler will think that all your subsequent code is part of that string literal. Not unitl it encounters another single-quote, perhaps at the beginning of another string literal, dozens of lines later, will it know that any error occurred.
    Those are the main pitfalls I know about.
    If you have an example of something that confuses you, post it. Shorten the code as much as possible such that it's easier to post, but still gets the same error. Post the complete error message, too.

  • XML parsing fatal error: Invalid document structure, line: 1, file: ... (in this case "Classic.xml"

    dreamweaver not initiating..claiming a parsing fatal cerr because classic.xml is corrupted. I tried re-installing dreamweaver... nothing

    See here Dreamweaver CS5 fatal error XML parsing: Invalid document structure, line:1, File: C:\User\Tyler\App

  • Strange error "Invalid column name 'not applicable'

    When I am trying this piece of code on Solaris 10 having sybase ASE 12.5 installed :
    ResultSet rs = stmt.executeQuery("sp_helpdb master");
    while(rs.next()){
    System.out.println(rs.getString(1));
    I am getting the following error:
    Invalid column name 'not applicable'
    This query returns multiple result sets.
    I am able to print all values in the first result set only.
    Its failing in rs.next();
    I am using jConnect 5.2 driver.
    The same query is executing fine on Solaris 8 having ASE 12.0 installed.
    If i use :
    ResultSet rs = stmt.executeQuery("sp_helpdb master");
    then there is no problem in Solaris 10
    Plz help me.
    Its urgent

    You need to use execute() not executeQuery() in the scenario below and use the multi-result set logic
    If you are using jConnect, see the samples for an example.

  • Adobe Flash Cs4 : xml parsing fatal error invalid document structure line 1 file

    Hi there.. Well, this is in the title.. I got a problem with adobe flash cs4 : I can't launch it normaly and its says that a fatal error has occured.. I really don't know what I must do.. Please, help me.... I've just lost like 3 or 4 files of adobe by trying to reinstall it.. Help me please..
    ** My tools are now invisible **

    Say do you have a designer.xml file

  • Getting error invalid cursor at line 6?

    create or replace procedure cust_pack(p_dept_id in number,p_emp_id in number) is
    v_credit_limit number:=2000;
    cursor cur_cust(p_dept_id in number,p_emp_id in number) is
    select last_name,first_name,salary from employees where department_id=p_dept_id and employee_id=p_emp_id;
    begin
    for cust_record in cur_cust(50,188)
    loop
    dbms_output.put_line('name='||cust_record.last_name||',sal='||cust_record.salary);
    close cur_cust;
    end loop;
    end;
    Plz do rectify the problem . . .

    Why are making the solution to complex.. you can try simple way as like below.
    create or replace procedure cust_pack(p_dept_id in number,p_emp_id in number) is
    v_credit_limit number:=2000;
    begin
    for cust_record in (select ename,sal from emp where deptno=p_dept_id and empno=p_emp_id)
    loop
    dbms_output.put_line('name='||cust_record.ename||',sal='||cust_record.sal);
    end loop;
    end;

  • Since upgrading to FF5, i get the following xml error on local development server (IIS 7 Windows 7): XML Parsing Error: no element found, Line Number 1, Column 1. The pages display fine when uploaded to hosting server. How do i resolve it

    All aspx pages running locally via IIS or Visual studio inbuilt server can not be displayed in FF5. This problem has only occured since upgrading to FF5. The same sites/code worked fine with the previous version of FF.
    When uploaded onto a hosting server the pages display fine. Pages all display ok on local IIS on IE, chrome, opera etc.
    I do go through a proxy server, but so do the other browsers.
    All this means i can't develop locally on FF. Help please!

    Maybe your application doesn't support "Send NTLMv2 response only. Refuse LM & NTLM".
    https://support.software.dell.com/zh-cn/foglight/kb/133971

  • Dreamweaver CS5 fatal error XML parsing: Invalid document structure, line:1, File: C:\User\Tyler\App

    XML parsing fatal error: Invalid document structure, line: 1, file: C:\User\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configureation\Workspace\Classic.xml
    I have gone through older disscussion forums and have followed the steps recommended by deleting the corrupted .xml file itself (in this case "Classic.xml") but imidiatly after when i try to open Dreamweaver again, i am prompted with the same fatal error message including the file that i have just deleted. Next i deleted the entire configure file and this did not help either.
    It is also odd that when i follow the path to find the corrupted .xml file from the prompt, the path is different in that i do not find the "Classic.xml" file through th "en_US\Configuration\Weorkspace" navigation, however i do find the corrupt "Classic.xml" file in the "configure" folder of the "Adobe Dreamweaver CS5" file.
    Im not sure what to do now and i would really like Dreamweaver back up and running so please help if you can!!!
    Thanks
    -Tyler

    Step 1: Close DW, Navigate to C:\User\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configureation\Workspace\ and delete that Classic.xml file
    Re-open DW. DW should auto-create your Workspace layout XML file again. See if it works fine.
    PROCEED TO STEP 2 ONLY IF STEP 1 DOESN'T SOLVE THE ISSUE
    Step 2: Navigate to C:\Users\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en-US\Configuration and delete the entire 'CONFIGURATION' folder. Re-open DW. DW should auto-create your configuration folder based on predefined layouts and config options. This will definitely fix your issue.
    Reason for this issue: This issue would have been caused due to a malformed workspace layout configuration. That may happen due to customizations you may have done to the layout/ improper file permissions/ improper shutdown on Windows.
    See if these fixes resolve your issue and post your results here.
    Cheers,
    ST

  • Error- invalid identifier

    create or replace Procedure update_dynamic_pro (tab1 varchar2,src_col1 varchar2,tar_col1 varchar2,tab2 varchar2,src_col2 varchar2,tar_col2 varchar2)
    is
    v_sql varchar2(9000);
    cursor c1(p_variable1 varchar2) is select distinct(p_variable1) from ACD_BAL_400010_DUMMY;
    begin
    for i in c1(src_col1)
    LOOP
    v_sql := 'update ' || tab1 || ' set ' || tar_col1 || ' = (select distinct(' || tar_col2 || ') from ' || tab2 || ' where ' || src_col2 || ' =i)where '||src_col1 || ' = i';
    EXECUTE IMMEDIATE v_sql;----------------------ORA-00904: "I": invalid identifier
    EXIT WHEN c1%NOTFOUND;
    end loop;
    end;
    Can you'll please tell me a solution for this error "ORA-00904: "I": invalid identifier" in line number 10

    1008654 wrote:
    create or replace Procedure update_dynamic_pro (tab1 varchar2,src_col1 varchar2,tar_col1 varchar2,tab2 varchar2,src_col2 varchar2,tar_col2 varchar2)
    is
    v_sql varchar2(9000);
    cursor c1(p_variable1 varchar2) is select distinct(p_variable1) from ACD_BAL_400010_DUMMY;
    begin
    for i in c1(src_col1)
    LOOP
    v_sql := 'update ' || tab1 || ' set ' || tar_col1 || ' = (select distinct(' || tar_col2 || ') from ' || tab2 || ' where ' || src_col2 || ' =i)where '||src_col1 || ' = i';
    EXECUTE IMMEDIATE v_sql;----------------------ORA-00904: "I": invalid identifier
    EXIT WHEN c1%NOTFOUND;
    end loop;
    end;
    Can you'll please tell me a solution for this error "ORA-00904: "I": invalid identifier" in line number 10Why the dynamic SQL?
    Not to be mean here, but since you don't seem to know how to debug your procedure and find out why it's not compiling, I'm going to assume you're relatively new to the Oracle world. Are you aware of the ramifications of abusing dynamic SQL like this?
    Cheers,

  • AUSST - Update Server issue: IIS7 406 errors, and ERROR: Invalid webfeed

    I spent today configuring and installing an instance of the AUSST2.0 software, following http://www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Up dateServerSetupTool_TechNote.pdf 
    Here's where I am:
    Via Firefox/IE I get the following when browsing to the Updaterfeed.xml:
    XML Parsing Error: syntax error
    Location: <SERVER LOCATION>
    Line Number 1, Column 1:
    0001
    ^
    Which I expect is ok...  the server is sending the updaterfeed.xml. I can also download the updates directly through IE or Firefox.  The corresponding entry in the IIS log is:
    /AdobeUpdate/webfeed/oobe/aam20/win/updaterfeed.xml - 80 - <MY IP ADDRESS> Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:9.0.1)+Gecko/20100101+Firefox/ 9.0.1 304 0 0 196
    When I attempt to do an update via Photoshop, I receive:
    "The update server is not responding.  The server might be offline temporarily, or the internet or firewall settings may be incorrect.  Please try again later.  Error Code: U41M1C213 "
    This happens regardless of firewall status locally or on the server.  Other communication to the server is fine.
    the aamu.log on level 10 says:
    2012-01-17T20:01:52: Entering slurpURL: (http://<SERVER IP>/AdobeUpdate/webfeed/oobe/aam20/win/updaterfeed.xml) bytesPushed
    2012-01-17T20:01:52: main download loop - waiting for network availability
    2012-01-17T20:01:52: have network connection
    2012-01-17T20:01:52: connected to: = http://<SERVER IP>/AdobeUpdate/webfeed/oobe/aam20/win/updaterfeed.xml
    2012-01-17T20:01:52: received status code from server
    2012-01-17T20:01:52: slurpURL: (http://<SERVER IP>/AdobeUpdate/webfeed/oobe/aam20/win/updaterfeed.xml) bytesPushed = 0
    2012-01-17T20:01:52: CFU(Webfeed): dumping webfeed: C:\Users\<MY USERID>\AppData\Local\Adobe\AAMUpdater\1.0\Data\webfeed.xml
    2012-01-17T20:01:52: CFU(Webfeed): ERROR: Invalid webfeed. Could not read webfeed sequence number.
    2012-01-17T20:01:52: UCGetprogress : (B) Returning with value = 1
    2012-01-17T20:01:52: UCGetprogress : Check for updates returning state for reffId  =
    2012-01-17T20:01:52: UCGetprogress : Check for updates returning state     = 41
    2012-01-17T20:01:52: UCGetprogress : Check for updates returning outError  = 213
    2012-01-17T20:01:52: UCGetprogress : Check for updates returning percent   = 0
    2012-01-17T20:01:52: UCGetprogress : Check for updates returning unique error code string   = U41M1C213
    2012-01-17T20:01:52: UCGetprogress : (D) Returning with value = 1
    2012-01-17T20:01:52: Stepped into << UCGetUserPreferences >> call.
    2012-01-17T20:01:52: Returning from << UCGetUserPreferences >> call with return value -  = 1
    The subsequent IIS Log entry for this is:
    GET /AdobeUpdate/webfeed/oobe/aam20/win/updaterfeed.xml - 80 - <MY IP ADDRESS> AAM+Updater+1.0 406 0 0 19
    I've added the <add name=”SSINC-xml” path=”*.xml” verb=”*” modules=”ServerSideIncludeModule” resourceType=”Unspecified”> to my web.config, per http://blogs.adobe.com/oobe/2010/09/enterprise-in-house-update-hosting -for-cs5.html
    I continue to get the U41M1C213 error whilst updating.  I can get the updates when I remove the AdobeUpdater.Overrides from C:\ProgramData\Adobe\AAMUpdater\1.0 (Win7)
    Help?

    I was directed here by another adobe employee.   http://forums.adobe.com/thread/950769
    I'll try again....  here is the current thread.  http://forums.adobe.com/thread/951039

  • Dreamweaver stopped working. XML parsing fatal error: Invalid document structure, line1  Tried reloading DW. Didn't work.

    Dreamweaver (CS5) stopped working.  The error message says - XML parsing fatal error: Invalid document structure, line: 1, I tried to reload DW. No change. I also tried to reset the computer to an earlier date before I reloaded. Also didn't work. Can anybody shed some light?

    The first thing to try is Deleting Corrupted Cache.  Be sure to turn on Hidden Files & Folders in your file manager (Win Explorer or Mac Finder).
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    If all else fails, use the CC Cleaner Tools below to wipe DW from your system, followed by a software re-install.
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Keep us posted on your results.
    Nancy O.

  • Can't open DW CS5.5  Invalid document structure line 1 - anyone know how to fix this?

    I get:
    XML parsing fatal error: Invalid document structure, line 1, file:

    The first thing to try is Deleting Corrupted Cache in DW
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    If all else fails, use the CC Cleaner Tools below followed by a software re-install.
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Nancy O.

  • OracleBulkCopy - strange behaviour ("invalid number")

    Hi there,
    I'm using the .NET Oracle Data Client. I use the "OracleBulkCopy"-class for copying a datatable to the database. This worked for at least one table for me very well and really fast. But now I recreated the table. The previous table had among some other columns :
    LSL FLOAT
    USL FLOAT
    TARGET FLOAT
    CHARTID NUMBER(24,0)
    The new table now has :
    LSL BINARY_DOUBLE
    USL BINARY_DOUBLE
    TARGET BINARY_DOUBLE
    CHARTID NUMBER(24,0)
    Now the strange things began to happen, not only for this table, also for another where I changed some FLOATs to BINARY_DOUBLE.
    I get this error on the insert which works on the old table with exactly the same data :
    Error in row '1' column '18'
    ORA-01722: invalid number
    Column '18' is the column "CHARTID" which was changed in no way, the schema definition is exactly the same as before. The column has a valid number in it, to be exact it's a 201 .
    Now the next really interesting thing is, if I copy the data from the old table where the insert worked to the new table, using this command
    INSERT INTO NEWTABLE (SELECT * FROM OLDTABLE WHERE PK=48311)
    I don't get any errors. The values inserted are correct.
    I even tried casting all double-values to type double and all number-values to int before inserting the datatable - it didn't change anything.
    I would appreciate any help.
    Does anyone have an idea what is happening here?
    Thanks & best regards,
    Compu
    P.S.: The code used for the insert :
    // It does not make any difference according to the error if I comment the following 3 lines
    OracleGlobalization glob = OracleGlobalization.GetThreadInfo();
    glob.DateFormat = "yyyy-mm-dd hh24:mi:ss";
    OracleGlobalization.SetThreadInfo(glob);
    OracleBulkCopy copy = new OracleBulkCopy(conn);
    copy.ColumnMappings.Add("PK", "PK");
    // some other ColumnMappings, all correct
    copy.DestinationTableName = tableName;
    copy.BulkCopyTimeout = 10000;
    copy.WriteToServer(dt); // the error occures on this line
    copy.Close();
    Edited by: Compufreak on 27.09.2011 01:55

    Wow, I think I found the problem. I wrote a little test :
    CREATE TABLE TEST1 (FLOATCOL FLOAT,NUMCOL NUMBER)
    CREATE TABLE TEST2 (FLOATCOL BINARY_FLOAT,NUMCOL NUMBER)
    CREATE TABLE TEST3 (FLOATCOL BINARY_DOUBLE,NUMCOL NUMBER)
           static void Main(string[] args)
                DataTable dt = new DataTable();
                dt.Columns.Add("FLOATCOL"); //  dt.Columns.Add("FLOATCOL", typeof(double))
                dt.Columns.Add("NUMCOL"); //  dt.Columns.Add("FLOATCOL", typeof(int))
                DataRow newRow = dt.NewRow();
                newRow["FLOATCOL"] = "1.337"; //  newRow["FLOATCOL"] = 1.337
                newRow["NUMCOL"] = "5"; //  newRow["NUMCOL"] = 5
                dt.Rows.Add(newRow);
                OracleConnection conn = new OracleConnection(Properties.Settings.Default.OracleString);
                conn.Open();
                OracleBulkCopy copy = new OracleBulkCopy(conn);
                copy.ColumnMappings.Add("FLOATCOL", "FLOATCOL");
                copy.ColumnMappings.Add("NUMCOL", "NUMCOL");
                copy.DestinationTableName = "TEST1";
                copy.WriteToServer(dt);
                copy.DestinationTableName = "TEST2";
                copy.WriteToServer(dt);
                copy.DestinationTableName = "TEST3";
                copy.WriteToServer(dt);
                copy.Close();
                conn.Close();
            }With the commented lines, all 3 statements work. With the uncommented lines, it only works for table "TEST1". I don't know why, but Oracle seems to cast the strings to numbers if FLOAT in combination with NUMBER is used - but not with BINARY_FLOAT and NUMBER .

Maybe you are looking for

  • Posting only possible in periods 2007/09 and 2007/08 in CoCd 1234.

    Hello all, I would appreciate some clarification on the following issue. We are getting a error message. It is a Goods movement error log message. This is how it appreas in the system: <b>MT.....Area.....Msg....Item.....Message text</b> E.........M7.

  • FM to find Sales Order based on Purchase Order Number

    Hi All, I have a Purchase Order number and based on this I want to find out the corresponding Sales Order Number. Can anyone help me find any FM for this (I have tried RV_ORDER_FLOW_INFORMATION but its not of much help). Regards, Shoeb

  • Add 90 days to a date field.

    Hi All, I have a form page in which i have a field called date. The requirment is like this whenever i come to this form page the date field should 1st check the sysdate and add 13 weeks or 90 days to it and display it there. It should be like this w

  • Selecting Row in JTable

    Dear friends, When i select a whole row in JTable it gets selected but the background color of the row selected does not change. i.e. Its not highlighted as in MS-Excel. How can i overcome this problem? Kindly reply Thanks.

  • Folio Producer Thumbnail List Thumbnail image does not appear.

    Folio Producer Site > Folio Producer Editor Thumbnail view from the list, Thumbnail image does not appear. Why is that?