Skip to content

Injected UserService is null #24

@wielandgmeiner

Description

@wielandgmeiner

The UserService that gets injected into DuplicateEmailValidator is null and the call userService.findByEmail throws a NPE when trying to create a new user account. This seems to be related to https://github.com/javaserverfaces/mojarra/issues/4245

Wildfly 12
Oracle JDK 9
Mojarra 2.3.3.SP1

Workaround:

@FacesValidator(value="duplicateEmailValidator", managed = true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions