{"action":"created","issue":{"url":"https://api.github.com/repos/grails-plugins/grails-database-migration/issues/42","repository_url":"https://api.github.com/repos/grails-plugins/grails-database-migration","labels_url":"https://api.github.com/repos/grails-plugins/grails-database-migration/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/grails-plugins/grails-database-migration/issues/42/comments","events_url":"https://api.github.com/repos/grails-plugins/grails-database-migration/issues/42/events","html_url":"https://github.com/grails-plugins/grails-database-migration/issues/42","id":116277608,"number":42,"title":"Possible plugin load order issue","user":{"login":"ctoestreich","id":691357,"avatar_url":"https://avatars.githubusercontent.com/u/691357?v=3","gravatar_id":"","url":"https://api.github.com/users/ctoestreich","html_url":"https://github.com/ctoestreich","followers_url":"https://api.github.com/users/ctoestreich/followers","following_url":"https://api.github.com/users/ctoestreich/following{/other_user}","gists_url":"https://api.github.com/users/ctoestreich/gists{/gist_id}","starred_url":"https://api.github.com/users/ctoestreich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctoestreich/subscriptions","organizations_url":"https://api.github.com/users/ctoestreich/orgs","repos_url":"https://api.github.com/users/ctoestreich/repos","events_url":"https://api.github.com/users/ctoestreich/events{/privacy}","received_events_url":"https://api.github.com/users/ctoestreich/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-11-11T06:53:35Z","updated_at":"2016-07-01T19:22:34Z","closed_at":"2016-07-01T19:20:00Z","body":"Trying to run some of the dbm* commands produces an odd issue where a domain class is using springSecurityService\r\n\r\n```\r\njava.lang.NullPointerException: Cannot invoke method encodePassword() on null object\r\n\tat org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91) ~[groovy-2.4.5.jar:2.4.5]\r\n\tat org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48) ~[groovy-2.4.5.jar:2.4.5]\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-2.4.5.jar:2.4.5]\r\n\tat org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:35) ~[groovy-2.4.5.jar:2.4.5]\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-2.4.5.jar:2.4.5]\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-2.4.5.jar:2.4.5]\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) ~[groovy-2.4.5.jar:2.4.5]\r\n\tat com.lunchify.auth.User.encodePassword(User.groovy:88) ~[main/:na]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_40]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_40]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_40]\r\n\tat java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_40]\r\n```\r\n\r\n```\r\nprotected void encodePassword() {\r\n\t\tprintln '<<<<<<<<<>>>>>>>>>'\r\n\t\tprintln springSecurityService.encodePassword(password)\r\n        password = springSecurityService ? springSecurityService.encodePassword(password) : password\r\n    }\r\n```\r\n\r\nThis issue only came up due to me attempting to use the SSS in a println, but it might want to be changed in this plugin to loadafter spring-security-core"},"comment":{"url":"https://api.github.com/repos/grails-plugins/grails-database-migration/issues/comments/230028329","html_url":"https://github.com/grails-plugins/grails-database-migration/issues/42#issuecomment-230028329","issue_url":"https://api.github.com/repos/grails-plugins/grails-database-migration/issues/42","id":230028329,"user":{"login":"Schlogen","id":1583789,"avatar_url":"https://avatars.githubusercontent.com/u/1583789?v=3","gravatar_id":"","url":"https://api.github.com/users/Schlogen","html_url":"https://github.com/Schlogen","followers_url":"https://api.github.com/users/Schlogen/followers","following_url":"https://api.github.com/users/Schlogen/following{/other_user}","gists_url":"https://api.github.com/users/Schlogen/gists{/gist_id}","starred_url":"https://api.github.com/users/Schlogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schlogen/subscriptions","organizations_url":"https://api.github.com/users/Schlogen/orgs","repos_url":"https://api.github.com/users/Schlogen/repos","events_url":"https://api.github.com/users/Schlogen/events{/privacy}","received_events_url":"https://api.github.com/users/Schlogen/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T19:22:34Z","updated_at":"2016-07-01T19:22:34Z","body":"Relevant issue https://github.com/grails/grails-core/issues/10022"}}
{"actor":{"display_login":"Schlogen"}}