shuyangzhou/liferay-portal — pull request #482 by holatuwol (2014-01-18 17:28:45+00:00)
Title: LPS-43602

We're caching in EntityCache even if we have a cache miss. That means that if something is in the FinderCache but not in EntityCache, we will get null values back until there is a FinderCache miss (which would cause Liferay to re-store the value in EntityCache) or until the null value in EntityCache expires, which causes NullPointerExceptions because we add null to the list.