Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mahmud Hossain
Unable to parse Sass on CSS error
October 20, 2012 5:05 PM
Answer

Mahmud Hossain

Rank: New Member

Posts: 18

Join Date: May 28, 2012

Recent Posts

I get the following error whenever the portlet get visited. The CSS works fine by the way. I'm just trying find why this error message occurring.

  1
  201:04:29,066 ERROR [DynamicCSSFilter:181] Unable to parse SASS on CSS /opt/dcps/edportal/liferay/tomcat-7.0.25/temp/6-ResourcesMain-portlet/css/main.css
  3java.lang.IllegalStateException: Cannot create a session after the response has been committed
  4at org.apache.catalina.connector.Request.doGetSession(Request.java:2862)
  5at org.apache.catalina.connector.Request.getSession(Request.java:2307)
  6at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:897)
  7at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:909)
  8at com.liferay.portal.kernel.util.SessionParamUtil.getBoolean(SessionParamUtil.java:35)
  9at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil._isThemeCssFastLoad(DynamicCSSUtil.java:274)
 10at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil.parseSass(DynamicCSSUtil.java:113)
 11at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSFilter.getDynamicContent(DynamicCSSFilter.java:170)
 12at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSFilter.processFilter(DynamicCSSFilter.java:208)
 13at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:55)
 14at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 15at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 16at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:69)
 17at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 18at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 19at sun.reflect.GeneratedMethodAccessor678.invoke(Unknown Source)
 20at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 21at java.lang.reflect.Method.invoke(Unknown Source)
 22at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
 23at $Proxy446.doFilter(Unknown Source)
 24at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 25at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:158)
 26at com.liferay.portal.servlet.filters.minifier.MinifierFilter.processFilter(MinifierFilter.java:467)
 27at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:55)
 28at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 29at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 30at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:69)
 31at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 32at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 33at sun.reflect.GeneratedMethodAccessor678.invoke(Unknown Source)
 34at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 35at java.lang.reflect.Method.invoke(Unknown Source)
 36at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
 37at $Proxy446.doFilter(Unknown Source)
 38at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 39at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:158)
 40at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
 41at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:55)
 42at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 43at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 44at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:69)
 45at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 46at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 47at sun.reflect.GeneratedMethodAccessor678.invoke(Unknown Source)
 48at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 49at java.lang.reflect.Method.invoke(Unknown Source)
 50at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
 51at $Proxy446.doFilter(Unknown Source)
 52at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 53at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:158)
 54at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:424)
 55at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:55)
 56at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 57at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 58at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:69)
 59at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 60at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 61at sun.reflect.GeneratedMethodAccessor678.invoke(Unknown Source)
 62at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 63at java.lang.reflect.Method.invoke(Unknown Source)
 64at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
 65at $Proxy446.doFilter(Unknown Source)
 66at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 67at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:158)
 68at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
 69at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:55)
 70at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 71at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 72at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:69)
 73at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 74at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 75at sun.reflect.GeneratedMethodAccessor678.invoke(Unknown Source)
 76at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 77at java.lang.reflect.Method.invoke(Unknown Source)
 78at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:54)
 79at $Proxy446.doFilter(Unknown Source)
 80at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 81at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:158)
 82at com.liferay.portal.servlet.filters.header.HeaderFilter.processFilter(HeaderFilter.java:150)
 83at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:55)
 84at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 85at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 86at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:69)
 87at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
 88at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
 89at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
 90at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:71)
 91at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 92at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 93at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
 94at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
 95at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 96at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 97at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
 98at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
 99at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
100at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
101at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
102at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
103at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805)
104at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
105at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
106at java.lang.Thread.run(Unknown Source)
Hitoshi Ozawa
RE: Unable to parse Sass on CSS error
October 21, 2012 6:16 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Probably because you're using CentOS 6 or Redhat 6. Sass package which liferay includes uses jruby. I think it was the version problem.
Ben Carson
RE: Unable to parse Sass on CSS error
March 21, 2013 8:41 AM
Answer

Ben Carson

Rank: Junior Member

Posts: 25

Join Date: January 9, 2012

Recent Posts

Possible solution on this thread.
https://www.liferay.com/community/forums/-/message_boards/message/12390733