Bug 113994

Summary: login fails with NPE in certain cases
Product: [Retired] Red Hat Web Application Framework Reporter: Richard Li <richardl>
Component: otherAssignee: ccm-bugs-list
Status: CLOSED EOL QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 16:51:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 108447    

Description Richard Li 2004-01-21 00:36:41 UTC
Description of problem:

Login fails with NPE if you log in with an email address that is not
in the database AND you do not have the persistent login box checked.

Version-Release number of selected component (if applicable):

6.0

How reproducible:

Always

Actual results:

java.lang.NullPointerException
    at com.arsdigita.web.ParameterMap.setParameter(ParameterMap.java:228)
    at
com.arsdigita.ui.login.UserRegistrationForm.redirectToNewUserPage(UserRe\
gistrationForm.java:371)
    at
com.arsdigita.ui.login.UserRegistrationForm.onAccountNotFound(UserRegist\
rationForm.java:324)
    at
com.arsdigita.ui.login.UserRegistrationForm.loginUser(UserRegistrationFo\
rm.java:269)
    at
com.arsdigita.ui.login.UserRegistrationForm.validate(UserRegistrationFor\
m.java:214)
    at com.arsdigita.bebop.FormSection.fireValidate(FormSection.java:378)
    at com.arsdigita.bebop.FormSection$3.validate(FormSection.java:404)
    at
com.arsdigita.bebop.FormModel.fireFormValidation(FormModel.java:457)
    at com.arsdigita.bebop.FormModel.process(FormModel.java:338)
    at com.arsdigita.bebop.Form.process(Form.java:440)
    at com.arsdigita.bebop.Form.respond(Form.java:281)
    at com.arsdigita.bebop.PageState.respond(PageState.java:368)


Expected results:

Redirect to log in page.

Additional info: