History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-2733
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Graeme Rocher
Reporter: Christian Helmbold
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails

recursive GORM relationship causes NPE

Created: 26/Mar/08 05:08 PM   Updated: 31/Mar/08 08:27 PM
Component/s: Persistence
Affects Version/s: 1.0.2
Fix Version/s: 1.0.3

Time Tracking:
Not Specified

Environment: Windows XP, JDK 6 Update 5
Issue Links:
Duplicate
 


 Description  « Hide
The following class causes a NullPointerException due tue the recursive relationship. (It works with Grails 1.0.1)

class Hausmeister {
String name
Hausmeister vorgaenger // critical line
static constraints = { name(maxLength:50) vorgaenger(nullable:true) }
}



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.