Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.1-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
When called on a null object, the toString() methods reports something like org.codehaus.groovy.runtime.NullObject@2f71e2 while a NPE would be more appropriate.
This causes a problem in GRAILS see GRAILS-648
Solve by jochen adding the toString() method to NullObject. I modified the test.