[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-751) NPE if password is null

Peter Muir (JIRA) jira-events at jboss.com
Thu Feb 1 06:45:19 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-751?page=comments#action_12352079 ] 
            
Peter Muir commented on JBSEAM-751:
-----------------------------------

11:37:58,688 ERROR [SeamLoginModule] Error logging in
java.lang.NullPointerException
	at org.jboss.seam.security.Identity$1.handle(Identity.java:336)
	at org.jboss.seam.security.jaas.SeamLoginModule.getLoginParams(SeamLoginModule.java:136)
	at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:80)
	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown S
ource)
	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
	at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
	at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
	at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
	at org.jboss.seam.security.Identity.authenticate(Identity.java:193)
	at org.jboss.seam.security.Identity.authenticate(Identity.java:187)
	at org.jboss.seam.security.Identity.login(Identity.java:173)
	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown S
ource)
	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
	at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
	at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
	at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
	at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
	at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:139)
	at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
	at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)

> NPE if password is null
> -----------------------
>
>                 Key: JBSEAM-751
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-751
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 1.1.5.GA
>            Reporter: Peter Muir
>            Priority: Minor
>
> If you have a null password (e.g. I misspelt #{identity.password} on the form you get an NPE, something more descriptive would be nice :)

-- 
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