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

Solutions on the web

via Liferay Issues by Shitian "Shelton" Zhang, 1 year ago
via Liferay Issues by Shitian "Shelton" Zhang, 2 years ago
via liferay.com by Unknown author, 2 years ago
java.lang.NullPointerException: 	at com.liferay.portal.tools.SassToCssBuilder.getCacheFileName(SassToCssBuilder.java:67)	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil._getCacheResourceURL(DynamicCSSUtil.java:326)	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil.parseSass(DynamicCSSUtil.java:137)	at com.liferay.portal.servlet.filters.strip.StripFilter.processCSS(StripFilter.java:298)	at com.liferay.portal.servlet.filters.strip.StripFilter.strip(StripFilter.java:687)	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:398)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:308)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:408)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:133)	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:267)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:320)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:57)	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:724)