Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-61251

Update 6.2 GA4 to 6.2 GA5: Unable to parse SASS on CSS

    Details

    • Fix Priority:
      3
    • OS:
      Debian 6.0
    • JDK:
      Oracle Sun JDK 7
    • Application Servers:
      GlassFish 3.1

      Description

      After upgrade Liferay 6.2 GA4 (with security patches) to 6.2 GA5 there are a lot of problems with themes (like Classic or custom). The logs have many bugs. Fragemnts of log below. For version 6.2 GA4 everything is OK.

      Flow:
      Just go to main page of portal.

      Environment:
      Liferay 6.2 GA5,
      GlassFish Server Open Source Edition 3.1.2.2 (build 5),
      PostgreSQL 9.4.,
      Debian GNU/Linux 6.0.6 (squeeze)
      jdk1.7.0_71

      liferay.home=/home/user/glassfish3
      portal.ctx=/ebok

      Logs:

      [#|2015-12-11T17:39:47.329+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=237;_ThreadName=Thread-2;|17:39:47,325 ERROR [http-thread-pool-8080(92)][DynamicCSSFilter:182] Unable to parse SASS on CSS /html/css/main.css
      com.liferay.portal.kernel.scripting.ScriptingException: java.util.concurrent.ExecutionException: org.jruby.embed.EvalFailedException: java.lang.NullPointerException
      	at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:254)
      	at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:129)
      	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil._parseSass(DynamicCSSUtil.java:509)
      	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil.parseSass(DynamicCSSUtil.java:178)
      	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSFilter.getDynamicContent(DynamicCSSFilter.java:147)
      	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSFilter.processFilter(DynamicCSSFilter.java:209)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.aggregate.AggregateFilter.processFilter(AggregateFilter.java:518)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:432)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
      	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:185)
      	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:256)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      	at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.util.concurrent.ExecutionException: org.jruby.embed.EvalFailedException: java.lang.NullPointerException
      	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
      	at com.liferay.portal.scripting.ruby.RubyExecutor.eval(RubyExecutor.java:248)
      	... 58 more
      Caused by: org.jruby.embed.EvalFailedException: java.lang.NullPointerException
      	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:141)
      	at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
      	at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
      	at com.liferay.portal.scripting.ruby.RubyExecutor.doEval(RubyExecutor.java:189)
      	at com.liferay.portal.scripting.ruby.RubyExecutor$EvalCallable.call(RubyExecutor.java:332)
      	at com.liferay.portal.scripting.ruby.RubyExecutor$EvalCallable.call(RubyExecutor.java:1)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	... 1 more
      Caused by: java.lang.NullPointerException
      	at com.kenai.jaffl.provider.jffi.DefaultInvokerFactory$DefaultInvoker.marshal(DefaultInvokerFactory.java:331)
      	at com.kenai.jaffl.provider.jffi.DefaultInvokerFactory$DefaultInvoker.invoke(DefaultInvokerFactory.java:338)
      	at com.kenai.jaffl.provider.NativeInvocationHandler.invoke(NativeInvocationHandler.java:110)
      	at com.sun.proxy.$Proxy705.getpid(Unknown Source)
      	at org.jruby.ext.posix.BaseNativePOSIX.getpid(BaseNativePOSIX.java:102)
      	at org.jruby.ext.posix.LazyPOSIX.getpid(LazyPOSIX.java:127)
      	at org.jruby.RubyGlobal$PidAccessor.getValue(RubyGlobal.java:773)
      	at org.jruby.internal.runtime.ReadonlyAccessor.getValue(ReadonlyAccessor.java:51)
      	at org.jruby.internal.runtime.GlobalVariables.get(GlobalVariables.java:111)
      	at org.jruby.RubyTempfile.make_tmpname(RubyTempfile.java:199)
      	at org.jruby.RubyTempfile$i$2$0$make_tmpname.call(RubyTempfile$i$2$0$make_tmpname.gen:65535)
      	at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodTwoBlock.call(JavaMethod.java:568)
      	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:181)
      	at org.jruby.RubyClass.finvoke(RubyClass.java:680)
      	at org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:557)
      	at org.jruby.RubyBasicObject.callMethod(RubyBasicObject.java:369)
      	at org.jruby.RubyTempfile.initialize(RubyTempfile.java:124)
      	at org.jruby.RubyTempfile$i$0$1$initialize.call(RubyTempfile$i$0$1$initialize.|#]
      
      [#|2015-12-11T17:39:47.330+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=237;_ThreadName=Thread-2;|gen:65535)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:80)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:84)
      	at org.jruby.RubyClass.newInstance(RubyClass.java:834)
      	at org.jruby.RubyIO.newInstance(RubyIO.java:868)
      	at org.jruby.RubyIO$s$0$0$newInstance.call(RubyIO$s$0$0$newInstance.gen:65535)
      	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:219)
      	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:215)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
      	at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
      	at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178)
      	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187)
      	at org.jruby.ast.CallOneArgBlockNode.interpret(CallOneArgBlockNode.java:60)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
      	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
      	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:134)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71)
      	at org.jruby.ast.FCallManyArgsNode.interpret(FCallManyArgsNode.java:60)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
      	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
      	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:352)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:237)
      	at org.jruby.ast.CallThreeArgNode.interpret(CallThreeArgNode.java:61)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
      	at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
      	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:347)
      	at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:304)
      	at org.jruby.runtime.Block.yield(Block.java:130)
      	at org.jruby.RubyArray.eachCommon(RubyArray.java:1605)
      	at org.jruby.RubyArray.each(RubyArray.java:1612)
      	at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
      	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
      	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
      	at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:352)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:237)
      	at org.jruby.ast.CallThreeArgNode.interpret(CallThreeArgNode.java:61)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
      	at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
      	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
      	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
      	at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
      	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
      	at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
      	at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
      	at org.jruby.ast.ReturnNode.interpret(ReturnNode.java:92)
      	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
      	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
      	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
      	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
      	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
      	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
      	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
      	at org.jruby.ast.RootNode.interpret(RootNode.java:129)
      	at org.jruby.evaluator.ASTInterpreter.INTERPRET_ROOT(ASTInterpreter.java:120)
      	at org.jruby.Ruby.runInterpreter(Ruby.java:720)
      	at org.jruby.Ruby.runInterpreter(Ruby.java:728)
      	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:119)
      	... 7 more
      |#]
      
      [#|2015-12-11T17:39:47.632+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=209;_ThreadName=Thread-2;|17:39:47,631 WARN  [http-thread-pool-8080(64)][code_jsp:114] {code="404", msg="", uri=/ebok/html/css/portal/compass}
      |#]
      
      [#|2015-12-11T17:39:47.889+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=199;_ThreadName=Thread-2;|17:39:47,889 WARN  [http-thread-pool-8080(54)][code_jsp:114] {code="404", msg="", uri=/ebok/html/css/portal/compass}
      |#]
      
      [#|2015-12-11T17:39:47.893+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=157;_ThreadName=Thread-2;|17:39:47,893 WARN  [http-thread-pool-8080(14)][code_jsp:114] {code="404", msg="", uri=/ebok/html/css/portal/compass/css3/user-interface}
      |#]
      
      [#|2015-12-11T17:39:47.895+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=210;_ThreadName=Thread-2;|17:39:47,895 WARN  [http-thread-pool-8080(65)][code_jsp:114] {code="404", msg="", uri=/ebok/html/css/portal/mixins}
      |#]
      
      [#|2015-12-11T17:39:47.902+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=169;_ThreadName=Thread-2;|17:39:47,902 WARN  [http-thread-pool-8080(24)][code_jsp:114] {code="404", msg="", uri=/ebok/html/css/taglib/mixins}
      |#]
      
      [#|2015-12-11T17:39:47.907+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=172;_ThreadName=Thread-2;|17:39:47,906 WARN  [http-thread-pool-8080(27)][code_jsp:114] {code="404", msg="", uri=/ebok/html/css/taglib/compass}
      |#]
      

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                3 years, 35 weeks ago

                Packages

                Version Package