Foros de discusión

Cannot add user - NPE in addUserWithWorkflow

Jan Tošovský, modificado hace 12 años.

Cannot add user - NPE in addUserWithWorkflow

Liferay Master Mensajes: 566 Fecha de incorporación: 22/07/10 Mensajes recientes
Hello Everyone,

I've encountered this problem now and can't continue...
This worked fine few days ago. Build from trunk doesn't help.
The same method is used for LDAP import. I am unable import any user from LDAP any more.
What could be a reason?

Regards,
Jan
Jan Tošovský, modificado hace 12 años.

RE: Cannot add user - NPE in addUserWithWorkflow

Liferay Master Mensajes: 566 Fecha de incorporación: 22/07/10 Mensajes recientes
I've found it is somehow connected to LDAP. When LDAP is disabled at all, I can add a new user without problems. So probably some internal system settings has changed in meantime. I'll contact our admins. It probably has nothing to do with Liferay. Sorry for this noise.
Jamie Grant, modificado hace 11 años.

RE: Cannot add user - NPE in addUserWithWorkflow

New Member Mensajes: 7 Fecha de incorporación: 25/10/12 Mensajes recientes
I also had this issue, but it was because the email address I submitted with the user was null.

The addUserWithWorkflow method does a trim() on the email address.