Bug 113994 - login fails with NPE in certain cases
Summary: login fails with NPE in certain cases
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 108447
TreeView+ depends on / blocked
 
Reported: 2004-01-21 00:36 UTC by Richard Li
Modified: 2020-03-27 16:51 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 16:51:53 UTC
Embargoed:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.