Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31200

Allow addresses larger than java.lang.Integer.MAX_VALUE (case 13768)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The following occurs with one of our map files.

      Memory Map Plugin version 2.1.0 (af6cf)
      ERROR: Build step failed with exception
      java.lang.NumberFormatException: For input string: "ff000000"
      at java.lang.NumberFormatException.forInputString(Unknown Source)
      at java.lang.Integer.parseInt(Unknown Source)
      at net.praqma.jenkins.memorymap.util.HexUtils$HexifiableString.getIntegerValue(HexUtils.java:81)
      at net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser$MemoryMapMemItemComparator.compare(GccMemoryMapParser.java:124)
      at net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser$MemoryMapMemItemComparator.compare(GccMemoryMapParser.java:120)
      ...

      Using Long or some other datatype might be a possible fix.

        Attachments

          Activity

          Hide
          madsnielsen Mads Nielsen added a comment -

          Thanks for the bug report. We'll take a look at this asap.

          Best regards,
          Mads

          Show
          madsnielsen Mads Nielsen added a comment - Thanks for the bug report. We'll take a look at this asap. Best regards, Mads
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Thierry Lacour
          Path:
          src/main/java/net/praqma/jenkins/memorymap/MemoryMapBuildAction.java
          src/main/java/net/praqma/jenkins/memorymap/parser/gcc/GccMemoryMapParser.java
          src/main/java/net/praqma/jenkins/memorymap/util/HexUtils.java
          src/test/java/net/praqma/jenkins/unit/HexUtilsTest.java
          http://jenkins-ci.org/commit/memory-map-plugin/ec8aa0d5873408581b900efa5cd769cde72abbab
          Log:
          JENKINS-31200 HexUtils fails to parse values over max int

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thierry Lacour Path: src/main/java/net/praqma/jenkins/memorymap/MemoryMapBuildAction.java src/main/java/net/praqma/jenkins/memorymap/parser/gcc/GccMemoryMapParser.java src/main/java/net/praqma/jenkins/memorymap/util/HexUtils.java src/test/java/net/praqma/jenkins/unit/HexUtilsTest.java http://jenkins-ci.org/commit/memory-map-plugin/ec8aa0d5873408581b900efa5cd769cde72abbab Log: JENKINS-31200 HexUtils fails to parse values over max int
          Hide
          thi Thierry Lacour added a comment -

          Resolved in v 2.1.1

          Show
          thi Thierry Lacour added a comment - Resolved in v 2.1.1

            People

            Assignee:
            praqma Praqma Support
            Reporter:
            kwalp kennabec walp
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: