You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2013/02/04 13:36:22 UTC

[jira] [Closed] (FELIX-3012) "Duplicate name&signature" problem

     [ https://issues.apache.org/jira/browse/FELIX-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier closed FELIX-3012.
------------------------------------

    
> "Duplicate name&signature" problem
> ----------------------------------
>
>                 Key: FELIX-3012
>                 URL: https://issues.apache.org/jira/browse/FELIX-3012
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.6.0, iPOJO-1.8.0
>         Environment: Ubuntu Linux 2.6.32
>            Reporter: Miguel González
>            Assignee: Clement Escoffier
>             Fix For: ipojo-manipulator-1.8.2
>
>
> Using iPOJO, i stumbled upon a problem involving one of my components. When I tried to instantiate it, the JVM threw an exception saying that there was some "duplicate name&signature". After countless hours of hopeless search, I found by chance that I had getters and setters misspelled: instead of 'getAttName' I had 'getattName', so I believe that the iPOJO class processing creates methods that matched my misspelled ones, which lead to this coincidence. After I fixed the method names, everything worked as expected.
> I hope this info can be useful for anyone who has the same problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira