Uploaded image for project: 'Okapi'
  1. Okapi
  2. OKAPI-1091

Exception for SemVer with component 4000001006

    XMLWordPrintable

Details

    • Standard Bug Write-Up Format
    • CP: sprint 137
    • 1
    • Core: Platform
    • TBD

    Description

      malc reports:

      The folio-registry is returning a strange error while attempting to fetch or post MDs.

      For input string: "4000001006"
      java.lang.NumberFormatException: For input string: "4000001006"

      Full log message:
      2022-04-11T13:06:42,333 WARN ProxyContext For input string: "4000001006"
      java.lang.NumberFormatException: For input string: "4000001006"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:?]
      at java.lang.Integer.parseInt(Integer.java:652) ~[?:?]
      at java.lang.Integer.parseInt(Integer.java:770) ~[?:?]
      at org.folio.okapi.common.SemVer.compareComp(SemVer.java:83) ~[okapi-core-fat.jar:?]
      at org.folio.okapi.common.SemVer.compareTo(SemVer.java:194) ~[okapi-core-fat.jar:?]
      at org.folio.okapi.common.ModuleId.compareTo(ModuleId.java:96) ~[okapi-core-fat.jar:?]
      at org.folio.okapi.bean.ModuleDescriptor.compareTo(ModuleDescriptor.java:464) ~[okapi-core-fat.jar:?]
      at org.folio.okapi.bean.ModuleDescriptor.compareTo(ModuleDescriptor.java:21) ~[okapi-core-fat.jar:?]
      at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320) ~[?:?]
      at java.util.ComparableTimSort.sort(ComparableTimSort.java:202) ~[?:?]

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases