Float Exception

Hi,
I am developing a game in Java. If I use float variables in my program, it gives float exception while building the application in Ktoolbar in J2ME. Can I use float variables in java program while developing games. If not what is the solution for that?
Need Help Immediately
thanks in advance,
sampath

Just from quickly glancing at the Mobile Information Device Profile (v2.0) API documentation, there doesn't seem to be any support for floating-point numbers. Just byte, char, short, int, and long. If you want to look for yourself, just go to the MIDP v2.0 API docs and look at all of the classes listed under the java.lang package and you won't see either of the Float or Double classes that come with other versions of Java like the Standard Edition.
Looks like you'll just have to stick to integers and longs.
-Dok

Similar Messages

  • Conversion Vector of Floats to float[]:  exception?

    Java Developers,
    I am able to convert my String vector to a
    String[] but just can't get the Vector with Floats to be converted to a float[] array. I have looked into google and java.sun.com Forums but still cant seem to find the answer. I would really appreciate your help!
    This is how I am making the conversion from Vector(String) to String[]:
    legendLabelsArray = new String[columnHeads.size()];
    int k=0;
    Iterator e = columnHeads.iterator();
    while(e.hasNext()){
    System.out.println("inside the enumerator");
    legendLabelsArray[k] = e.next().toString();
    System.out.println("Array elements at " + k + " are " + legendLabelsArray[k]);
    System.out.println(k++);
    How can I make something similar to work with a Vector with Floats to float[] instead of Strings?
    Thanks,
    Musaddiq
    [email protected]

    Assuming Vector v with Float elements:
    float[] a = new float[v.size()];
    int n = 0;
    for (Iterator i = v.iterator(); i.hasNext(); )
        a[n++] = ((Float) i.next()).floatValue();

  • ICal Invites to Outlook Users 5 Hours Off

    Hi,
    Have found a few posts on this, with even fewer answers. When I send iCal event invites to attendees who are on Win XP Outlook v 2003 sp2, the event is off by 5 hours. My 9 am appointments show up as 4 in the morning.
    Have tried resetting all time zone settings. Got some satisfaction setting time zone to floating (except now the invite is from 9 am - 9am). Have all Apple OS patches applied.
    Will trashing prefs fix this?? AND If I trash my iCal prefs will I loose all my appointments???
    I know this is likely a fight between Apple and slacker programmers at MS, but for the sake of the users, can't someone just make a fix??
    Oh yea, suggestions to fix are greatly appreciated.
    thanx,
    jeff

    Jeff,
    Oddly enough, I de-selected the option in the iCal preferences to Turn on Time Zone Support, and I was able to view events obtained from Outlook users in the correct timeframe. Not sure why this was the case, but any event sent to me as a calendar event from Outlook would always show up as GMT time zone, which is not where I'm located.
    This doesn't completely answer your question, as you were sending events out to Outlook users, but it might be worth trying?
    iMac G4 15" flatpanel 512k Combo   Mac OS X (10.1.x)  

  • Graphics Display in Report

    Hi,
    I put a graphics display in a report. I always got 'Floating exception r25desm (core dumped)'. I am using Reports 2.5 and Graphics 2.5 on Unix. What is the problem?
    Lu

    What error did you get? Please give the original error code and message to help us diagnose the problem.
    In order to run OGD, you definitely need Oracle Graphics installed on the same oracle home as reports.
    Thanks,
    -Shaun

  • How to convert flat to deep structure ?

    hi all, i hava a problem. this is my code:
    TYPES: BEGIN OF mytype,
    f1(14) TYPE C,
    f2(24) TYPE C,
    f3(9) TYPE C,
    f4(6) TYPE C,
    f5(4) TYPE N,
    f6(5) TYPE N,
    Myfield (8) TYPE F,
    END OF mytype.
    DATA: mylocaltable TYPE TABLE OF mytype WITH HEADER LINE.
    read data from CSV file and put it to mylocaltable, it works fine ))), but next:
    DATA: OUTPUT TYPE TABLE OF DEEP_STRUCTURE_TYPE WITH HEADER LINE.
    DATA: deepstructure LIKE LINE OF OUTPUT-message_type-line.
    LOOP AT mylocaltable.
    MOVE-CORRESPONDING mylocaltable to deepstructure.
    APPEND deepstructure TO OUTPUT-message_type-line.
    ENDLOOP.
    TRY.
    CREATE OBJECT PROXY.
    CALL METHOD PROXY->Message_Out
    EXPORTING
    OUTPUT = OUTPUT.
    COMMIT WORK.
    ENDTRY.
    there is a error message on line "Myfield (8) TYPE F,":
    "Myfield"  must be a character like data object (data type C, N, D, T or STRING) .
    in the DEEP structure OUTPUT the field "Myfield" has XSD:DOUBLE type (in XI).
    Please help me to solve this problem. Thanks.
    P.S. the data for "Myfield" can be like "12345678,12345678" - i mean it's float and has max length - 16.

    Hi, thanks for reply, but i've solved this problem by other way:
    1.
    i've changed
    Myfield (8) TYPE F, to Myfield (16) TYPE С,
    2.
    then i've changed
    LOOP AT mylocaltable.
    MOVE-CORRESPONDING mylocaltable to deepstructure.
    APPEND deepstructure TO OUTPUT-message_type-line.
    ENDLOOP.
    to
    DATA: Float type F.
    LOOP AT mylocaltable.
    deepstructure-f1 = mylocaltable-f1.
    deepstructure-f2 = mylocaltable-f2.
    deepstructure-f3 = mylocaltable-f3.
    deepstructure-f4 = mylocaltable-f4.
    deepstructure-f5 = mylocaltable-f5.
    deepstructure-f6 = mylocaltable-f6.
    CALL FUNCTION 'CHAR_FLTP_CONVERSION'
    EXPORTING
    STRING = mylocaltable-Myfield
    IMPORTING
    FLSTR = Float
    EXCEPTIONS
    EXPONENT_TOO_BIG = 1
    EXPONENT_TOO_SMALL = 2
    STRING_NOT_FLTP = 3
    TOO_MANY_DECIM = 4
    OTHERS = 5.
    deepstructure-Myfield = Float.
    APPEND deepstructure TO OUTPUT-message_type-line.
    ENDLOOP.
    Anyway thanks to all !!!!! )))).

  • Problem with automount

    Hi,
    Sorry for putting hp-ux related question. But no choice. I have configure hp-ux ldap client with solaris9 ds 5.2. i have created directories for automount on same solaris.this is configuration i have done in hp-ux11.0. But previously it was working now it is not working.i think when i do df-k it shows error but i am not able to understand it.
    /usr/lib/netsvc/fs/autofs/automount
    # more auto_master
    /net -hosts -nosuid,soft
    /home siroe:/ldap/& -nobrowse
    # more mnttab
    /dev/dsk/c0t6d0 / hfs defaults 0 1 1066455723
    abc:(pid1836) /net ignore ro,intr,port=799,map=-hosts,indirect,dev=0000 0 0 1066520358
    siroe:/ldap/ /home autofs ignore,indirect,nobrowse 0 0 1066424655
    # df -k
    /home (siroe:/ldap/ ) : 0 total allocated Kb
    0 free allocated Kb
    0 used allocated Kb
    Floating exception(coredump)
    thanking you,
    kumar

    You probably already realized this, but the /etc/auto_master has an invalid entry:
    /home siroe:/ldap/& -nobrowse
    That line should be in your /etc/auto_home file and the following should be in /etc/auto_master:
    /home /etc/auto_home
    Also, check that siroe:/ldap is a valid directory and shared out in /etc/dfs/dfstab. See the manpages for dfstab and share.
    HTH,
    Roger S.

  • Float overlow Exception!

    Hi all,
    To quote JLS in verbatim ..."Java floating-point
    operators produce no exceptions (�11). An operation
    that overflows produces a signed infinity, an
    operation that underflows produces a signed zero, and
    an operation that has no mathematically definite
    result produces NaN."
    But I am facing a problem here. The highest value
    that can be held by a Double variable is
    1.79769313486231570e+308. Any operation resulting in
    an overflow of this variable should produce 'infinity'
    accodring to the JLS but I am getting a
    "EXCEPTION_FLT_OVERFLOW". Does this have something to
    do with the OS or the processor?
    Here's a simple test program:
    public class FloatingPointInexactRulesTest {
    public static void main(String[] args) {
    // An example of overflow:
    double d = 1.79769313486231570e+308;
    System.out.print("overflow produces infinity: ");
    System.out.println(d + "*1.1==" + d*1.1);
    The program's output should have been:
    overflow produces infinity: 1.0e+308*1.1==Infinity
    but I get a EXCEPTION_FLT_OVERFLOW! Since the JVM cant
    violate the semantics of the JLS I think the problem
    lies somewhere else(either the OS or the processor). I
    am using WIndows2000 as the OS and Intel PIV as the
    processor.
    Please help me...
    --------------EXCEPTION!---------------------
    Unexpected Signal : EXCEPTION_FLT_OVERFLOW
    (0xc0000091) occurred at PC=0xEFA6C3
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol
    for the error
    just occurred. Please refer to release
    documentation for possible
    reason and solutions.
    Current Java thread:
    Dynamic libraries:
    0x00400000 - 0x00407000
    C:\j2sdk1.4.2_04\bin\java.exe
    0x77F80000 - 0x77FFD000
    C:\WINNT\system32\ntdll.dll
    0x7C2D0000 - 0x7C332000
    C:\WINNT\system32\ADVAPI32.dll
    0x7C570000 - 0x7C628000
    C:\WINNT\system32\KERNEL32.DLL
    0x77D30000 - 0x77D9E000
    C:\WINNT\system32\RPCRT4.DLL
    0x78000000 - 0x78045000
    C:\WINNT\system32\MSVCRT.dll
    0x00250000 - 0x002C3000
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\uga1.tmp
    0x71710000 - 0x71794000
    C:\WINNT\system32\COMCTL32.DLL
    0x77F40000 - 0x77F7E000
    C:\WINNT\system32\GDI32.dll
    0x77E10000 - 0x77E75000
    C:\WINNT\system32\USER32.DLL
    0x76620000 - 0x76630000
    C:\WINNT\system32\MPR.DLL
    0x77A50000 - 0x77B3C000
    C:\WINNT\system32\OLE32.DLL
    0x779B0000 - 0x77A4B000
    C:\WINNT\system32\OLEAUT32.DLL
    0x75050000 - 0x75058000
    C:\WINNT\system32\WSOCK32.DLL
    0x75030000 - 0x75044000
    C:\WINNT\system32\WS2_32.DLL
    0x75020000 - 0x75028000
    C:\WINNT\system32\WS2HELP.DLL
    0x08000000 - 0x08138000
    C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll
    0x77570000 - 0x775A0000
    C:\WINNT\system32\WINMM.dll
    0x10000000 - 0x10007000
    C:\j2sdk1.4.2_04\jre\bin\hpi.dll
    0x00CE0000 - 0x00CEE000
    C:\j2sdk1.4.2_04\jre\bin\verify.dll
    0x00CF0000 - 0x00D09000
    C:\j2sdk1.4.2_04\jre\bin\java.dll
    0x00D10000 - 0x00D1D000
    C:\j2sdk1.4.2_04\jre\bin\zip.dll
    0x77920000 - 0x77943000
    C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000
    C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000
    C:\WINNT\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 197K
    [0x10010000, 0x100b0000, 0x104f0000)
    eden
    Another exception has been detected while we were
    handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    PC = 0x00efa6c3
    SIGNAL = -1073741679
    FUNCTION NAME = (N/A)
    OFFSET = 0xFFFFFFFF
    LIBRARY NAME = (N/A)
    Please check ERROR REPORT FILE for further
    information, if there is any.
    Good bye.
    --------------EXCEPTION!---------------------
    Thanks a lot.

    Yeah switching to Linux is a good idea. The firsttime I tried that,
    GRUB crashed and I screwed everything else tryingto copy the
    bootloader. Before this I had problems accessingthe file system on
    Windows via LAN, Samba server is not really theeasiest to use.
    Before that I had display problems with wierdmessages like sync out
    of range, Init respawning too fast so disabling.......I guess this is just
    the tip of an iceberg when it comes to problemswith Linux. It is
    sometimes really frustrating.Really? The only problems I recognise are the
    automatic chip set
    detection for the graphics card. I always let it boot
    in 'mode 3', figure
    out the exact chip set present in the computer and
    only then switch
    to 'mode 5' ...Yeah I had all these problems with RH Linux within a span of 2 months.
    I solved most of them though(Google is my best friend ;). The problem with the display was coz of horizontal and vertical sync values.
    btw, Samba has a nice webbrowser interface; I simply
    follow the docs
    step by step (I know next to nothing about Samba) and
    I'm in business
    after typing in all the required stuff ...I had problems with Samba bcoz of the firewall settings and the firewall interface was not comin on properly on the display.
    And now there are viruses for Linux too!Never do anything online when logged in as root and
    keep your FS
    permissions sensible.Yeah. I dont log in to root untill it is really really needed.
    An offtopic question (hope no one minds) Is there any book for Linux which is on the same lines of "The Design of the Unix Operating System" by Maurice.J.Bach?. If yes, then pls pls lemme know. I am a big Fan of "The Design of the Unix Operating System".
    kind regards,
    JosThanks and regards.

  • Help! Exception when trying to use Float

    Hi. I'm about to lose my mind trying to fix this exception:
    SubsampleAverage - Parameter value's class (java.lang.Float) is not an instance of the parameter class (java.lang.Double) for parameter "scaleX".It's being thrown by this code,
    public BufferedImage resizeImage(InputStream inputStream)
        BufferedImage resizedImage = null;
        try {
          SeekableStream stream = SeekableStream.wrapInputStream(inputStream, true);
          RenderedOp newImage = JAI.create("stream",stream);
          ((OpImage)newImage.getRendering()).setTileCache(null);
          float scale = targetWidth / newImage.getWidth();
          ParameterBlock pb = new ParameterBlock();
          pb.addSource(newImage);
          pb.add(scale);
          pb.add(scale);
          RenderingHints qualityHints =
            new RenderingHints(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY);
          resizedImage = (JAI.create("SubsampleAverage",pb,qualityHints)).getAsBufferedImage();
        catch (Exception e)
          this.error = e.getMessage();
        return resizedImage;
      }

    I suspect scale should be a double then.

  • JAVA Float to int exception

    Hi
    I am facing a serious problem after migrating application from oracle 9i to oracle 10g.
    Application was earlier connected with oracle 9i as database after migration to 10g .
    I am facing a problem of float to int exception.
    In database,in table where a column's datatype is defined as number() is treated in java as float but
    *number(p)[p any integer]* is treated as integer in java.
    Earlier when application was on Oracle 9i i never faced this problem but in oracle 10g it is present.
    Can some one help me in this issue.
    What should i do so that data type number() is also treated as integer in java

    You could change your code, or change at table level.
    This is not a trivial task, though:
    SQL> create table t(x number)
    Table created.
    SQL> insert into t values (1)
    1 row created.
    SQL> commit
    Commit complete.
    SQL> alter table t modify x number(10)
    alter table t modify x number(10)
    Error at line 8
    ORA-01440: column to be modified must be empty to decrease precision or scaleYou need something like:
    SQL> alter table t add y number (10)
    Table altered.
    SQL> update t set y = x, x=null
    1 row updated.
    SQL> commit
    Commit complete.
    SQL> alter table t drop column x
    Table altered.
    SQL> alter table t rename column y to x
    Table altered.
    SQL> select * from t
             X
             1
    1 row selected.Regards
    Peter

  • Null pointer Exception with Float.parseFloat

    I need to assign a float value from a database to a variable recurrently throughout a while loop. but i am getting a null pointer exception error:
    while ( rs.next() )
         out.println("<TR>");
              float corr = Float.parseFloat((String) request.getParameter("echo"));
              out.println("<center><TD><b><font color = #990000>" + rs.getString("race_number") + "</b></TD>");
              out.println("<center><TD><b><font color = #990000>" + rs.getString("sail_number") + "</b></TD>");
              out.println("<center><TD><b><font color = #990000>" + rs.getString("finish_time_elapsed") + "</b></TD>");
              out.println("<center><TD><b><font color = #990000>" + rs.getString("echo") + "</b></TD>");
              out.println("</TR>");
    I've also tried:
    float corr = Float.parseFloat( String request.getParameter("echo"));
    float corr = 0;
    corr Float.parseFloat((String) request.getParameter("echo"));
    corr = echo;
    corr = request.getParameter("echo");
    corr = rs.getString("echo");
    corr = Float.parseFloat(request.getParameter("echo"));
    temp = rs.getFloat("Problem_Description");
    Any ideas Please!!!

    Null pointer exception means that the value you are trying to turn into a Float is null. Probably request.getParameter("echo") returns null.
    Is "echo" a request parameter, or a field you want to get from the database?
    request.getParameter() has nothing to do with a database query.
    That is your http request coming from the form submission. It won't change.
    If "echo" is meant to be a request parameter, then make sure the parameter is actually present.
    If its a database field (stored as a number) then
    float corr = rs.getFloat("echo");
    should do the trick.
    Can the value be null in the database?
    Cheers,
    evnafets

  • Float value giving exception.

    Hi,
    I am using a bean for a shopping cart. I used this code
    public float getCost()
              Enumeration enum=hashtable.elements();
              String[] tmpItem;
              float totalCost=0.00f;
              while(enum.hasMoreElements())
                   tmpItem=(String[])enum.nextElement();
                   //totalCost += (Integer.parseInt(tmpItem[3]) * Float.parseFloat(tmpItem[2]));
                   totalCost += (Integer.parseInt(tmpItem[3]) * Float.parseFloat(tmpItem[2]));
              return totalCost;
    which is giving me this exception.
    reported this exception: java.lang.Float: method parseFloat(Ljava/lang/String;)F not found. Please report this to the
    administrator of the web server.
    java.lang.NoSuchMethodError: java.lang.Float: method parseFloat(Ljava/lang/String;)F not found at
    ShopBean.getCost(Compiled Code) at Checkout.doGet(Checkout.java:20) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at
    javax.servlet.http.HttpServlet.service(Compiled Code) at
    com.sun.server.ServletState.callService(Compiled Code) at
    com.sun.server.ServletManager.callServletService(Compiled Code) at
    com.sun.server.http.servlet.InvokerServlet.service(Compiled Code) at
    javax.servlet.http.HttpServlet.service(Compiled Code) at
    com.sun.server.ServletState.callService(Compiled Code) at
    com.sun.server.ServletManager.callServletService(Compiled Code) at
    com.sun.server.ProcessingState.invokeTargetServlet(Compiled Code) at
    com.sun.server.http.HttpProcessingState.execute(Compiled Code) at
    com.sun.server.http.stages.Runner.process(Compiled Code) at
    com.sun.server.ProcessingSupport.process(Compiled Code) at com.sun.server.Service.process(Compiled
    Code) at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at
    com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) at
    com.sun.server.HandlerThread.run(Compiled Code)
    Can any one correct me please?
    Thanks
    Uma

    Hi
    Here is the code which will be calling the bean
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    public class Checkout extends HttpServlet
         String itemsvalues,itemno;
         String[] tmpItem;
         public void doGet(HttpServletRequest req,HttpServletResponse res)
              try
                   ServletOutputStream sos = res.getOutputStream();
                   ShopBean cart =(ShopBean)req.getSession().getValue("cart");
                   int totalItems = cart.getNumOfItems();
                   System.out.println("totalItems="+totalItems);
                   sos.println("<h4>In Checkout.java</h4>");
                   float totalCost = cart.getCost();
                   sos.println("<h5>Total cost is:"+totalCost+"</h5>");
              catch(Exception e)
                   e.printStackTrace();
    This class is giving me exceptions
    Thanks
    Uma

  • Cannot get Oracle 10g to start on a G5.  Floating point exception

    After a very painful 10g (EE) installation process i.e fixing all the following:
    1) Created the missing /opt directory
    2) Installation of XCode 1.2
    3) Fixing the root.sh file
    4) Downloaded the crstl file provided by Ron
    5) Copied /etc/oratab/oratab to /etc/oratab
    I tried bringing up the Oracle 10g instance by logging onto Sql*Plus as sysdba and running
    startup nomount pfile ='/Users/oracle/admin/db01/scripts/init.ora''. The instance comes up for a few socunds and crashes. This is what i get in the alert.log
    ==========================================================
    Sat Jul 17 11:40:08 2004
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    KCCDEBUG_LEVEL = 0
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    Dynamic strands is set to TRUE
    Running with 2 shared and 18 private strand(s). Zero-copy redo is FALSE
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 10.1.0.3.0.
    System parameters with non-default values:
    processes = 150
    sga_target = 146800640
    control_files = /Users/oracle/oradata/db01/control01.ctl, /Users/oracle/oradata/db01/control02.ctl, /Users/oracle/oradata/db01/control03.ctl
    db_block_size = 8192
    compatible = 10.1.0.2.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = /Users/oracle/flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=db01XDB)
    job_queue_processes = 10
    background_dump_dest = /Users/oracle/admin/db01/bdump
    user_dump_dest = /Users/oracle/admin/db01/udump
    core_dump_dest = /Users/oracle/admin/db01/cdump
    db_name = db01
    open_cursors = 300
    pga_aggregate_target = 16777216
    PMON started with pid=2, OS id=4037
    MMAN started with pid=3, OS id=4039
    DBW0 started with pid=4, OS id=4041
    LGWR started with pid=5, OS id=4043
    CKPT started with pid=6, OS id=4045
    SMON started with pid=7, OS id=4047
    RECO started with pid=8, OS id=4049
    Sat Jul 17 11:40:16 2004
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    CJQ0 started with pid=9, OS id=4051
    Sat Jul 17 11:40:16 2004
    starting up 1 shared server(s) ...
    Sat Jul 17 11:40:18 2004
    Errors in file /Users/oracle/admin/db01/bdump/db01_ckpt_4045.trc:
    ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid floating point operation] [0xA0004CE4] [] []
    Sat Jul 17 11:40:19 2004
    Errors in file /Users/oracle/admin/db01/bdump/db01_mman_4039.trc:
    ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid floating point operation] [0x41EDB3C] [] []
    Sat Jul 17 11:40:21 2004
    Errors in file /Users/oracle/admin/db01/bdump/db01_pmon_4037.trc:
    ORA-00822: MMAN process terminated with error
    Sat Jul 17 11:40:21 2004
    PMON: terminating instance due to error 822
    Instance terminated by PMON, pid = 4037
    ==========================================================
    Any idea on what needs to be done to fix this error. I remember that i had the very same issue with the Oracle 9i R2 Developers release.
    Any help will be greatly appreciated.

    After a very painful 10g (EE) installation process
    i.e fixing all the following:<snip>
    Sat Jul 17 11:40:19 2004
    Errors in file
    /Users/oracle/admin/db01/bdump/db01_mman_4039.trc:
    ORA-07445: exception encountered: core dump [semop+8]
    [SIGFPE] [Invalid floating point operation]
    [0x41EDB3C] [] []
    Sat Jul 17 11:40:21 2004
    Errors in file
    /Users/oracle/admin/db01/bdump/db01_pmon_4037.trc:
    ORA-00822: MMAN process terminated with error
    Sat Jul 17 11:40:21 2004
    PMON: terminating instance due to error 822
    Instance terminated by PMON, pid = 4037==============================================> Any idea on what needs to be done to fix this error.
    I remember that i had the very same issue with the
    Oracle 9i R2 Developers release.
    Any help will be greatly appreciated.You mentioned the 9ir2 release. Do you still have any reference to the 9ir2 software in your environment ? With a little luck you have, and in that case it not so hard to find a solution ...
    Ronald.
    http://homepage.mac.com/ik_zelf/oracle

  • Floating point exception under Open Suse while normal run under SunSolaris

    Dear All,
    I have a strage problem and I cannot get a solution. I have a fortran code that uses the blas lapack libraries. I have compiled the code under Solaris OS using sunstudio12 running on a multicpu ultrasparc III machine. Then I have run the program and I have obtained the results. The same code, the I have compiled under an intel pentium x86 machine running opensuse and sunstudio12 for linux for the x86 platform. On the linux I have used the -xarch=sse2. After compiling I have tried to run it and the program start running but after some time it stops saying Floating point exception. Then I have compiled with the -g and -C option and then run it with dbx having the catch fpe activated. When stopping I got the following message:
    FVr_bestmem( 31) = 2.59647E+01
    t@3064096448 (l@6880) signal FPE (Floating point exception) in ___pl_dlar1v_ at 0xb742c86d
    0xb742c86d: ___pl_dlar1v_+0x02bd: divsd %xmm3,%xmm0
    Current function is fim
    247 CALL DSYEVR('V','A','L',NPAR,HHAT,NPAR,0.0D0,0.0D0,0,0,
    After asking where -v I am getting someting saying that the error is in one of the sunperf lapack routines:
    (dbx) where -v
    current thread: t@3064096448
    [1] ___pl_dlar1v_(0xbf849efc, 0xbf849f3c, 0xbf849efc, 0xbf849f6c, 0x83e40a0, 0x83e4080, 0x83e4180, 0x83e41a0, 0x83e40e0, 0x8481a90, 0xbf849f7c, 0xbf849f74, 0x83da418, 0x83f78b0, 0x83e41e0, 0xbf849f40), at 0xb742c86d
    [2] ___pl_dlarrv_(0x8402f30, 0x83e40a0, 0x83e4080, 0x83da3e0, 0x84014e0, 0x8481850, 0x83da3f0, 0x83e40e0, 0xbf84a0d4, 0x8481a50, 0x8402f30, 0x83f78a0, 0x83e4140, 0x83da400, 0xbf84a0a4, 0xbf84a0a4), at 0xb743c9eb
    [3] ___pl_dstegr_(0x80fb418, 0xb7efbe58, 0x8402f30, 0x83e40a0, 0x83e4080, 0x80fb43c, 0x80fb43c, 0x80fb444, 0x80fb444, 0x80fb474, 0x84014e0, 0x8481850, 0x8481a50, 0x8402f30, 0x83f78a0, 0x83e40e0, 0x80fb47c, 0x83da3e0, 0x80fb47c, 0x8107db0), at 0xb751a566
    [4] ___pl_dsyevr_(0x80fb418, 0x80fb414, 0x80fb410, 0x8402f30, 0x8481650, 0x8402f30, 0x80fb43c, 0x80fb43c, 0x80fb444, 0x80fb444, 0x80fb474, 0x84014e0, 0x8481850, 0x8481a50, 0x8402f30, 0x83f78a0, 0x83e4020, 0x80fb47c, 0x83da3e0, 0x80fb47c), at 0xb752cd9f
    =>[5] fim(nphi = 31, phi = ARRAY, deth = 100.0, ints = ARRAY, nint = 33, doubls = ARRAY, ndoub = 304, tmat = ARRAY, ntmat = 9000, imat = ARRAY, nimat = 36000, nobs = ARRAY, nset = ARRAY, ninitstates = 1, nobscc = 10, nswitch = 5, phimin = ARRAY, phimax = ARRAY, npar = 4, x = ARRAY, nmisst = 0, fprior = 0.0, epsm = 1.1102230246252e-16, info = 0), line 247 in "fim.f"
    [6] calcfc(nn = 31, mm = 38, phi = ARRAY, f = 100.0, con = ARRAY, flag = 1, ints = ARRAY, nint = 33, doubls = ARRAY, ndoub = 304, tmat = ARRAY, ntmat = 9000, imat = ARRAY, nimat = 36000, nobs = ARRAY, nset = ARRAY, ninitstates = 1, nobscc = 10, phimin = ARRAY, phimax = ARRAY, npar = 4, par = ARRAY, nswitch = 5, deltatmatmin = 1.0, deltatmatmax = 20.0, deltatswitchmin = 3.0, deltatswitchmax = 20.0, nmisst = 0, fprior = 0.0, epsm = 1.1102230246252e-16, info = 0), line 343 in "fim.f"
    [7] deopt(i_np = 31, f_weight = 0.9, f_cr = 0.9, i_d = 31, i_bnd_constr = 1, i_itermax = 100000, f_vtr = -100000.0, i_strategy = 7, i_refresh = 100, i_write = 0, fvr_bestmem = ARRAY, i_nc = 38, i_no = 1, bestval_fvr_oa = ARRAY, i_nfeval = 201, ints = ARRAY, nint = 33, doubls = ARRAY, ndoub = 304, tmat = ARRAY, ntmat = 9000, imat = ARRAY, nimat = 36000, nobs = ARRAY, nset = ARRAY, ninitstates = 1, nobscc = 10, fvr_minbound = ARRAY, fvr_maxbound = ARRAY, npar = 4, par = ARRAY, nswitch = 5, deltatmatmin = 1.0, deltatmatmax = 20.0, deltatswitchmin = 3.0, deltatswitchmax = 20.0, nmisst = 0, fprior = 0.0, epsm = 1.1102230246252e-16, info = 0), line 489 in "deopt.f90"
    [8] optim(n = 31, x = ARRAY, eps = 1e-12, eta = 1e-14, itr = 0, w = ARRAY, iw = 714, phimin = ARRAY, phimax = ARRAY, npar = 4, par = ARRAY, icontr = 0, ints = ARRAY, nint = 33, doubls = ARRAY, ndoub = 304, tmat = ARRAY, ntmat = 9000, imat = ARRAY, nimat = 36000, nobs = ARRAY, nset = ARRAY, ninitstates = 1, nobscc = 10, nmisst = 0, nswitch = 5, deltatmatmin = 1.0, deltatmatmax = 20.0, deltatswitchmin = 3.0, deltatswitchmax = 20.0, settings = ARRAY, fprior = 0.0, epsm = 1.1102230246252e-16, info = 0), line 64 in "optim.f"
    [9] main(0x8108740, 0x80f9d30, 0x8107dc0, 0x80f9d34, 0x82bc760, 0x8393524, 0x8393530, 0x8393528, 0x82bc730, 0x82b6360, 0x82b6350, 0x82b62f4, 0x83934f0, 0x82b6970, 0x82b88b0, 0x82ba7f0, 0x82b62f0, 0x82b62e8, 0x82b62e0, 0x82b62d8), at 0x807509a
    [10] expdsgn(ints = ARRAY, nint = 33, doubls = ARRAY, ndoub = 304, info = 0), line 294 in "test.f"
    [11] MAIN(), line 6 in "test.f"
    (dbx)
    I thinking that maybe it is a problem of the CPU type I do not know.
    Could you please give me a hint about what is the problem and how to solve it ?
    Any hint is very much appreciated.
    Thank you very much
    With kind regards

    Dear Paul,
    The story is a bit longer.
    First I have compiled and run the program under windows 2000 using the digital fortran on an intel machine. This was the platform that I work when developing. When compiling using the debug mode there was no problem the program run but slowly. Then when compiling using the optimization options the program crashed giving a fortran run time error. So far I Have always linked agains the LAPACK BLAS comipled altogether with the code.
    The I have tried to the same under mandriva 2008 having the sunstudio12 compiler on the same intel PC.
    I did compiled again everything using the LAPACK AND BLAS fortran files. When running the dbx with the catch FPE the program crashed and the error was in the ilaenv calling the ieeeck routine.
    Then I tried the same linking against the sunperf library and I got the output shown in the first post.
    Secondly I have installed opensuse on the macbook and tried the same with both ways either linking against the sun library or building everything using the LAPACK-blas source. The the same error was produced as presented in the first post.
    Thirdly I moved all the code on a sun microsystem machien with sun ultrasparc III cpus. Then compiled and linked against the sun perf library and the program is running.
    Maybe this will shed more light

  • SolMan 3.1 sapinst throwing floating point exception

    I am new to SAP CRM. I am trying to install SolMan 3.1
    on Linux/Oracle. I have checked the kernel build of Redhat EL 3.0 and the glibc and seems to be fine on the machine. I also have EP installed on the same box so
    the os dependencies should be good to go. While running INSTALL program for SolMan 3.1 installation I get Floating point Exception. Is there anything I am missing ? Is there any SolMan specific kernel to be
    patched?
    thanks
    Sreenu

    -->  login as the user you use to install SAP
    --> type
    LD_ASSUME_KERNEL=2.4.21
    Export   LD_ASSUME_KERNEL
    Let me know if the problem is solved.

  • "Floating point exception" error

    hello :
       i install sap 4.7 in redhat, after using ./install that extracting the files to instdir ,
    the sapinst don't can start setup and present the error "floating point exceprion"
    please help me!
    thanks

    Dear dongyang xu,
    what is your patchlevel of rhel3? Please make sure, that you run the latest Quarterly Update of RHEL3 which is QU9 if I remember correctly.
    Please make also sure, that you are using the latest available sapinst for R/3 4.7 Enterprise.You can download it from <a href="http://service.sap.com/patches">http://service.sap.com/patches</a>.
    Additionally, what version of java have you installed? What's the output of:
    'java -version' and
    'echo $JAVA_HOME'
    Thanks
    Hannes Kuehnemund
    SAP LinuxLab

Maybe you are looking for