[seam-issues] [JBoss JIRA] Commented: (SEAMSECURITY-37) Unsatisfied dependencies for type [Messages]...
Aaron Siri (JIRA)
jira-events at lists.jboss.org
Sun Mar 20 01:22:45 EDT 2011
[ https://issues.jboss.org/browse/SEAMSECURITY-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589152#comment-12589152 ]
Aaron Siri commented on SEAMSECURITY-37:
----------------------------------------
I tried making the suggested change locally and it appears to work - no more exceptions on startup! However, when I call identity.login I get the following exception:
Caused by: java.lang.NullPointerException
at org.picketlink.idm.impl.api.session.IdentitySessionImpl.<init>(IdentitySessionImpl.java:138)
at org.picketlink.idm.impl.api.IdentitySessionFactoryImpl.createIdentitySession(IdentitySessionFactoryImpl.java:114)
at org.jboss.seam.security.management.picketlink.IdentitySessionProducer.createIdentitySession(IdentitySessionProducer.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
I even tried deploying the "simple" example. Same exception when you try to login.
Also, where will the @injection issue be fixed? Is it something that will be addressed in Weld 1.1.1 or does is it a Glassfish issue?
> Unsatisfied dependencies for type [Messages]...
> -----------------------------------------------
>
> Key: SEAMSECURITY-37
> URL: https://issues.jboss.org/browse/SEAMSECURITY-37
> Project: Seam Security
> Issue Type: Bug
> Affects Versions: 3.0.0.Beta2
> Environment: Mac OS X, Glassfish v3.1b42, Java 1.6
> Reporter: Aaron Siri
> Assignee: Shane Bryzak
> Fix For: 3.0.0.CR2
>
> Attachments: SecurityBreak-0.0.1-SNAPSHOT.war, SecurityBreak.zip
>
>
> Trying to deploy an app with simple security integration I get the following exception:
> SEVERE: Exception while loading the app : WELD-001408 Unsatisfied dependencies for type [Messages] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.security.SecurityEventMessages.messages]
> org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Messages] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.security.SecurityEventMessages.messages]
> at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305)
> at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139)
> at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:162)
> at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:385)
> at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:371)
> at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:390)
> ...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list