• NegotiateSSO-1.4

      The following change to JNA version in release 2.181, combined with NegotiateSSO prevents jenkins from starting.

      https://jenkins.io/changelog/
      What's new in 2.181 (2019-06-16)
      Update JNA from 4.5.2 to 5.3.1 to fix issue with shared library loading on AIX when using OpenJDK. (issue 57515)

          [JENKINS-58207] 2.181 JNA update breaks NegotiateSSO

          Damian slee created issue -

          Damian slee added a comment -

          work around was to roll back to - What's new in 2.180 (2019-06-09)

          Damian slee added a comment - work around was to roll back to - What's new in 2.180 (2019-06-09)
          Oleg Nenashev made changes -
          Labels New: regression
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]

          Markus Winter added a comment -

          plugin itself packs jna-4.5.1.jar and jna-platform-4.5.1.jar via waffle

          Due to classloading the plugins sees the newer jna-5.3.1.jar from Jenkins but the old jna-platform-4.5.1.jar which leads to this error.

          Possible solutions:

          1. plugin first classloading
          2. add explicit dependency to jna and jna-platform (seems waffle itself doesn't need code adjustments, so this might work)
          3. wait for waffle to release new version (current head also uses 5.3.1 of jna, but this is not yet released)
          4. Jenkins core also packs jna-platform (though it seems it doesn't need it)

           

          Markus Winter added a comment - plugin itself packs jna-4.5.1.jar and jna-platform-4.5.1.jar via waffle Due to classloading the plugins sees the newer jna-5.3.1.jar from Jenkins but the old jna-platform-4.5.1.jar which leads to this error. Possible solutions: plugin first classloading add explicit dependency to jna and jna-platform (seems waffle itself doesn't need code adjustments, so this might work) wait for waffle to release new version (current head also uses 5.3.1 of jna, but this is not yet released) Jenkins core also packs jna-platform (though it seems it doesn't need it)  

          Daniel Beck added a comment -

          5. Shading of the dependency in the plugin

          Daniel Beck added a comment - 5. Shading of the dependency in the plugin
          Oliver Gondža made changes -
          Link New: This issue is caused by JENKINS-57515 [ JENKINS-57515 ]

          Waffle 2.0.0 was recently released, and depends on jna 5.3.1 and jna-platform 5.3.1. When I have some time I'll try the upgrade and test it.

          Bryson Gibbons added a comment - Waffle 2.0.0 was recently released, and depends on jna 5.3.1 and jna-platform 5.3.1. When I have some time I'll try the upgrade and test it.

          Tim Postler added a comment -

          I ran into the same problem today while upgrading from LTS 2.176.3 to 190.1 (automatic upgrade), and I guess others will follow. Fortunately 2.176.4 does still work. Any news when this will be fixed? 

          Tim Postler added a comment - I ran into the same problem today while upgrading from LTS 2.176.3 to 190.1 (automatic upgrade), and I guess others will follow. Fortunately 2.176.4 does still work. Any news when this will be fixed? 

          Markus Stoll added a comment -

          manually updating jna and jna-platform to version 5.3.1 AND updating waffle-jna to version 2.1.0 in the plugin solved the problem for me (with latest Jenkins)

          Markus Stoll added a comment - manually updating jna and jna-platform to version 5.3.1 AND updating waffle-jna to version 2.1.0 in the plugin solved the problem for me (with latest Jenkins)

            farmgeek4life Bryson Gibbons
            damianslee Damian slee
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: