Azure / Azure/azure-libraries-for-java
VirtualMachineImages getImage with empty version generates ClassCastException
Aperta
Bug
Compute - Images
customer-reported
Mgmt
- Lingua principale
- Java
- Stelle
- 97
- Fork
- 102
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Whilst the method prevents passing in null values it allows empty String. If you do this it generates a ClassCastException way down in Jackson deserialization as it doesn't expect an ArrayNode to be provided. It would make sense to improve the validation of the input parameters.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.