Created attachment 528677 [details] Client log Description of problem: The server return 500 (Internal Server Error) when putuser with maven. Version-Release number of selected component (if applicable): Client 1.4.2-SNAPSHOT Server Zanata version 1.4.2-SNAPSHOT (20111017-1543) How reproducible: Always Steps to Reproduce: 1. Create a user "autotrans" with following command mvn -e -U org.zanata:zanata-maven-plugin:putuser -Dzanata.url=http://zanata-endeavour.lab.eng.bne.redhat.com:8080/ -Dzanata.username=admin -Dzanata.key=b6d7044e9ee3b2447c28fb7c50d86d98 -Dzanata.userRoles=translator -Dzanata.userDisabled=false -Dzanata.userEmail=autotrans -Dzanata.userKey=23456789012345678901234567890123 -Dzanata.userLangs=ja,zh-Hans "-Dzanata.userName=Auto Translator" -Dzanata.userUsername=autotrans -Dzanata.userPasswordHash=UoT7kD9H6euhylD6H3oOPg== Actual results: Failed with 500 (Internal Server Error) Expected results: Successfully create the user "autotrans" without error. Additional info:
500 errors were being caused by a missing xml root element declaration on the Account class, and a null pointer exception when accessing an empty list on the same class. Both issues fixed and ready for validation.
See: https://github.com/zanata/zanata/commit/c92668f6aa7a27e697b55124d56189c40d97a70c
Verified in 1.5.