[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2135) NullPointException in the UserHome passwordMatchesControl

Christian Bauer (JIRA) jira-events at lists.jboss.org
Mon Oct 22 01:57:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-2135?page=comments#action_12383642 ] 
            
Christian Bauer commented on JBSEAM-2135:
-----------------------------------------

I don't see how an NPE can occur: The password field is set through JSF, it has to a) go through validation which doesn't permit null and b) even if it would be null, JSF would set an empty string instead.

Can you (re)produce an NPE, if yes, how?


> NullPointException in the UserHome passwordMatchesControl
> ---------------------------------------------------------
>
>                 Key: JBSEAM-2135
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2135
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Wiki
>            Reporter: wu haixing
>         Assigned To: Christian Bauer
>            Priority: Minor
>
> Should add password != null before !password.equals(passwordControl) in the org.jboss.seam.wiki.core.action.UserHome.passwordMatchesControl() line 361

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