spring-projects/spring-session — pull request #61 by stevestorey (2014-11-14 22:38:06+00:00)
Title: Force initialization of default values after creation of the default RedisTemplate

There's a small bug within the createDefaultTemplate logic when passing only a connectionFactory to the constructor - it doesn't call afterPropertiesSet() which would normally be called in order to set the various default values - in particular the hashValueSerializer. Without this, you get an NPE when trying to save the session within AbstractRawOperations:146 as the hashValueSerializer is null.