Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2144

CamelModelFactory not always initialized properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 9.0.0
    • 9.0.0
    • Camel Editor
    • None
    • Hide

      Call CamelModelFactory.getLatestCamelVersion()

      I will add a unit test.

      Show
      Call CamelModelFactory.getLatestCamelVersion() I will add a unit test.

    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.

      Attachments

        Activity

          People

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            bfitzpat_rh Brian Fitzpatrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: