[
https://issues.apache.org/jira/browse/FELIX-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-1686.
--------------------------------------
Resolution: Fixed
Slightly redone getting the method returning null instead of throwing
NoSuchMethodException BaseMethod.getMethod cannot actually find a method (in
Rev. 830885).
I think this issue is ok now and can be resolved (and in fact I cannot
understand my last comment for reopening the issue anymore :-( )
> Missing activate or deativate methods show up as Error in LogService
> --------------------------------------------------------------------
>
> Key: FELIX-1686
> URL: https://issues.apache.org/jira/browse/FELIX-1686
> Project: Felix
> Issue Type: Improvement
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.2.0
> Environment: org.apache.felix.scr-1.0.9-SNAPSHOT
> Reporter: David Savage
> Assignee: Felix Meschberger
> Priority: Trivial
> Fix For: scr-1.2.0
>
>
> If no activate or deactivate methods are registered in the xml this is not an
> error as activate and deactivate methods are optional.
> However complexity arises if user explicitly sets an activate or deactivate
> methods in xml as in this case it probably is an error if the method is not
> found.
> Thought it worth registering this issue as it caused me some confusion when I
> saw it and I needed to go digging though the code to figure out that this was
> in fact harmless.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.