java.lang.NumberFormatException: For input string: "sprint-2"

Google Groups | Vincent Brouillet | 2 months ago
  1. 0

    cucumber run individual or subset with tag filter results in a Number format exception

    Google Groups | 2 months ago | Vincent Brouillet
    java.lang.NumberFormatException: For input string: "sprint-2"
  2. 0

    Missing Try/Catch loop

    GitHub | 2 years ago | jztech101
    java.lang.NumberFormatException: For input string: "weather"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    经常出现java.lang.NumberFormatException,会把jsessionid转型为整型

    GitHub | 2 years ago | tanqimin
    java.lang.NumberFormatException: For input string: ";jsessionid=77EDD8EEBC793BF4468C5874F9522ADB4"
  5. 0

    Capsule fails to parse some versions of the JRE

    GitHub | 3 years ago | casidiablo
    java.lang.NumberFormatException: For input string: "20-ea"

  1. filpgame 4 times, last 2 weeks ago
  2. MoYapro 1 times, last 1 month ago
  3. Handemelindo 1 times, last 1 month ago
  4. silex 6 times, last 1 month ago
  5. ajinkya_w 3 times, last 1 month ago
31 more registered users
64 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: "sprint-2"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Integer.parseInt(Integer.java:580)
    3. java.lang.Integer.parseInt(Integer.java:615)
    3 frames
  3. Gherkin
    FilterFormatter.<init>
    1. gherkin.TagExpression.add(TagExpression.java:47)
    2. gherkin.TagExpression.<init>(TagExpression.java:17)
    3. gherkin.formatter.TagFilter.<init>(TagFilter.java:14)
    4. gherkin.formatter.FilterFormatter.detectFilter(FilterFormatter.java:64)
    5. gherkin.formatter.FilterFormatter.<init>(FilterFormatter.java:41)
    5 frames
  4. Cucumber-JVM: Core
    RuntimeOptions.cucumberFeatures
    1. cucumber.runtime.FeatureBuilder.parse(FeatureBuilder.java:126)
    2. cucumber.runtime.model.CucumberFeature.loadFromFeaturePath(CucumberFeature.java:104)
    3. cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:54)
    4. cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:34)
    5. cucumber.runtime.RuntimeOptions.cucumberFeatures(RuntimeOptions.java:235)
    5 frames
  5. Cucumber-JVM: JUnit
    Cucumber.<init>
    1. cucumber.api.junit.Cucumber.<init>(Cucumber.java:60)
    1 frame
  6. net.serenitybdd.cucumber
    CucumberWithSerenity.<init>
    1. net.serenitybdd.cucumber.CucumberWithSerenity.<init>(CucumberWithSerenity.java:26)
    1 frame
  7. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  8. JUnit
    ClassRequest.getRunner
    1. org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
    2. org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
    3. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    4. org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
    5. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    6. org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
    6 frames
  9. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
    4 frames
  10. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
    3 frames