java.lang.NumberFormatException: For input string: "g"*

Jenkins JIRA | Christian Opitz | 11 months ago
  1. 0

    No matter in which format I add the file name, I either get an error message or the file is not found. Jenkins ver. 1.625.3 on Windows 7 Examples: +No files found+ Error message: Filematcher found no files using pattern X in folder Y Not found patterns (including the quotation marks): "_bin\*.map" "C:\Projekte\myproject\ _bin\*.map" "_bin\XXX-XXX100_000300_R1931_20160113_0854.map" +Exception+ _bin\XXX-XXX100_000300_R1931_20160113_0854.map _bin\ *.map *.map What is interesting, is that the error message says that there was an exception for input string "g" (marked in bold below) although, there is no "g" in the input string... Memory Map Plugin version 2.1.2 (cfc34) ERROR: Build step failed with exception *java.lang.NumberFormatException: For input string: "g"* at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at net.praqma.jenkins.memorymap.util.HexUtils$HexifiableString.getLongValue(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) at java.util.TimSort.binarySort(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser.guessLengthOfSections(GccMemoryMapParser.java:139) at net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser.parseMapFile(GccMemoryMapParser.java:168) at net.praqma.jenkins.memorymap.parser.MemoryMapMapParserDelegate.invoke(MemoryMapMapParserDelegate.java:61) at net.praqma.jenkins.memorymap.parser.MemoryMapMapParserDelegate.invoke(MemoryMapMapParserDelegate.java:39) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at net.praqma.jenkins.memorymap.MemoryMapRecorder.perform(MemoryMapRecorder.java:161) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Build step 'Memory Map Publisher' marked build as failure

    Jenkins JIRA | 11 months ago | Christian Opitz
    java.lang.NumberFormatException: For input string: "g"*
  2. 0

    No matter in which format I add the file name, I either get an error message or the file is not found. Jenkins ver. 1.625.3 on Windows 7 Examples: +No files found+ Error message: Filematcher found no files using pattern X in folder Y Not found patterns (including the quotation marks): "_bin\*.map" "C:\Projekte\myproject\ _bin\*.map" "_bin\XXX-XXX100_000300_R1931_20160113_0854.map" +Exception+ _bin\XXX-XXX100_000300_R1931_20160113_0854.map _bin\ *.map *.map What is interesting, is that the error message says that there was an exception for input string "g" (marked in bold below) although, there is no "g" in the input string... Memory Map Plugin version 2.1.2 (cfc34) ERROR: Build step failed with exception *java.lang.NumberFormatException: For input string: "g"* at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at net.praqma.jenkins.memorymap.util.HexUtils$HexifiableString.getLongValue(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) at java.util.TimSort.binarySort(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser.guessLengthOfSections(GccMemoryMapParser.java:139) at net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser.parseMapFile(GccMemoryMapParser.java:168) at net.praqma.jenkins.memorymap.parser.MemoryMapMapParserDelegate.invoke(MemoryMapMapParserDelegate.java:61) at net.praqma.jenkins.memorymap.parser.MemoryMapMapParserDelegate.invoke(MemoryMapMapParserDelegate.java:39) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at net.praqma.jenkins.memorymap.MemoryMapRecorder.perform(MemoryMapRecorder.java:161) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Build step 'Memory Map Publisher' marked build as failure

    Jenkins JIRA | 11 months ago | Christian Opitz
    java.lang.NumberFormatException: For input string: "g"*
  3. 0

    [JIRA] [memory-map-plugin] (JENKINS-32424) Can't define map file path

    Google Groups | 11 months ago | Christian.Opitz@de.bosch.com (JIRA)
    java.lang.NumberFormatException: For input string: &quot;g&quot;</b>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to parse abc_primary_text_holo_dark.xml resource file

    GitHub | 5 years ago | stefankemp
    java.lang.NumberFormatException: For input string: "@color/abs__bright_foreground_disabled_holo_dark"
  6. 0

    JUnit testing on Android application with Robolectrics framework

    Stack Overflow | 4 years ago | Charles LAU
    java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "FFFFFF "

  1. treefolk 1 times, last 1 week ago
  2. MoYapro 5 times, last 2 weeks ago
  3. Handemelindo 2 times, last 3 weeks ago
  4. marcbouvierdav 1 times, last 2 months ago
  5. tyson925 4 times, last 2 months ago
13 more registered users
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "g"*

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Long.parseLong
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Long.parseLong(Unknown Source)
    2 frames
  3. net.praqma.jenkins
    GccMemoryMapParser$MemoryMapMemItemComparator.compare
    1. net.praqma.jenkins.memorymap.util.HexUtils$HexifiableString.getLongValue(HexUtils.java:81)
    2. net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser$MemoryMapMemItemComparator.compare(GccMemoryMapParser.java:124)
    3. net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser$MemoryMapMemItemComparator.compare(GccMemoryMapParser.java:120)
    3 frames
  4. Java RT
    Collections.sort
    1. java.util.TimSort.binarySort(Unknown Source)
    2. java.util.TimSort.sort(Unknown Source)
    3. java.util.TimSort.sort(Unknown Source)
    4. java.util.Arrays.sort(Unknown Source)
    5. java.util.Collections.sort(Unknown Source)
    5 frames
  5. net.praqma.jenkins
    MemoryMapMapParserDelegate.invoke
    1. net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser.guessLengthOfSections(GccMemoryMapParser.java:139)
    2. net.praqma.jenkins.memorymap.parser.gcc.GccMemoryMapParser.parseMapFile(GccMemoryMapParser.java:168)
    3. net.praqma.jenkins.memorymap.parser.MemoryMapMapParserDelegate.invoke(MemoryMapMapParserDelegate.java:61)
    4. net.praqma.jenkins.memorymap.parser.MemoryMapMapParserDelegate.invoke(MemoryMapMapParserDelegate.java:39)
    4 frames
  6. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:991)
    2. hudson.FilePath.act(FilePath.java:969)
    2 frames
  7. net.praqma.jenkins
    MemoryMapRecorder.perform
    1. net.praqma.jenkins.memorymap.MemoryMapRecorder.perform(MemoryMapRecorder.java:161)
    1 frame
  8. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
    4. hudson.model.Build$BuildExecution.post2(Build.java:185)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
    6. hudson.model.Run.execute(Run.java:1766)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:98)
    9. hudson.model.Executor.run(Executor.java:408)
    9 frames