oxTrust: "System error" upon attempt to create user via oxTrust on freshly installed instance

Environment: Ubuntu 14.04, Gluu CE 2.4.4 SP2 (installed from gluu-server-2.4.4.2_6-1~trusty+Ub14.04_amd64.deb of 2016-11-07 (which is the latest available stable package))

Steps to reproduce:

  1. Log in to web UI as admin user
  2. Move to “Users -> Add person”
  3. Fill in all fields on the page required to create a simple user entry with default fields; provide “active” for “User status” field (for some reason there is no drop-down list to choose value from)
  4. Click the “Update” button to finalize the creation.

Result: “System error” message appears, user is not created, java exception is logged to wrapper.log (please see full text here):

INFO   | jvm 1    | 2017/01/11 12:18:13 | Jan 11, 2017 12:18:12 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
INFO   | jvm 1    | 2017/01/11 12:18:13 | WARNING: #{updatePersonAction.save}: java.lang.NullPointerException
INFO   | jvm 1    | 2017/01/11 12:18:13 | javax.faces.FacesException: #{updatePersonAction.save}: java.lang.NullPointerException
INFO   | jvm 1    | 2017/01/11 12:18:13 | 	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:117)
INFO   | jvm 1    | 2017/01/11 12:18:13 | 	at javax.faces.component.UICommand.broadcast(UICommand.java:315)
INFO   | jvm 1    | 2017/01/11 12:18:13 | 	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:786)
INFO   | jvm 1    | 2017/01/11 12:18:13 | 	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1251)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Note: a workaround is to Import a User. That works, just fine: see Gluu Docs » User Managment » Import XLS File. And once the user is imported that user can be updated, added to groups, etc. Go figure!