Details
-
Bug
-
Resolution: Won't Do
-
Major
-
9.0.0
-
None
Description
While testing some SwitchYard issues, I stumbled upon a problem where the CamelModelFactory's getLatestCamelVersion() method isn't initialized properly when called statically from outside the Camel plug-ins. As a result, it was bombing on the line:
return supportedCamelModels.keySet().iterator().next();
Since the keySet wasn't being checked to be empty.