[JIRA] (JENKINS-57357) NullPointerException due to non-backwards compatibility in hudson.plugins.EC2.SlaveTemplate.
Title: Message Title Adrien Tateno updated an issue Jenkins / JENKINS-57357 NullPointerException due to non-backwards compatibility in hudson.plugins.EC2.SlaveTemplate. Change By: Adrien Tateno Summary: NullPointerException due to non- backwars backwards compatibility in hudson.plugins.EC2.SlaveTemplate. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199136.1557244845000.20271.1557246780115%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57357) NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate.
Title: Message Title Adrien Tateno updated an issue Jenkins / JENKINS-57357 NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate. Change By: Adrien Tateno Attachment: image-2019-05-07-10-52-22-920.png Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199136.1557244845000.20263.1557245460108%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57357) NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate.
Title: Message Title Adrien Tateno updated an issue Jenkins / JENKINS-57357 NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate. Change By: Adrien Tateno Upon upgrading the ec2-plugin to master and restarting Jenkins, the EC2 nodes begin to fail connecting with the following exception {{ ! image- Screen Shot 2019-05-07 -10-52-22-920 at 9 . 23.19 AM. png |thumbnail ! }} This is likely due to the recent change that allows configuring the strategy for determining the hostname/IP address of the node [https://github.com/jenkinsci/ec2-plugin/pull/329].[https://wiki.jenkins.io/display/JENKINS/Hint+on+retaining+backward+compatibility] suggests that it is necessary to define a {{readResolve()}} method when deprecating fields (in this case the boolean fields {{usePrivateDnsName connectUsingPublicIp}}) because when objects are loaded from XML their constructors are not invoked.What likely happened here, is that the newly defined {{connectionStrategy}} was null when loaded from XML, causing the hostname/IP address determination to fail at instance startup time. [~jvz][~dgarzon] Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenk
[JIRA] (JENKINS-57357) NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate.
Title: Message Title Adrien Tateno updated an issue Jenkins / JENKINS-57357 NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate. Change By: Adrien Tateno Attachment: Screen Shot 2019-05-07 at 9.23.19 AM.png Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199136.1557244845000.20259.1557245400824%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57161) ec2 plugin locks queue until excessWorkload is 0
Title: Message Title Adrien Tateno commented on JENKINS-57161 Re: ec2 plugin locks queue until excessWorkload is 0 Proposed fix: https://github.com/jenkinsci/ec2-plugin/pull/346 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.198911.1556047726000.20257.1557245160174%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57357) NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate.
Title: Message Title Adrien Tateno created an issue Jenkins / JENKINS-57357 NullPointerException due to non-backwars compatibility in hudson.plugins.EC2.SlaveTemplate. Issue Type: Bug Assignee: FABRIZIO MANFREDI Attachments: image-2019-05-07-10-52-22-920.png Components: ec2-plugin Created: 2019-05-07 16:00 Environment: Jenkins 2.172, ec2-plugin master (likely as of 2f348aa519338aac64dd19954b0b41a62a8ea6fc) Priority: Major Reporter: Adrien Tateno Upon upgrading the ec2-plugin to master and restarting Jenkins, the EC2 nodes begin to fail connecting with the following exception This is likely due to the recent change that allows configuring the strategy for determining the hostname/IP address of the node https://github.com/jenkinsci/ec2-plugin/pull/329. https://wiki.jenkins.io/display/JENKINS/Hint+on+retaining+backward+compatibility suggests that it is necessary to define a readResolve() method when deprecating fields (in this case the boolean fields usePrivateDnsName connectUsingPublicIp) because when objects are loaded from XML their constructors are not invoked. What likely happened here, is that the newly defined connectionStrategy was null when loaded from XML, causing the hostname/IP address determination to fail at instance startup time. Matt Sicker Daniel Garzon