java.util.InputMismatchException

Jenkins JIRA | Marc Esher | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I've forked the latest code at github and am running with mvn hpi:run. I set up a job to run a jmeter test and emit a .jtl file, and then have configured the job to parse that file. When it attempts to do so, I get this error: Performance: Parsing JMeter report file simple_hammer.jtl Jul 10, 2013 7:20:38 AM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.performance.PerformancePublisher aborted due to exception java.util.InputMismatchException at java.util.Scanner.throwFor(Scanner.java:840) at java.util.Scanner.next(Scanner.java:1461) at java.util.Scanner.nextLong(Scanner.java:2196) at java.util.Scanner.nextLong(Scanner.java:2156) at hudson.plugins.performance.JmeterSummarizerParser.parse(JmeterSummarizerParser.java:76) at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:222) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1363) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) As a result, I see no way to contribute to this plugin

    Jenkins JIRA | 4 years ago | Marc Esher
    java.util.InputMismatchException
  2. 0

    I've forked the latest code at github and am running with mvn hpi:run. I set up a job to run a jmeter test and emit a .jtl file, and then have configured the job to parse that file. When it attempts to do so, I get this error: Performance: Parsing JMeter report file simple_hammer.jtl Jul 10, 2013 7:20:38 AM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.performance.PerformancePublisher aborted due to exception java.util.InputMismatchException at java.util.Scanner.throwFor(Scanner.java:840) at java.util.Scanner.next(Scanner.java:1461) at java.util.Scanner.nextLong(Scanner.java:2196) at java.util.Scanner.nextLong(Scanner.java:2156) at hudson.plugins.performance.JmeterSummarizerParser.parse(JmeterSummarizerParser.java:76) at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:222) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560) at hudson.model.Build$RunnerImpl.post2(Build.java:156) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1363) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) As a result, I see no way to contribute to this plugin

    Jenkins JIRA | 4 years ago | Marc Esher
    java.util.InputMismatchException
  3. 0

    Jenkins Jmeter performance trend plugin parsing .jtl files successfully but showing following error while parsing .log files Performance: Recording JMeter reports '**/*.jtl' Performance: Parsing JMeter report file SIP_#61.jtl Performance: Parsing JMeter report file SIP_#62.jtl Performance: File SIP_#61.jtl reported 0.0% of errors [SUCCESS]. Build status is: SUCCESS Performance: File SIP_#62.jtl reported 0.0% of errors [SUCCESS]. Build status is: SUCCESS Performance: Recording JmeterSummarizer reports '**/*.log' Performance: Parsing JMeterSummarizer report file SIP_#61.log ERROR: Build step failed with exception java.util.InputMismatchException at java.util.Scanner.throwFor(Scanner.java:909) at java.util.Scanner.next(Scanner.java:1530) at java.util.Scanner.nextLong(Scanner.java:2265) at java.util.Scanner.nextLong(Scanner.java:2225) at hudson.plugins.performance.JmeterSummarizerParser.parse(JmeterSummarizerParser.java:82) at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:222) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) 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:381) Build step 'Publish Performance test result report' marked build as failure Finished: FAILURE

    Jenkins JIRA | 1 year ago | Sagar Ladwa
    java.util.InputMismatchException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Having issues reading Long types from a textfile using Java scanner

    Stack Overflow | 7 years ago | watley8
    java.util.InputMismatchException
  6. 0

    Can't seem to read from .txt in Java

    Stack Overflow | 2 years ago
    java.util.InputMismatchException

    2 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.util.InputMismatchException

      No message provided

      at java.util.Scanner.throwFor()
    2. Java RT
      Scanner.nextLong
      1. java.util.Scanner.throwFor(Scanner.java:840)
      2. java.util.Scanner.next(Scanner.java:1461)
      3. java.util.Scanner.nextLong(Scanner.java:2196)
      4. java.util.Scanner.nextLong(Scanner.java:2156)
      4 frames
    3. hudson.plugins.performance
      PerformancePublisher.perform
      1. hudson.plugins.performance.JmeterSummarizerParser.parse(JmeterSummarizerParser.java:76)
      2. hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:222)
      2 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:156)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529)
      7. hudson.model.Run.run(Run.java:1363)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:140)
      10 frames