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

missing break in getValues@RegistryKey

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      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

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/util/jna/RegistryKey.java
          http://jenkins-ci.org/commit/jenkins/a1714c1690a1ddf387d87fee0869024c599a95fe
          Log:
          [FIXED JENKINS-11767] missing break in getValues@RegistryKey

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/util/jna/RegistryKey.java http://jenkins-ci.org/commit/jenkins/a1714c1690a1ddf387d87fee0869024c599a95fe Log: [FIXED JENKINS-11767] missing break in getValues@RegistryKey
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #1331
          [FIXED JENKINS-11767] missing break in getValues@RegistryKey

          Kohsuke Kawaguchi : a1714c1690a1ddf387d87fee0869024c599a95fe
          Files :

          • core/src/main/java/hudson/util/jna/RegistryKey.java
          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1331 [FIXED JENKINS-11767] missing break in getValues@RegistryKey Kohsuke Kawaguchi : a1714c1690a1ddf387d87fee0869024c599a95fe Files : core/src/main/java/hudson/util/jna/RegistryKey.java changelog.html

            People

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

              Dates

              Created:
              Updated:
              Resolved: