Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.2-RC2
-
Fix Version/s: 1.2 final
-
Component/s: Controllers
-
Labels:None
Description
I just upgraded from RC1 to RC2, and had some code that previously worked failing.
Code
flash.message = true
now throws NPE.
Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
It's easy enough to work around, but a potential issue could be with trying to reset a flash message to null, so that a UI that checks for null on whether to show message will return an unexpected result.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
fixed by http://github.com/grails/grails/commit/0ebc8eab7139cc87e515b59a9056bcf1ec66381f