Hi all, I have a problem registering new users in the local DSpace DB. I'm using DSpace 4.2 and as authentication modules I have enabled PasswordAuthentication, LDAPAuthentication and IPAuthentication. All of them are working fine when it comes to authorization, but when I try to register a new user (in the local database, of course), who is not in the LDAP directory, I always get system errors.
Here is what I get: When I enter the registration page (dspace/register), I get the following message in my dspace.log: 2015-01-21 11:01:37,614 DEBUG org.dspace.app.webui.util.JSPManager @ anonymous:session_id=C88093DFBB75C230C09B5A5406DA8710:ip_addr=134.28.XX.YY:view_jsp:/register/new-ldap-user.jsp 2015-01-21 11:01:37,630 DEBUG org.dspace.app.webui.util.JSPManager @ anonymous:session_id=C88093DFBB75C230C09B5A5406DA8710:ip_addr=134.28.XX.YY:view_jsp:/register/new-user.jsp 2015-01-21 11:01:37,638 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=C88093DFBB75C230C09B5A5406DA8710:internal_error:-- URL Was: https://dspace.tub.tuhh.de/register -- Method: GET -- Parameters were: java.lang.IllegalStateException: Cannot forward after response has been committed Obviously this is not fatal at all, as I see the registration form and can fill it. But when I click on Register, I get a fatal server error: 2015-01-21 11:28:10,996 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query "select * from eperson where email = ? " with parameters: [email protected] 2015-01-21 11:28:11,003 DEBUG org.dspace.storage.rdbms.DatabaseManager @ Running query "select * from eperson where netid = ? " with parameters: zz 2015-01-21 11:28:11,005 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=C88093DFBB75C230C09B5A5406DA8710:internal_error:-- URL Was: https://dspace.tub.tuhh.de/register -- Method: POST -- Parameters were: -- submit: "Registrieren" -- email: "[email protected]" -- netid: "zz" -- password: "zz" -- step: "1" java.lang.NullPointerException I don't understand, why this is happening, since it is expectable, that DSpace doesn't find a user zz at this point as what I'm trying is to create it... The NullPointerException should not appear here. Has anyone an idea how to make this working? Best regards Oliver ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

