Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-RC3
-
Fix Version/s: None
-
Component/s: Scaffolding, View technologies
-
Labels:None
Description
i found a small glitch in reloading of scaffolded views
1. create domain classes (see below) with inheritance
2. create scaffolded = yes controller
3. run-app
4. open the http://localhost:8080/project/multiLevelKpi/create (inherting class)
5. comment out or rename the String property in the base class
6. reload http://localhost:8080/project/multiLevelKpi/create
7. error (see below) will occur
8. only after editing/updating multiLevelKpi as well it will work again
class PreorderTreeNode
{ static mapWith = "mongo" Integer left; Integer right; String x // comment out to test }}
class MultiLevelKpi extends PreorderTreeNode
{ static mapWith = "mongo" }| Error 2011-12-09 01:25:19,779 ["http-bio-8080"-exec-6] ERROR errors.GrailsExceptionResolver - NoSuchMethodError occurred when processing request: [GET] /TreeTest/multiLevelKpi/create com.sp.PreorderTreeNode.getX()Ljava/lang/String;. Stacktrace follows: Message: Error processing GroovyPageView: Error executing tag <g:form>: Error executing tag <g:render>: Error evaluating expression [multiLevelKpiInstance?.x] on line [34]: java.lang.NoSuchMethodError: com.sp.PreorderTreeNode.getX()Ljava/lang/String; Line |
Method ->> 36 |
doFilter in /multiLevelKpi/create
|
doCall in /multiLevelKpi/create
|
doCall in /multiLevelKpi/create
|
run in /multiLevelKpi/_form.gsp
|
run in multiLevelKpi__form_gsp
|
| 31 | doCall in multiLevelKpi_create$_run_closure2_closure23 | |||||
| 36 | doCall . in multiLevelKpi_create$_run_closure2 | |||||
| 38 | run in multiLevelKpi_create | |||||
| 270 | doFilter in com.planetj.servlet.filter.compression.CompressingFilter | |||||
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker | |||||
| 908 | run . . in '' ^ 662 |
run in java.lang.Thread Caused by NoSuchMethodError: com.sp.PreorderTreeNode.getX()Ljava/lang/String; ->> 34 |
doCall in multiLevelKpi__form_gsp$_run_closure24
|
|||
| 31 | doCall in multiLevelKpi_create$_run_closure2_closure23 | |||||
| 36 | doCall . in multiLevelKpi_create$_run_closure2 | |||||
| 38 | run in multiLevelKpi_create | |||||
| 270 | doFilter in com.planetj.servlet.filter.compression.CompressingFilter | |||||
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker | |||||
| 908 | run . . in '' ^ 662 |
run in java.lang.Thread |
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits