Overflow error

Hello experts,
I am having an error with my report. Below is the error:
Overflow for arithmetical operation (type P) in program "ZFR_FOREX_REV_ACCTG "
Now, the variable that I am putting the amount is lv_amount which is type p decimals 2
with a length of 15. What can I do to make it fit? Thanks a lot guys and take care!

Hi viray,
you can do this way..
PARAMETERS fact TYPE i.
DATA: fact_save TYPE i,
      res(16)  TYPE p.
*** ARITHMETIC_ERRORS contains COMPUTE_BCD_OVERFLOW ***
CATCH SYSTEM-EXCEPTIONS ARITHMETIC_ERRORS = 5.
  res = fact_save = fact.
  SUBTRACT 1 FROM fact.
  DO fact TIMES.
    MULTIPLY res BY fact. "<- COMPUTE_BCD_OVERFLOW
    SUBTRACT 1 FROM fact.
  ENDDO.
ENDCATCH.
IF sy-subrc = 5.
  WRITE: / 'Overflow! Factorial of', fact_save,
                               'cannot be calculated.'.
ELSE.
  WRITE: / 'Factorial of', fact_save, 'gives', res.
ENDIF.
the same way you can handle your case.
Regards
vijay

Similar Messages

  • Stack overflow error while creating connection using Oracle10G dirver

    Hi,
    Our web application built on Servlets runs on the iPlanet web server (In solaris machine). Earlier we used JDK 1.5 update 6 with oracle 9i driver and now got migrated to JDK 1.5 update 10 with same driver. Everything went fine until we started testing the environment with oracle 10G driver. Java 1.5 update 10 with oracle 10G driver throws "Stack overflow error".
    Driver version is - 10.2.0.2.0
    This occurs only when I access the portal. When I created the single main program and try to run it in the solaris machine it works fine. But wen I try to access the portal keeping this driver under classpath, it fails. Please let me know if anyone have any clues.
    When I looked into it, I am able to find that the "stack overflow error" occurs at the point the code line DriverManager.Getconnection("url", "username", "pwd") executes.
    Thanks in advance
    below the stacktrace of the exception from webserver error log..
    06/Mar/2007:04:20:40] failure (10198):
    for host 202.54.182.136 trying to POST /wr/servlet/WorkRequest, service-j2ee reports: StandardWrapperValve[WorkRequest]: WEB2769: Allocate exception for servlet WorkRequest
    javax.servlet.ServletException: WEB2778: Servlet.init() for servlet WorkRequest threw exception
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    ----- Root Cause -----
    java.lang.StackOverflowError
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(
    [06/Mar/2007:04:22:20] info (10198):
    CORE5073: Web server shutdown in progress
    [06/Mar/2007:04:22:21] info (14506):
    CORE1116: Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1251: On group ls1, servername pstst42.pedc.sbc.com does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] warning (14513):
    CORE1250: In secure virtual server https-vts, urlhost does not match subject "" of certificate Server-Cert.
    [06/Mar/2007:04:22:21] info (14513):
    CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [vts/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cron/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [find/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [cb/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [wr/servlet]
    [06/Mar/2007:04:22:21] info (14513):
    WEB0100: Loading web module in virtual server [https-vts] at [search]
    [06/Mar/2007:04:22:25] info (14513):
    HTTP3072: [LS ls1] ready to accept requests
    [06/Mar/2007:04:22:25] info (14513):
    CORE3274: successful server startup
    Message was edited by:
    Nandakumar_s
    Message was edited by:
    Nandakumar_s

    Yes, request goes through connection pool but weird
    thing is application throws stack excatly where
    DriverManager.getConnection gets executed.
    Not weird at all.
    This is what I am guessing that you did. You changed the driver and some other stuff, like configuration information.
    Then when it blew up you tracked down in your code where you see the stack overflow. That happens to be on the connection line. That is not where the overflow 'occurs' - it merely represents where you saw it.
    That line however isn't using the oracle driver. What it is using is a connection pool of some sort. That connection pool is configured somewhere. And that configuration is self-referential (or maybe refers to a another driver which refers back to the original.)
    And that causes you stack over flow.

  • Goods Receipt PO "money overflow" error message

    Hi all,
    A client is having problems when trying to post a Goods Receipt PO based on an A/P Reserve Invoice. When adding the following error message comes up:
    [Goods Receipt PO-Rows -Warehouse Code][line: 0], 'Money Overflow (ODBC-104)'
    Has anyone of you encountered this message? What could the problem be? They are using SAP 2005A PL 46.
    Any help will be appreciated.
    Regards,
    Anthony

    Hi,
    this note could be used to resolve your problem:
    Money overflow error message
    Symptom
    SAP Business One A does not support scenarios that might lead to a value greaterthan 9,223,372,036,854 in money fields, or in intermediate calculations, and may generate a Money Overflow error message.
    Other terms
    Money Overflow, maximum, 2005 A SP01.
    Reason and Prerequisites
    FAQ.
    Solution
    The scenarios described above are not supported in SAP Business One.
    The note # : 1026634
    Rgds,

  • Context Overflow Error while executing report from browser.

    Hi All,
    I am running one report from browser, the same report is running properly on backend.
    But when I am running the same for long period (more than 2 months) it is giving me context overflow error.
    I have also checked the value of parameter MaxCtxtSize on ITS and it is currently set to 5 MB.
    Should I increased this value ??? ITS version is 6.20 - Standalone.
    Pl guide me to solve this problem.
    Regards,
    Aditya.

    Dear Edgar,
    Thanks a lot.
    Below is the error message reported in the file diagnostics.log.
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpttRuntimeError:  Runtime error: Assignment to context failed
    (context overflow)!
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpttRuntimeError:  jump through trap...
    A 2009-02-03T09:12:24.039 [agate,sapjulep] 00, s02748798, PpioTraverseHtmlPP: PpttTraverseParseTree(D:\SAPMPS\config\..\IT1\templates\system\dm\generator.html) failed, rc=0x306
    A 2009-02-03T09:12:24.039 [agate,sapdiag ] 00, s02748798, HtmgBuildHtmlPage: IntpDoInterpret (D:\SAPMPS\config\..\IT1\templates\system\dm\generator.html) failed, rc=0x2104
    A 2009-02-03T09:12:24.039 [agate,sapxgdk ] 00, s02748798, ContAllocAligned:  Allocating 52 bytes (16 of 5242880 bytes available) failed, no streaming supported. Consider bumping a container size (3) in the registry.
    Pl help.
    Regards,
    Aditya.

  • After installing update 11.0.07, getting overflow error in ibm notes 9.0.1 when trying to delete a mail dokument

    I just upgraded von Adobe Acrobat 10 to 11.0.7, because i wanted to use the pdfmaker in Ibm Notes 9.0.1. But after that every time i try to delete a mail document in my mail-database, i get an overflow error message. Deleting the line with the link to the local adobe maker file for notes in the notes.ini (AddInMenus=C:\PROGRA~2\Adobe\ACROBA~1.0\PDFMaker\Mail\LOTUSN~1\PDFMLO~1.DLL) solves the issue, but then you can not use the pdfmaker anymore.
    I don't know, if this problem exists with 11.0.06, the first Version which should support ibm Notes 9.x.
    Any suggestion how to fix this problem?
    Many thanks
    Harald

    FYI
    Adobe released Acrobat 11.0.11
    Source: 11.0.11 Planned update, May 12, 2015 — Acrobat and Adobe Reader Release Notes
    Bug fixeshttp://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotes/11/11.0.11.html#bug-fixes
    PDF creationhttp://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotes/11/11.0.11.html#pdf-creatio n
    3775740: Lotus Notes 9.0.1 gives overflow error when Acrobat pdfmaker 11.0.06 is installed.

  • Numeric Overflow error on NPer function

    I am trying to use this NPer function and it's acting real weird. If I use the same numbers that my database fields hold, it works and when I switch to database fields it works fine one time and next time I try to refresh data, it gives me this "numeric overflow" error..
    In Crystal help example, they shows that the payment has to be a negative number. So I am following that. If i switch it to the positive number, then it works bit it gives me negative # of months plus it's wrong number.
    Not sure whats going on and would really appreciate any help...
    Thanks
    Raj

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • Numeric overflow error using binary integer

    Hi experts,
    I am facing issue while solving a numeric overflow error. after analyzing we came to know that in the below code BINARY_INTEGER is causing the issue as input is exceeding its range. I tried to replace BINARY_INTEGER by varchar2(20) but its saying
    "Error(580,20): PLS-00657: Implementation restriction: bulk SQL with associative arrays with VARCHAR2 key is not supported."
    We need to remove this binary_integer. I dont know how to do this. Can anybody give some idea or what code change required here ? thanks in advance. Cheers.. Below is the code,
    ===================================================
       PROCEDURE UpdateCost_
          p_Cost_typ IN OUT NOCOPY CM_t,
       IS
          TYPE ObjektIdTab_itabt IS TABLE OF ObjektId_tabt INDEX BY BINARY_INTEGER;
          v_cost_IdTab_itab ObjektIdTab_itabt;
          v_CM_ID INTEGER := p_Cost_typ.costm.CM_ID;
          BEGIN
                SELECT CAST(MULTISET
                        (SELECT Costwps.CMKostId
                          FROM CM_Pos_r NRPos,
                                CMK_z_r costzpps,
                                CMG_Cost_v Costwps
                          WHERE NRPos.CM_ID = v_CM_ID
                            AND NRPos.SNRId_G = SNRCT.SNRPos.SNRId_G
                            AND costzpps.CM_ID = NRPos.CM_ID
                            AND costzpps.CMSNRPosId = NRPos.CMSNRPosId
                            AND costzpps.Kost_s = Kost.Costnzl.Kost_s
                            AND Costwps.CMKz_Id = costzpps.CMKz_Id
                            AND Costwps.TypCode NOT IN
                                (SELECT kw.TypCode
                                   FROM TABLE(Kost.Kostwt_tab) kw
                        ) AS ObjektId_tabt )
                  BULK COLLECT
                  INTO v_cost_IdTab_itab
                  FROM TABLE(p_Cost_typ.SNR_tab) SNRCT,
                       TABLE(SNRCT.Kost_tab) Kost
             FOR v_i IN 1 .. v_cost_IdTab_itab.COUNT LOOP
                FOR v_j IN 1 .. v_cost_IdTab_itab(v_i).COUNT LOOP
                   DELETE FROM CMG_Cost_v WHERE CMKostId = v_cost_IdTab_itab(v_i)(v_j);
                END LOOP;
             END LOOP;
    END;
    ===================================================

    Thanks for your reply. I tried with INDEX by NUMBER. but oracle says its not a valid use of index by thing. and moreover I also tried with by removing INDEX BY clause. but in that case we are not at all getting any data in for loop. some people says to use extend clause. But again I am not sure How to do so. Can you please let me know code for this.
    I know you are trying to help by you need to STOP telling us what problem you have and SHOW US. Saying 'Oracle says' is useless. Post EXACTLY what code you are using, the EXACT steps you are using to compile that code and the EXACT result that you are getting.
    You also made no comment about the 'overflow' issue. A BINARY_INTEGER (PLS_INTEGER) has a very large range of values:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/datatypes.htm#i10726
    >
    The PLS_INTEGER data type stores signed integers in the range -2,147,483,648 through 2,147,483,647, represented in 32 bits.
    >
    If you are trying to create a collection of more than 2 BILLION of anything you have a serious problem with either WHAT you are trying to do or HOW you are trying to do it. Your 'overflow' issue is more likely a symptom that you are really running out of memory. You should ALWAYS have a LIMIT clause when you do BULK COLLECT statements.
    Also see this section in that doc: SIMPLE_INTEGER Subtype of PLS_INTEGER
    You need to address your LIMIT issue first and then address any other issues that arise from actually executing the code.
    Then see the section 'SELECT INTO Statement with BULK COLLECT Clause' in that doc
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABEIACI
    That section has an example that shows you do NOT need to use an INDEX BY clause to create collections as you are trying to do. So your not 'getting any data in for loop' is NOT related to the lack of that clause.
    That example also shows you that you do NOT use 'extends' when doing BULK COLLECT. The bulk collection automatically extends the collection as needed to hold the entire results (assuming you don't run out of memory for 2 BILLION things).
    Example 12-22 in that same doc shows the proper way to use a double loop and a BULK COLLECT with a LIMIT clause
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/tuning.htm#BABCCJCB
    Here is very simple sample code you can use in the SCOTT schema to understand how the double loop and LIMIT clauses work together.
    >
    The FETCH does a BULK COLLECT of all data into 'v'. It will either get all the data or none if there isn't any.
    The LOOP construct would be used when you have a LIMIT clause so that Oracle would 'loop' back to
    get the next set of records. Run this example in the SCOTT schema and you will see how the LIMIT clause works.
    I have 14 records in my EMP table.
    DECLARE
      CURSOR c1 IS (SELECT * FROM emp);
      TYPE typ_tbl IS TABLE OF c1%rowtype;
      v typ_tbl;
    BEGIN
      OPEN c1;
      LOOP                                                 --Loop added
        FETCH c1 BULK COLLECT INTO v LIMIT 3; -- process 3 records at a time
            -- process the first 3 max records
           DBMS_OUTPUT.PUT_LINE('Processing ' || v.COUNT || ' records.');
            FOR i IN v.first..v.last LOOP
                DBMS_OUTPUT.PUT_LINE(v(i).empno);
            END LOOP; 
        EXIT WHEN c1%NOTFOUND;
      END LOOP;
      DBMS_OUTPUT.PUT_LINE('All done');
    END;
    In the FOR loop you would do any processing of the nested table you want to do
    and could use a FORALL to do an INSERT into another table.
    >
    I strongly suggest that you modify your code to work with a VERY SMALL set of data until it works properly. Then expand it to work with all of the data needed, preferably by using an appropriate LIMIT clause of no more than 1000.

  • CAST Not working for me - Arithmetic overflow error converting int to data type numeric - error

    GPM is DECIMAL(5,2)
    PRICE is DECIMAL(11,4)
    COST is DECIMAL(7,2)
    Trying to update the Gross Profit Margin % field and I keep getting the "Arithmetic overflow error converting int to data type numeric" error.
    UPDATE SMEMODETAIL SET SMD_GPM = (SMD_PRICE-SMD_COST) / SMD_PRICE * 100
    FROM SMEMODETAIL WHERE SMD_PRICE<>0 AND SMD_QUANTITY<>0
    Example record:
    SMD_PRICE    SMD_COST    GPM%
    1.8500            1.62                12.4324324324324300
    I added cast and I still get the error.
    How do I format to get this to work?
    Thanks!

    Hi GBerthume,
    The error is caused by some value such as 1000.01 of the expression (SMD_PRICE-SMD_COST) / SMD_PRICE * 100 exceeds the
    precision of the column(DECIMAL(5,2)). The example data doesn't cause the overflow error for the value of the expression is 12.43 which is in the scope of DECIMAL(5,2).
    USE TestDB
    CREATE TABLE SMEMODETAIL
    SMD_PRICE DECIMAL(11,4),
    SMD_COST DECIMAL(7,2),
    SMD_GPM DECIMAL(5,2)
    INSERT INTO SMEMODETAIL(SMD_PRICE,SMD_COST) SELECT 1.8500,1.62
    UPDATE SMEMODETAIL SET SMD_GPM = (SMD_PRICE-SMD_COST) / SMD_PRICE * 100
    FROM SMEMODETAIL WHERE SMD_PRICE<>0-- AND SMD_QUANTITY<>0
    SELECT * FROM SMEMODETAIL
    DROP TABLE SMEMODETAIL
    The solution of your case can be either scale the DECIMAL(5,2) or follow the suggestion in Scott_morris-ga's to check and fix your data.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Stack overflow error

    Hi..
    I have problem with this code.
       class test
           test tt=new test();   //1
           String name1;
        test() {}
        test(String i)
              name1=i;
             //tt=new test();    //2
       public static  void main(String arg[]){
                  test t1=new test("kj"); //3
    }  When I use line 2 (nstead of line 1 ) for initializing the ref variable iam not having any problem.
    But if i use as in line 1 iam getting stack overflow error..
    I thought tht calling a constructor recursivley results in a stack overflow error..
    But iam instantiating t1 with a one arg constructor (line 3) for which tt (line 1)is intialized,then where is the recursion happening..
    can any one pls clear..
    Thnx.
    mysha..

    please use [code][/code] tags around your code - makes it much easier to read.
    I think you have it - consider this code:public class StackOverflower {
        private StackOverflower so = new StackOverflower();
        public static void main(String[] args) {
            StackOverflower mySO = new StackOverflower();
    }Running this will overflow the stack since creation of an instance of StackOverflower requires creation of an instance of StackOverflower. This code though:public class NonStackOverflower {
        private NonStackOverflower nso = null;
        public NonStackOverflower() {
        public NonStackOverflower(String s) {
            this.nso = new NonStackOverflower();
        public static void main(String[] args) {
            NonStackOverflower myNSO = new NonStackOverflower();
    }Won't, since the creation of a new NonStackOverflower is not required to create a new NonStackOverflower instance.
    Did that make sense? I may have gotten confused and failed to illustrate your situation with my code...
    Good Luck
    Lee

  • Microsoft C++ Buffer Overflow Error

    I have created two movies from iPhoto on my Mac. When I move them to an XP machine, sometime after 30 minutes of playing, I get the Microsoft C++ Buffer Overflow Error message, and Quicktime for Windows aborts. I have no problems playing them to completion on several Macs.
    I upgraded to the latest QT version, still see the problem.
    Any help appreciated.

    You're having the same issue as I...see my post here: http://discussions.apple.com/thread.jspa?threadID=672272&tstart=30
    Unfortunately, though, I have not gotten a response to my original post.

  • Overflow error in Hyperion Financial Reports

    Hi All,
    I'm using Hyperion Financial Reporting Studio version 9.3.1. Recently we are facing few issues with FR. When we try to copy a column, we are getting the "overflow" error. Can someone help on how to resolve this issue ?
    FYI. The no. of Rows in the Report are approx. 3000 and columns around 20. Pls. help
    Thanks,
    PVR

    Hi John,
    The no. of rows in the Report are (Design mode) approx. 1700. When we run the report, the total no. of rows showing is around 3000. The no. of columns, rows cause the overflow issue ?
    How we can clear the buffer ? We Restarted the server also, but no luck. The same error appearing
    Thanks,
    PVR

  • Queue overflow errors in tag engine.

    I was testing the 310 tags in my tag database using the interactive server tester, when I encountered the queue overflow error. I am storing and retrieving values in a Allen Bradley SLC 5/04 PLC module. I am using RSLinx as an OPC server. I tried increasing the queue, but still ended up with the error. How will a queue overflow effect the performance of the tag engine and are there ways to better pinpoint the problem?
    Thanks,
    Mike Thomson
    [email protected]

    Mike,
    Check out these links...
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/862567530005f09e862567c700746a65?OpenDocument
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/120e7a0c342df3fa86256812005c056c?OpenDocument
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/bb7a08241bb0797c86256812005d1f3c?OpenDocument
    and if they don't help, then write back with info like: Version of LabVIEW in the Help>> about LabVIEW
    Have you ran the update to LV DSC to 6.0.2?
    Find out by going to Start>>Settings>>Control Panel>>add/remove programs>> just LOOK for LV Datalogging and supervisory control version.
    Version of Logos?... find the lkopc.exe Properties>>Version
    Let me know if further problems exist
    Thanks,
    Bryce

  • Money overflow error

    Hi,
    When updating  a Purchase order we are getting Money overflow error but we are not changing any figures
    we are trying to add only remark
    so why are we getting this error
    please help
    regards

    Hi!
    Check this threads
    Money Overflow- Cannot display all digits
    Money Overflow: cannot display all digits (ODBC-104) [7001-21]

  • CR XI R2 Cannot find Nth root - "Numeric Overflow" Error

    In Crystal Reports Xi Release 2, when i try to perform a calculation within a formula  X ^ Y where  Y = 1/years  and Y < 1, I receive a "Numeric Overflow" error when running the report.   Is there anything that can be done to work around or fix this?
    Thanks.

    Hello Jay,
    I'm assuming you meant 0 < years < 1
    One limitation is that Crystal Reports uses IEEE double precision floating point representation for internal numerical computation.  This limits the maximum expressible numeric value to approximately 10 ^ 308.
    If computational results exceed this magnitude, the "Numeric Overflow" error will result.
    Sincerely,
    Ted Ueda

  • Function - numeric Overflow error

    Dear All,
    I have a function that is causing a ORA-01426: numeric overflow error
    My values from the variables are as follows
    v_highest_Uprn is 10033233499
    v_start_uprn is 10033223500
    Any ideas how to fix this. Thanks in advance.
    FUNCTION get_next_uprn RETURN NUMBRT IS
    /* Loop through numbers betweeen the next_uprn and the highest in the active range. */
    /* Check to see if the new uprn exists in the database , if no rows returns then return the new uprn. */
    v_start_uprn NUMBER;
    v_highest_uprn NUMBER;
    v_uprn_exists NUMBER;
    v_new_uprn NUMBER;
    BEGIN
    SELECT next_uprn ,
    highest_uprn
    INTO v_start_uprn,v_highest_uprn
    FROM PD_PROPERTY_NUMBERS
    WHERE active_sequence = '*';
    v_new_uprn :=v_start_uprn ;
    FOR rec IN v_start_uprn..v_highest_uprn LOOP
    IF v_new_uprn > v_highest_uprn THEN
    Bs7666_Standard.bs7666_error(35635);
    END IF;
    SELECT uprn INTO v_uprn_exists
    FROM PD_BLPUS
    WHERE uprn = v_new_uprn;
    v_new_uprn := v_new_uprn + 1;
    END LOOP;
    RETURN v_new_uprn;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN v_new_uprn;
    END get_next_uprn;

    Hi
    The loop control variable in a FOR loop is an integer (or similar) it seems; those numbers are simply too big for it.
    Change your code to something like:
    FOR rec IN 1 .. v_highest_uprn - v_start_uprn + 1 LOOP
    Luis

  • Stack Overflow Error for JNI program with Jdk1.3

    I wrote a JNI wrapper for a third party sofware (written in C) to use some exported functions provided. My program runs fine when using Sun JDK1.2.2, but I got the following error when using Jdk1.3 to run the program (It's a runtime error, only the version of runtime virtual machine matters.)
    # An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside
    the VM.
    # Program counter=0x9073337
    A stack overflow was encountered at address 0x09073337.
    I tried IBM jdk 1.2.2, it gave me a similar error complaining about the stack overflow error.
    The vendor of the third party software denies any wrong doing in their code and I don't have their source code. A test client (simulate the Java client) I wrote in C works perfectly fine and as I mentioned earlier the same java progarm runs OK with jdk 1.2.2, without any change to my system stack size. Does any body know what this is about and the solution for this?
    Thanks!
    My email: [email protected]

    I had the same exception occur in my JNI code and I have some advice on things to look for.
    Symptoms: The C++ code runs fine when called in an native executable but when it is wrapped by a JNI call inside a DLL you get the following exception:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW occurred at PC=0x100d72e5
    Function name=_chkstk
    The address will be different of course.
    In my tests I isolated the problem to an allocation of a char array like so at the top of one of my wrapped C++ methods:
    char buf[650000];
    As you see this code is requesting 650000 bytes of stack memory. When run in a native executable there was no problem but when I ran it wrapped in the JNI call it blew up.
    Conclusion: There is a much smaller stack space when using JNI OR the added overhead of my JNI wrapper exhausted the available stack space OR this is a stack space issue related to DLLs.
    Hope this helps. Anyone with insight on this please put in your 2 cents.

Maybe you are looking for

  • Podcast Problems / Corrupt iPod

    Adding music works fine, but I am getting the following errors when trying to add a podcast to my 2G iPod Shuffle. The iPod "Ben's iPod" cannot be updated. The disk could not be read from or written to. The iPod "Ben's iPod" cannot be updated. An unk

  • How to setup a printer with Airport Extreme + Express Network

    Ok so here's how things are setup. I have an Extreme connected to my cable modem creating the wireless network. I have a PC that doesn't have a wireless card, so I setup an Express next to it. The Express takes in the wireless signal, and the PC is c

  • How do I make a global color change in Flash CS5?

    I am a rank Flash newbie, so maybe I'm missing something obvious. In InDesign or Illustrator, if I want to change every red object to blue, I can go into the color list, edit the red color to the blue values, and every instance of red in the document

  • Photo slide show

    Can someone point me in the direction of a simple photo slideshow tutorial or a download? To be embedded into a web page. Thanks Tim

  • What's a good online resource for OA framework?

    What's a good online resource for learning OA framework?