[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3704) CLONE - Adding New Role to Group fails

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Sat Nov 15 17:42:36 EST 2008

    [ https://jira.jboss.org/jira/browse/JBSEAM-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12438570#action_12438570 ] 

Shane Bryzak commented on JBSEAM-3704:

I'm not able to reproduce this - which version of Seam are you using?  Could you please attach a working use case that reproduces the issue?

> CLONE - Adding New Role to Group fails
> --------------------------------------
>                 Key: JBSEAM-3704
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3704
>             Project: Seam
>          Issue Type: Bug
>          Components: Examples, Security
>    Affects Versions: 2.1.0.GA
>         Environment: JDK 5
> JBoss AS 4.2.3
>            Reporter: Julien Hattier
>            Assignee: Shane Bryzak
> I am getting ClassCastException when trying to add new role. To reproduce try adding new role that will be member of some other exsting role,
> using identityManager.addRoleToGroup().
> Here is the output involved :
> Caused by java.lang.ClassCastException with message: "sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class"
> org.jboss.seam.security.management.JpaIdentityStore.addRoleToGroup(JpaIdentityStore.java:425)
> org.jboss.seam.security.management.IdentityManager.addRoleToGroup(IdentityManager.java:158)
> ...
> I'm workin on a jetty/easybeans server and the security components works well when I'm not using groups. I use the same entity objects User and Role as given in the documentation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list