Skip to content

GitLab

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Menu
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • OpenTAP OpenTAP
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • OpenTAP
  • OpenTAPOpenTAP
  • Issues
  • #798
Closed
Open
Created Oct 29, 2021 by Rolf Madsen@romadsen-ksDeveloper

The setter for NumberSequenceAnnotation throws FormattingException

The normal behavior would be to set the error of the annotation, but this seems to only happen for the NumberAnnotation.

Stack trace:

13:55:28.503  App          Caught unhandled GUI error.
13:55:28.504  App          Exception: Invalid format
13:55:28.504  App              at OpenTap.UnitFormatter.Parse(String str, String unit, String format, CultureInfo culture)
13:55:28.504  App              at OpenTap.NumberFormatter.parseNumber(String trimmed)
13:55:28.504  App              at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
13:55:28.504  App              at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
13:55:28.504  App              at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
13:55:28.504  App              at OpenTap.NumberFormatter.parseRange(String formatted)
13:55:28.504  App              at OpenTap.NumberFormatter.Parse(String value)
13:55:28.504  App              at OpenTap.NumberSequenceAnnotation.DoConvertBack(Object _value, Type targetType, UnitAttribute unit, CultureInfo culture)
13:55:28.504  App              at OpenTap.NumberSequenceAnnotation.set_Value(String value)
13:55:28.504  App              at Keysight.OpenTap.Wpf.SimpleControlProvider.<>c__DisplayClass0_0.<CreateControl>b__0(String str)
Assignee
Assign to
Time tracking