mbknor/gt-engine — Issue #2: Improve error line reporting for some No route found
Author: mbknor
Created: 2012-02-16 08:25:49+00:00
State: open

When using fastergt-module, the line number is not shown when you get a "No route found" error.

See stacktrace below.

I believe the problem is that the classname 'play.modules.gtengineplugin' is not seen as "internal" preventing fixStacktrace skipping down to 'at /app/views/mainWithoutCSS.html.(line:64)'

```
Template execution error (In /app/views/StartController/index.html around line 0)
Execution error occured in template /app/views/StartController/index.html. Exception raised was GTRuntimeException : No route found.

play.exceptions.TemplateExecutionException: No route found
at play.modules.gtengineplugin.GTTemplate.renderGTTemplate(GTTemplate.java:114)
at play.modules.gtengineplugin.GTTemplate.internalGTRender(GTTemplate.java:73)
at play.modules.gtengineplugin.GTTemplate.internalRender(GTTemplate.java:52)
at play.modules.gtengineplugin.GTTemplate.render(GTTemplate.java:124)
at play.mvc.results.RenderTemplate.(RenderTemplate.java:24)
at play.mvc.Controller.renderTemplate(Controller.java:661)
at play.mvc.Controller.renderTemplate(Controller.java:641)
at play.mvc.Controller.render(Controller.java:696)
at controllers.StartController.index(StartController.java:14)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:551)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:502)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:478)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:473)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:161)
at Invocation.HTTP Request(Play!)
Caused by: play.template2.exceptions.GTRuntimeException: No route found
at play.modules.gtengineplugin.gt_integration.GTGroovyBase1xImpl$ActionBridge.invokeMethod(GTGroovyBase1xImpl.java:159)
at /app/views/mainWithoutCSS.html.(line:64)
at play.template2.GTJavaBase.internalRenderTemplate(GTJavaBase.java:124)
at play.modules.gtengineplugin.gt_integration.GTJavaBase1xImpl.internalRenderTemplate(GTJavaBase1xImpl.java:82)
at play.template2.GTJavaBase.internalRenderTemplate(GTJavaBase.java:139)
at play.modules.gtengineplugin.gt_integration.GTJavaBase1xImpl.internalRenderTemplate(GTJavaBase1xImpl.java:82)
at play.template2.GTJavaBase.internalRenderTemplate(GTJavaBase.java:139)
at play.modules.gtengineplugin.gt_integration.GTJavaBase1xImpl.internalRenderTemplate(GTJavaBase1xImpl.java:82)
at play.template2.GTJavaBase.renderTemplate(GTJavaBase.java:97)
at play.modules.gtengineplugin.GTTemplate.renderGTTemplate(GTTemplate.java:91)
... 14 more
Caused by: play.template2.exceptions.GTRuntimeException: No route found
... 24 more
Caused by: play.exceptions.NoRouteFoundException: No route found
... 24 more
```