Created
January 13, 2014 16:46
-
-
Save KevinGreene/8403559 to your computer and use it in GitHub Desktop.
Examples showing order matters in Grails bean builder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Offending resource: file [$projectPath/resources/spring/fails.groovy]; nested exception is groovy.lang.MissingPropertyException: No such property: locationHourFormat for class: grails.spring.BeanBuilder | |
| Line | Method | |
| ->> 479 | loadBeans in grails.spring.BeanBuilder | |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
| | 441 | loadBeans in '' | |
| | 194 | importBeans . . . . . . . in '' | |
| | 3 | doCall in resources$_run_closure1 | |
| | 757 | invokeBeanDefiningClosure in grails.spring.BeanBuilder | |
| | 584 | beans in '' | |
| | 757 | invokeBeanDefiningClosure in '' | |
| | 584 | beans in '' | |
| | 527 | invokeMethod . . . . . . in '' | |
| | 262 | run in java.util.concurrent.FutureTask | |
| | 1145 | runWorker . . . . . . . . in java.util.concurrent.ThreadPoolExecutor | |
| | 615 | run in java.util.concurrent.ThreadPoolExecutor$Worker | |
| ^ 724 | run . . . . . . . . . . . in java.lang.Thread | |
| Caused by MissingPropertyException: No such property: locationHourFormat for class: grails.spring.BeanBuilder | |
| ->> 156 | doCall in spring.Script1$_run_closure1_closure10 | |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
| | 706 | invokeBeanDefiningMethod in grails.spring.BeanBuilder | |
| | 561 | invokeMethod . . . . . . in '' | |
| | 155 | doCall in spring.Script1$_run_closure1 | |
| | 757 | invokeBeanDefiningClosure in grails.spring.BeanBuilder | |
| | 455 | call in grails.spring.BeanBuilder$1 | |
| | 27 | run . . . . . . . . . . . in spring.Script1 | |
| | 476 | loadBeans in grails.spring.BeanBuilder | |
| | 441 | loadBeans . . . . . . . . in '' | |
| | 194 | importBeans in '' | |
| | 3 | doCall . . . . . . . . . in resources$_run_closure1 | |
| | 757 | invokeBeanDefiningClosure in grails.spring.BeanBuilder | |
| | 584 | beans . . . . . . . . . . in '' | |
| | 757 | invokeBeanDefiningClosure in '' | |
| | 584 | beans . . . . . . . . . . in '' | |
| | 527 | invokeMethod in '' | |
| | 262 | run . . . . . . . . . . . in java.util.concurrent.FutureTask | |
| | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor | |
| | 615 | run . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker | |
| ^ 724 | run in java.lang.Thread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| locationRowMapper(LocationRowMapper){ | |
| hourFormat = locationHourFormat | |
| } | |
| locationHourFormat(SimpleDateFormat, "h:mm a") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| locationHourFormat(SimpleDateFormat, "h:mm a") | |
| locationRowMapper(LocationRowMapper){ | |
| hourFormat = locationHourFormat | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment