Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: ec2-plugin
-
Labels:
-
Similar Issues:
-
Released As:ec2-1.44
Description
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
Attachments
Issue Links
- duplicates
-
JENKINS-56684 Config as Code Nullpointer when instanceCapStr is not initialized
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
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 |
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 |
This issue duplicates |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Fixed but Unreleased [ 10203 ] |
Released As | ec2-1.44 | |
Status | Fixed but Unreleased [ 10203 ] | Resolved [ 5 ] |
Duplicates
JENKINS-56684