-
Improvement
-
Resolution: Fixed
-
Minor
-
-
ec2-1.44
It is a minor issue in the EC2 Plugin implementation.
instanceCapStr in https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/EC2Cloud.java is designed to be optional, and it supports empty strings in the constructor. But it still fails with NPE when a field is not passed from the JCasC configuration.
I consider it is as an important issue, because the field is not exported by default.
The issue can be fixed by a small patch to properly handle nulls in the constructor arguments
- duplicates
-
JENKINS-56684 Config as Code Nullpointer when instanceCapStr is not initialized
-
- Resolved
-
[JENKINS-57562] EC2Cloud crashes with NPE when instanceCapStr is not passed from JCasC
Description |
Original:
It is a minor issue in the EC2 Plugin implementation. instanceCapStr in [https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/EC2Cloud.java] is designed to be optional, and it supports empty strings in the constructor. But it still fails with NPE when a field is not passed from the JCasC configuration. I consider it is as an important issue, because the field is not exported by default |
New:
It is a minor issue in the EC2 Plugin implementation. instanceCapStr in [https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/EC2Cloud.java] is designed to be optional, and it supports empty strings in the constructor. But it still fails with NPE when a field is not passed from the JCasC configuration. I consider it is as an important issue, because the field is not exported by default. The issue can be fixed by a small patch to properly handle nulls in the constructor arguments |
Link |
New:
This issue duplicates |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Released As | New: ec2-1.44 | |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |