Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4713

Error in ProvidedServiceHandler.checkProvidedService : only the first service is checked

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: ipojo-runtime-1.11.2
    • Fix Version/s: ipojo-runtime-1.12.1
    • Component/s: iPOJO
    • Labels:
      None

      Description

      Verification in the method checkProvidedService tries to get the field "specification" from the service interface, if the field doesn't exist it returns from the method and stop verifying the remaining interfaces in the list.

      Solution : change

      } catch (NoSuchFieldException e) {
      return true; // No specification field
      }

      to

      } catch (NoSuchFieldException e) {
      continue; // No specification field
      }

        Attachments

          Activity

            People

            • Assignee:
              clement.escoffier Clement Escoffier
              Reporter:
              gvega German Vega
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: