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

missing break in getValues@RegistryKey

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: