Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error line reporting for some No route found #2

Closed
mbknor opened this issue Feb 16, 2012 · 0 comments
Closed

Improve error line reporting for some No route found #2

mbknor opened this issue Feb 16, 2012 · 0 comments

Comments

@mbknor
Copy link
Owner

mbknor commented Feb 16, 2012

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.<init>(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
@mbknor mbknor closed this as completed in 184fbfb Feb 27, 2012
mbknor added a commit that referenced this issue Feb 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant