org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error applying layout : main

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by birdy
, 2 years ago
via GitHub by Omnipresent
, 1 year ago
Error applying layout : bootstrap
via nabble.com by Unknown author, 1 year ago
Error processing GroovyPageView: Error executing tag <g:applyLayout>: Error executing tag <g:link>: Error executing tag <g:img>: PermGen space
via Stack Overflow by Aniket Bhatt
, 11 months ago
Error processing GroovyPageView: Error executing tag <sitemesh:captureContent>: Error executing tag <g:render>: null
via GitHub by virtuald
, 2 years ago
Error processing GroovyPageView: Cannot invoke method size() on null object
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error applying layout : main
at undefined.gsp_ghertor_layoutsmain_gsp$_run_closure1.doCall(gsp_ghertor_layoutsmain_gsp.groovy:45)
at undefined.gsp_ghertor_layoutsmain_gsp.run(gsp_ghertor_layoutsmain_gsp.groovy:58)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
at grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter.doFilter(RequestHolderAuthenticationFilter.java:53)
at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.