Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0 final
-
Fix Version/s: 2.0.1
-
Component/s: Scaffolding
-
Labels:None
Description
I just tried to upgrade the grails-pomodoro project to Grails 2 and discovered this bug. Running the app and then hitting the http://locahost:8080/PomodoroApp/task/index URL causes an exceptino to be thrown in the background:
| Error 2012-01-30 10:12:01,881 ["http-bio-8080"-exec-1] ERROR view.ScaffoldingViewResolver - Error generating scaffolded view [/layouts/task/index]: /Users/pledbrook/dev/tools/grails-core/grails-resources/src/grails/templates/scaffolding/index.gsp (No such file or directory) Message: /Users/pledbrook/dev/tools/grails-core/grails-resources/src/grails/templates/scaffolding/index.gsp (No such file or directory) Line | Method ->> 120 | <init> in java.io.FileInputStream - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker | 908 | run . . in '' ^ 680 | run in java.lang.Thread
To reproduce, just grab the grails2 branch of the project and run it (I do it inside interactive console, but that shouldn't have an impact). Hitting the above URL should result in the stack trace reported.
Would help if you could provide a link to the Pomodoro project source code (Github I assume?)