Problems when changing hex string to integer.

Hi
I am trying to change a hex string to an integer. I have done this using the following code:
theinteger = Integer.parseInt(thestring, 16);
this works for every hex number up to 7fffffff (Hex). As soon as I go to 80000000 (Hex) a number format exception occurs.
Does any know why this is happening as the highest number I need to go to is ffffffff (Hex).
Thanks

you must parse it to long.
7FFFFFFFF is the highest number that a int can hold.
0x80000000 being the lowest negative number.
Anyway, parsing to long should take care of the problem.

Similar Messages

  • [svn] 3363: Fix performance problem when changing multiple DisplayObject-dependent properties .

    Revision: 3363
    Author: [email protected]
    Date: 2008-09-25 11:58:56 -0700 (Thu, 25 Sep 2008)
    Log Message:
    Fix performance problem when changing multiple DisplayObject-dependent properties. The call to assignDisplayObjects() is now batched up into the next commitProperties() call.
    Bugs: SDK-17033
    Reviewer: Deepa
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17033
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as

    hello sir,
    i want to your help
    i was installed fresh windows 7 via cd rom and then after installed all software.
    and now after 1 day customer complained me that cd rom not read any cd and i m also check when i insurt cd so its not read and when i am double click on cd rom icon its eject so what i do for that please reply on my email address.
    [text removed for privacy]
    VIMAL

  • Problem when changing the target quantity for a contract

    Hello,
    I have a problem when i try to change the target quantity for a contract through the BAPI 'BAPI_CONTRACT_CHANGE'.
    I filled the tables 'item' and 'itemx' with new values. the BAPI 'BAPI_CONTRACT_CHANGE' returns no error, but after using the BAPI 'BAPI_TRANSACTION_COMMIT' I get an info message from SAP and the modification does not pass.
    In debugger I could locate the error. In fact, the appeal of FM 'ME_UPDATE_DOCUMENT is done with a table XEKKN with the new values of the quantity and a KZ code equal to ' I ' to insert, then it must have the value ' U 'for update .
    Is someone can help me to solve this problem?
    Thank you in advance.

    Have you tried selecting the page, and then changing the theme directly on that page?

  • ITSMobile - Problems when changing screen layout with CSS

    Good afternoon,
    I have a service ZLM00(SICF) with some public screens in the stile MOBILE4(Service of  internet-se80), and I am trying change your layouts with CSS.
    Steps taken:
        1 u2013 I activated the repository MIMES (/default_host/sap/public/bc/its/mimes);
        2 u2013 I copied the mobile.css from internet service standard ITSMOBILE for my service ZLM00(se80) with the name ZRF01.CSS;
        3 u2013 I added the parameter ~ITSMOBILECSSINCLUDE = ZRF01 in my service ZLM00(SICF);
        4 u2013 I published all screens and file ZRF1.CSS;
    The problem:
          When I test the service in the browser, I see in the source code that the file CSS was added u201C<link rel="stylesheet" href="/sap/public/bc/its/mimes/zlm00/99/ZRF01.css" type="text/css" />u201D
          And the screens received some changes, however when I added a new line in file CSS for exemple
    /* --- Basic Row -
          .MobileRow {
            white-space:pre;
            vertical-align:middle;
            background-color:#F3F3F3;  "new lineu201D
            Is not ok. Just the command standard works.
            I am doing something wrong ? Is missing some step ?
            My configurations:
             - Version SAP ECC 6.0/SAP_APPL 604 SP8;
             - Device mobile Symbol/motorola MC3190;
             - Operating system Windows CE 6.0 with Internet Explorer 6.0;
             SICF:
             ~THEME                          99
             ~TRANSACTION                          LM01
             ~ITSMOBILE                          1
             ~SOURCES                          ZLM00,ITSMOBILE
             ~POPUPS                           1
             ~ITSMOBILECSSINCLUDE     ZRF01
             ~ITSMOBILEELEMUNITS       px
             ~DYNPRO_COMPRESSION     1
             ~ITSMOBILECUAINCLUDE     ZCUAAREA
             ~ITSMOBILEELEMFACTOR      6
          PS: I am trying change the layout of the screens only to remove blank spaces placed on the screen MOBILE4, the objects do not fit the device screen.        
          Best regards,  
          Gerson S. Livio

    No.
    If you want to see how the screen will look; look in the iPhone/ iOS 7 section of this site.

  • SERVER.XML re-write problem when changing HTTP to HTTPS

    Hello,
    I am using SUN ONE App server and had a problem with turning SSL on in order to use HTTPS.
    What I did was that in GUI I selected a http listener under my instance and checked SSL/TLS Settings. I clicked Apply Changes button and I got a message saying that there wa a problem with XML-DOM. I checked my server.xml and found that its size was 0. It seems that it stopped re-writing it when it met the problem.
    An interesting thing is that when I created an additional http listener with SSL at a different port, there was no problem.
    It seems that the problem occurs only when I tried to change HTTP to HTTPS.
    Is there anyone who can tell me why this happens?
    I will appreciate any answers or comments.
    Thanks

    Hi,
    Is your Implementation Class is still the same (as the old one), when you changed the pre-fix.
    Just double click on the Implementation class and check whether the methods are still implemented or not.
    Thanks, Advay

  • Problem when change bank clearing account for payment posting.

    We recently changed the bank clearing account for payment posting (program PC00_M99_PPM). But I found out because the config can only be changed but not delimited on payroll side, the program errored out when it retro back for an employee to the old clearing account.  So what am I supposed to do to fix this problem?
    Have anyone ever handled this problem before and could please throw some light on it?
    Thanks in advance.
    Johnson

    hi
    check following
    1. Check in OMWD, whether Valuation grouping code "0001" ia ssigned to Ur plant
    2. OBYC - If you have assigned GR/IR Clearing A/c to WRX then check whether you have maintained it with combination of valuation class and GL A/c
    If yes then maintain only GL A/c w/o valuation class OR maintain one entry with valuation class empty and GL A/c
    check following
    Error in service entry sheet
    Re: Error in ML81N
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/grir-clearing-account-wrx-doesnt-recover-gl-account-2224137?cv=expanded
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-ps/problem-while-posting-service-entrysheet-in-ecc-60-version-1483547?cv=expanded#
    regards
    kunal

  • Me22 Problem when change price for Conditions

    Hi,
    I have a strange problem about ME22. I explain the problem step by step:
    1) Enter ME22 with PO
    2) Select one PO Item (ex. the first item) and click on Services
    3) Select First Position.
    4) Click on Conditions and Change the Price.
    5) Back to Services, and repeat step 3 and 4 for second position
    When i change the price at first time work fine but, when i try to change prize the second time the dynpro Conditions appear empty and with row locked.
    This problem don't happen if i don't change the price in Condition Dynpro.
    In ME22N work fine. This is a problem because some batch-input on ME22 stop with error "input not possible" after step 5.
    There is a solution or OSS Note for this problem ?
    Regards,
    Angelo.

    Did you already had an answer on your problem? I am facing the same problem.

  • Problem when changing SAPJSF's role

    Hi experts!!
    I am working on EP 2004s ABAP & JAVA stack SP14.
    I tried to change SAPJSF' s role in R/3 from SAP_BC_JSF_COMMUNICATION_RO to SAP_BC_JSF_COMMUNICATION so that i have write rights to the ABAP UME datasource. When i did that all the portal's passwords were not valid. (e.g. i tried to logon to the portal with my username - passord- but i could not).
    What could be the problem!!!
    Thank you in advance!!!!

    Hello Michael:
    You can use the HR Report RHINFT00 to make changes to the CS Descriptions.
    In the report Selection Parameters choose the CS Objects and enter the Infotype 1000. You will get a list of the CS Objects after the report is executed. Select the CS Object and choose the "Change" Icon to amend the description.
    Regards,
    Patricia

  • Problem when change DBF connection

    I use jdbc dbf driver to connect to DBF.
    String databaseDriverName ="com.hxtt.sql.dbf.DBFDriver";
    Class.forName(databaseDriverName).newInstance();
    String databaseDirectory=dbase;/
    String url = "jdbc:DBF:///"+databaseDirectory;
    java.sql.Connection con = DriverManager.getConnection(url,"","");
    databaseDirectory is the path to DBF file
    I transfer data from DBF to oracle database. When transfer is complete I close the frame, copy new file with same name on same location.
    Frame is open again and i read the data from old file.
    Where is the problem?

    Even I have the same question... where is the problem? Looks like you have missed out the real part.
    Annie.

  • Changing hex string display format

    When a string control is in hex display format any data typed is displayed in groups of 2 bytes like AABB CCDD.
    Is there any way to display them in separate group of single bytes like AA BB CC DD?

    Try keeping the discussion in the original thread.

  • CS5 Device Central Stage.width/Stage.height update problem when change the device profile.

    When creating FL 3.0/3.1 app   and testing it at the CS5 Device Central if you change the profile of the active device(select different phone with different screen size) Stage.width/Stage.height could't change. Always stays the same as the first device's Stage.width and height. Even if you add addListener with Delegate nothing happends. Also it effects to Screen Oriantation. It looks like a problem or is this a bug?

    Having the same problem, though I can't get it to connect even once. I just started researching the problem tonight - no solution yet...
    I'm on Windows 7 Pro 64-bit, Production Premium CS 5.5.
    I've got no other internet issues, Adobe update works fine.
    Please - Anybody have an idea how to troubleshoot this problem?
    Thank you.

  • URL problems when change application language to Spainish

    Using APEX 3.1.2
    Our application is usually in English. For a quick test we've changed the application language to Spainish through the 'Globalization' part of 'Shared Components'. Things look OK, the date pickers are showing the correct language and the NLS numeric characters are as expected - except... some page branches (from buttons, etc.) are no longer working correctly. It appears to be related to timestamps being passed across, they seem to be interpreted as multiple parameters!
    E.G. in the URL http://my_box/pls/apex/f?p=2000:5002:4461616080789919::NO:RP,5002:P5002_CALLING_PAGE,P5002_TS,P5002_ID,P5002_DT:5001%2C10-DIC-09%2006.00.00%2C000000%2C181618172273744521291303312596297592589%2C10-DIC-2009&cs=392CF7A0393244530EC469114C4996A8E
    the fractional seconds of the parameter P5002_TS is being received by the third parameter, P5002_ID, etc.
    What am I doing wrong?

    Andy Hardy wrote:
    Using APEX 3.1.2
    Our application is usually in English. For a quick test we've changed the application language to Spainish through the 'Globalization' part of 'Shared Components'. Things look OK, the date pickers are showing the correct language and the NLS numeric characters are as expected - except... some page branches (from buttons, etc.) are no longer working correctly. It appears to be related to timestamps being passed across, they seem to be interpreted as multiple parameters!
    E.G. in the URL http://my_box/pls/apex/f?p=2000:5002:4461616080789919::NO:RP,5002:P5002_CALLING_PAGE,P5002_TS,P5002_ID,P5002_DT:5001%2C10-DIC-09%2006.00.00%2C000000%2C181618172273744521291303312596297592589%2C10-DIC-2009&cs=392CF7A0393244530EC469114C4996A8E
    the fractional seconds of the parameter P5002_TS is being received by the third parameter, P5002_ID, etc.
    What am I doing wrong?Even more confused now!
    Just created a quick test app: table has timestamp, number and varchar2 fields - another number field is used for the primary key and has a matching sequence. Populated the table with various acceptable values. Created two pages using form-with-report wizard - changed all fields to 'text' to get rid of problems with datepickers not liking timestamps. Created another page with an HTML region containing items to match those on the form. Used button wizard to add a 'go' button on the form page to go to the HTML page, modified the branch to populate the HTML region items with those from the form.
    Run the report page, see the expected results, 'edit' to go to the form page, see the expected values. Press the 'go' button, goes the HTML page... the timestamp field is not populated correctly - the value is truncated at the fractional sections part i.e. where the '.' would be. Depending on where the timestamp appears in the URL, the following items will also not be populated. For example, here:
    http://loordv01.ad.dom/pls/apex/f?p=115:2:4046922604148424::NO::P2_TS,P2_ID,P2_VAL1,P2_VAL2:10-DEC-2009%2000:00&success_msg=Action%20Processed.%2F6E98BFC3726F8950ADF64DADBB5E0A87%2F
    The timestamp is the first field on the URL and none of the other values appear...
    I seem to be able to workaround this by having a PL/SQL process that just sets the called screen TS value directly i.e :P4_TS = :P2_TS - any pitfalls with this approach?

  • Problem when changing connection to SQL Anywhere during runtime

    I designed a report in the Crystal Reports 2008 designer using a JDBC connection
    to a SQL Anywhere 11.0.1 database.
    Everything works fine, I´m able to preview the report in the designer.
    But when loading and running the same report in a Eclipse-based java-application I receive
    an error.
    When I set the db connection parameters I receive an "unexpected database-connector-error".
    When starting the report without changing the connection parameters set in the CR2008-designer
    the same error appears.
    When using a report based on a MySQL-database everything works fine.
    I´m able to preview the report in the designer and I´m able to load the report
    and change the datasource to another MySQL-database at runtime.
    What do I have to do to change a SQL Anywhere connection at runtime?

    Your workflow and the specific method being invoked where you're getting the exception is unclear.
    Sincerely,
    Ted Ueda

  • Problem when change time of Linux

    Hi All,
    we are developing an application using Adobe Air 1.5 and an issue is happenning when the time of Linux is delayed. For example, when the clock is delayed from 10 to 9 hours, the application freezes. Do you have any solution to this problem?
    Regards
    Vamberto.

    That was my guess
    Craig Wollman
    Word of Mouth Productions
    phone 212 928 9581
    fax 212 928 9582
    159-00 Riverside Drive West #5H-70
    NY, NY 10032
    www.wordofmouthpros.com
    "openspark" <[email protected]> wrote in
    message
    news:e1e1pc$183$[email protected]..
    > The original code does not work because the rect of the
    sprite is not
    > updated
    > after each command. This will also work...
    >
    > sprite(1).left = sprite(1).left - 5
    > updateStage
    > sprite(1).right = sprite(1).right + 5
    > updateStage
    >
    > ... but it uses many more CPU cycles
    >

  • Q10 texting problems when changing font size.

    Hello All,
    can some please help I have instsall all the latest updates and when i change the font size and start to type in the texting window I can only see two lines after that i cant see what im typeing?? font size is set to 12
    thanks
    Kelly
    is there a fx=ix for this?? Q10 blackberry.

    Kelly, the fix would be to reduce the font size.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Setting up Multiple SSID's & VLAN

    I have a Cisco 1230 AP along with a Sonic Wall TZ 210 and a Linksys SFE 2010P switch. On my AP I have created 2 SSID's. and 2 VLAN's. The first SSID is being broadcasted and has WPA encryption on it for our Corporate USers. The Second SSID is a Guest

  • I would like to know how to add images and create a slide show

    The image I try to add to my web page show up as grayed out boxes and never show up. I would also love to learn how to make a slide show to enhance my home page. Thank you!

  • Some of the applications on my iPad cannot be updated because the iPad cannot connect to App Store

    I don't understand why the applications I have on my iPad don't get updated. Every time I choose Update All, there appears a message saying CANNOT CONNECT TO APP STORE. Is there any problem between my iPad and the App Store or is there any problem wi

  • Employee Work Details

    Dear Gurus,     In which infotype we can maintain for Employee Work Details like Project Name, Project Role, Project location, Area of Responsibility etc., Regards, Ravi Kanth .G

  • User IDs & its Names?

    Hi Experts, Even though I found many User IDs and its corresponding Names in USR03, USR21, but still some User IDs r missing! So, What r the other tables <u><b>(i.e. Other than USR03, USR21)</b></u>, I hv to look for User IDs and corresponding Names?