Grails errors.GrailExceptionResolver StringIndexOutOfBoundsException

Grails errors.GrailExceptionResolver StringIndexOutOfBoundsException,grails,Grails,我刚刚将我的应用程序从2.3.5升级到2.4.4。我仍然在使用资源插件,因为我没有时间进行资产管道所需的所有更改 在我的布局中,我有以下代码,这对我来说很好 <%@ page import="org.codehaus.groovy.grails.web.servlet.GrailsApplicationAttributes" %> <!doctype html> <html lang="en" xmlns="http://www.w3.org/1999/html"&

我刚刚将我的应用程序从2.3.5升级到2.4.4。我仍然在使用资源插件,因为我没有时间进行资产管道所需的所有更改

在我的布局中,我有以下代码,这对我来说很好

<%@ page import="org.codehaus.groovy.grails.web.servlet.GrailsApplicationAttributes" %>
<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <link href="<g:resource dir="css" file="theme.css"/>" rel="stylesheet">
    <link href="<g:resource dir="css" file="features.css"/>" rel="stylesheet">
</head>
<body>

</body>
</html>
我不明白为什么我会犯这个错误<对于
标记,code>StringIndexOutOfBound似乎很荒谬

示例应用程序

我已经创建了一个示例应用程序来演示这个问题

pages.GroovyPagesServlet FrameworkServlet 'gsp': initialization completed in 9 ms
errors.GrailsExceptionResolver StringIndexOutOfBoundsException occurred when processing request: [GET] /app/login/auth
String index out of range: 6. Stacktrace follows:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error applying layout : bootstrap
    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:49)
    at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:82)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
C