JBehave
  1. JBehave
  2. JBEHAVE-667

ParameterConverters - NumberFormatException exception

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      java.lang.NumberFormatException: multiple points
      at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1084)
      at java.lang.Double.parseDouble(Double.java:510)
      at java.text.DigitList.getDouble(DigitList.java:151)
      at java.text.DecimalFormat.parse(DecimalFormat.java:1303)
      at java.text.NumberFormat.parse(NumberFormat.java:331)
      at org.jbehave.core.steps.ParameterConverters$NumberConverter.convertValue(ParameterConverters.java:231)
      at org.jbehave.core.steps.ParameterConverters.convert(ParameterConverters.java:141)
      at org.jbehave.core.steps.StepCreator.convertParameters(StepCreator.java:198)
      at org.jbehave.core.steps.StepCreator.access$800(StepCreator.java:27)
      at org.jbehave.core.steps.StepCreator$ParameterizedStep.parametriseStep(StepCreator.java:467)
      at org.jbehave.core.steps.StepCreator$ParameterizedStep.perform(StepCreator.java:425)
      at org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:436)
      at org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:419)
      at org.jbehave.core.embedder.StoryRunner.runScenarioSteps(StoryRunner.java:384)
      at org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:259)
      at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
      at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
      at org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
      at org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        Paul Hammant made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Paul Hammant
            Reporter:
            Paul Hammant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: