You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "German Vega (JIRA)" <ji...@apache.org> on 2014/11/27 16:49:12 UTC

[jira] [Created] (FELIX-4713) Error in ProvidedServiceHandler.checkProvidedService : only the first service is checked

German Vega created FELIX-4713:
----------------------------------

             Summary: Error in ProvidedServiceHandler.checkProvidedService : only the first service is checked
                 Key: FELIX-4713
                 URL: https://issues.apache.org/jira/browse/FELIX-4713
             Project: Felix
          Issue Type: Bug
          Components: iPOJO
    Affects Versions: ipojo-runtime-1.11.2
            Reporter: German Vega
            Priority: Minor


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
{quote}
           \} catch (NoSuchFieldException e) \{
                  return true; // No specification field
            \}
{quote}

to

{quote}
          \} catch (NoSuchFieldException e) \{
                  {color:red} continue; // No specification field{color}
          \}
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)