If muleVersion is not set and applyLatestRuntimePatch is true it fails with a NoSuchElementException.
In here:
|
&& originalApplication.getMuleVersion().getVersion().equals(deployment.getMuleVersion().get())) { |
Caused by: java.util.NoSuchElementException: No value present
at java.util.Optional.get (Optional.java:143)
at org.mule.tools.deployment.cloudhub.CloudHubArtifactDeployer.getApplication (CloudHubArtifactDeployer.java:207)
at org.mule.tools.deployment.cloudhub.CloudHubArtifactDeployer.updateApplication (CloudHubArtifactDeployer.java:158)
...
I also added a PR in the Docs Repo if this behaviour is expected: mulesoft/docs-mule-runtime#2909
If
muleVersionis not set andapplyLatestRuntimePatchis true it fails with aNoSuchElementException.In here:
mule-maven-plugin/mule-deployer/src/main/java/org/mule/tools/deployment/cloudhub/CloudHubArtifactDeployer.java
Line 207 in 90c5b5f
I also added a PR in the Docs Repo if this behaviour is expected: mulesoft/docs-mule-runtime#2909