-
Notifications
You must be signed in to change notification settings - Fork 9
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
Trying to access SCSS files results ambiguous method overloading for method on FileReader #49
Comments
calicoderco
changed the title
SCSS files result in
Trying to access SCSS files results ambiguous method overloading for method on FileReader
Mar 8, 2017
This looks like your spring security isn't set to skip the assets/** pattern
…Sent from my iPhone
On Mar 8, 2017, at 5:27 PM, Calicoder ***@***.***> wrote:
Using grails 2.5.1, I started using 2.13.1 of the sass plugin, with one empty scss file: something.scss in assets. Unfortunately, when I go to the file: /assets/something.css, I get:
groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.FileReader#<init>.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.String]
[class java.io.File]
[class java.io.FileDescriptor]
at com.cloudzilla.webclient.HomeController.index(HomeController.groovy:74)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at org.apache.logging.log4j.core.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:59)
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 com.cloudzilla.web.api.AccessLogFilter.doFilter(AccessLogFilter.groovy:91)
at com.cloudzilla.web.api.PatchSessionFilter.doFilter(PatchSessionFilter.groovy:146)
at com.granicus.grails.plugins.cookiesession.CookieSessionFilter.doFilterInternal(CookieSessionFilter.java:84)
at com.cloudzilla.web.api.ReturnedCookiesFilter.doFilter(ReturnedCookiesFilter.groovy:204)
at com.cloudzilla.web.api.ReturnedUrlFilter.doFilter(ReturnedUrlFilter.groovy:101)
at org.apache.logging.log4j.core.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:66)
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)
And I'm redirected to the homepage.
I am also using the less plugin of the same version. Perhaps the ambiguous overload is due to both of them being loaded at the same time?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That is not true because I can access other assets such as ".less" and ".js" files in the same directory. Also, I have this in my Config.groovy: grails.plugin.springsecurity.controllerAnnotations.staticRules = [ Besides, if it was security related, wouldn't I get a security exception in the logs or a security-related http code as a response? |
Ok any more to the stack trace?
…Sent from my iPhone
On Mar 13, 2017, at 6:36 PM, Calicoder ***@***.***> wrote:
That is not true because I can access other assets such as ".less" and ".js" files in the same directory. Also, I have this in my Config.groovy:
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
...
'/assets/**': ['permitAll'],
...
]
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using grails 2.5.1, I started using 2.13.1 of the sass plugin, with one empty scss file: something.scss in assets. Unfortunately, when I go to the file: /assets/something.css, I get:
And I'm redirected to the homepage.
I am also using the less plugin of the same version. Perhaps the ambiguous overload is due to both of them being loaded at the same time?
The text was updated successfully, but these errors were encountered: