Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11767

missing break in getValues@RegistryKey

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      The Exception:

      Caused by: hudson.util.jna.JnaException: Win32 error: 234 - null
      at hudson.util.jna.RegistryKey.check(RegistryKey.java:124)
      at hudson.util.jna.RegistryKey.getValues(RegistryKey.java:263)

      The getValues handle the 234 error (ERROR_MORE_DATA) but after forget to break the switch-case, so it run to next case (to "default"), which check the error calling the check() function, and that throw an Exception.

            Unassigned Unassigned
            elbandi Elso Andras
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: