New unsaved UserEdit record throws NPE on "toString()" call

Description

It should be an easy fix to restore 2.4.x behavior. Here's the characteristic stack trace for JIRA searchers:

16:59:40,980 ERROR login]:731 - Servlet.service() for servlet sakai.login threw exception
java.lang.NullPointerException
at org.sakaiproject.user.impl.BaseUserDirectoryService$BaseUserEdit.hashCode(BaseUserDirectoryService.java:2269)
at java.lang.Object.toString(Object.java:209)
at java.lang.String.valueOf(String.java:2615)
at java.lang.StringBuilder.append(StringBuilder.java:116)
...

Activity

David Horwitz March 26, 2008 at 7:29 AM

merged into 2-5-x wth r43488

Ray Davis March 19, 2008 at 12:26 PM

There's not an easy way to verify this from QA – the bug effects local integration programmers more than anyone else – and so I'll assign it to a 2.5.x release manager for perusal.

Ray Davis March 19, 2008 at 12:20 PM

Restored old behavior for BaseUserEdit toString() at revision: 42499.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created March 19, 2008 at 12:10 PM
Updated March 27, 2012 at 7:09 AM
Resolved March 19, 2008 at 12:20 PM