{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/6ede1c8389f58f25edb0c651c8fab212?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6ede1c8389f58f25edb0c651c8fab212","url":"https://api.github.com/users/aeischeid","login":"aeischeid","id":60911},"milestone":null,"assignee":null,"updated_at":"2011-11-09T08:08:47Z","labels":[],"comments":4,"closed_at":null,"url":"https://api.github.com/repos/padcom/grails-json-rest-api/issues/6","body":"New with this plugin so possible that I am missing something fundamental here.\r\n\r\nI have a simple author and book classes. \r\n\r\nclass Author {\r\n\tstatic expose = 'author'\r\n\t\r\n\tString fname\r\n\tString lname\r\n\tDate dob\r\n\t\r\n\tstatic hasMany = [books:Book]\r\n    static constraints = {\r\n    }\r\n}\r\n\r\ngoing to author/create page:\r\n\r\nERROR errors.GrailsExceptionResolver  - NullPointerException occurred when processing request: [GET] /JsonApiTest/author/create\r\nStacktrace follows:\r\nMessage: null\r\n    Line | Method\r\n->>   18 | doCall                in org.grails.plugins.rest.JsonRestApiPropertyEditorRegistrar$_registerCustomEditors_closure1\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \r\n|     16 | registerCustomEditors in org.grails.plugins.rest.JsonRestApiPropertyEditorRegistrar\r\n|     19 | create . . . . . . .  in jsonapitest.AuthorController\r\n|     26 | doFilter              in org.grails.plugin.resource.DevModeSanityFilter\r\n|   1110 | runWorker . . . . . . in java.util.concurrent.ThreadPoolExecutor\r\n|    603 | run                   in java.util.concurrent.ThreadPoolExecutor$Worker\r\n^    679 | run . . . . . . . . . in java.lang.Thread\r\n\r\n","html_url":"https://github.com/padcom/grails-json-rest-api/issues/6","number":6,"title":"grails 2.0.0.RC1","id":2179682,"created_at":"2011-11-08T21:38:53Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b9e2ab689fa8f84d17c330fc90878e46?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b9e2ab689fa8f84d17c330fc90878e46","url":"https://api.github.com/users/padcom","login":"padcom","id":553994},"updated_at":"2011-11-09T08:08:47Z","url":"https://api.github.com/repos/padcom/grails-json-rest-api/issues/comments/2678560","body":"Well, they shouldn't. But with all the changes done in 2.0 it's quite possible. I'll take a look at it later today.","id":2678560,"created_at":"2011-11-09T08:08:47Z"}}