You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/07/02 20:23:47 UTC

[jira] Assigned: (FELIX-1296) @Property annotation processing broken when options used

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

Carsten Ziegeler reassigned FELIX-1296:
---------------------------------------

    Assignee: Carsten Ziegeler

> @Property annotation processing broken when options used
> --------------------------------------------------------
>
>                 Key: FELIX-1296
>                 URL: https://issues.apache.org/jira/browse/FELIX-1296
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.2.0
>            Reporter: Victor Antonovich
>            Assignee: Carsten Ziegeler
>         Attachments: property_options.patch
>
>
> Using @Property annotation with 'options' field set (with enclosed @PropertyOption annotations) lead to Maven build error:
> ...
> [INFO] [scr:scr {execution: generate-scr-descriptor}]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] java.util.ArrayList cannot be cast to [Lorg.apache.felix.scr.annotations.PropertyOption;
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Lorg.apache.felix.scr.annotations.PropertyOption;
> 	at org.apache.felix.scrplugin.tags.annotation.defaulttag.PropertyTag$1.options(PropertyTag.java:65)
> 	at org.apache.felix.scrplugin.tags.annotation.defaulttag.PropertyTag.getParameters(PropertyTag.java:246)
> 	at org.apache.felix.scrplugin.PropertyHandler.processProperty(PropertyHandler.java:176)
> 	at org.apache.felix.scrplugin.PropertyHandler.processProperties(PropertyHandler.java:357)
> [more stacktrace entries...]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.