[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1588) Seam Component name "session" reserved keyword

Christoph Aigner (JIRA) jira-events at lists.jboss.org
Sat Jun 30 03:51:57 EDT 2007


Seam Component name "session" reserved keyword
----------------------------------------------

                 Key: JBSEAM-1588
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1588
             Project: JBoss Seam
          Issue Type: Bug
    Affects Versions: 2.0.0.BETA1
            Reporter: Christoph Aigner
            Priority: Minor


after migrating from 1.2 to 2.0 Seam throws the following error: 

java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable: session 

the error occurs when I try to inject a class: 

@Name("session") 
@Scope(ScopeType.SESSION) 
public class Session implements java.io.Serializable { 
.. 

in: 

@Stateless 
@Name("remoting_desktop") 
public class Desktop implements DesktopInterface { 

@In(create=true,required=false) Session session; 
.. 

worked with 1.2 as "session" is reserved



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

        



More information about the seam-issues mailing list