daledotshan/liferay-portal — pull request #52 by daviddotzhang (2014-08-05 02:18:44+00:00)
Title: LPS-48923 - Null Pointer Exception while accessing UpdateUser when Service Context is null

after checking the related code:
Class:TrashEntryServiceImpl
Method:moveEntry
Parameter:serviceContext

"serviceContext" can be null in this method,and "scopeGroupId" can be zero,in special situation, i think zero is ok, although it will cause exception,but we have catched this exception.some code call like this:
Note:scopeGroupId is zero.
trashHandler.hasTrashPermission(permissionChecker, 0, classPK, TrashActionKeys.RESTORE)