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

Adding a Bookmarks portlet throws console error

    Details

    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Add a bookmark portlet to the page
      2. Assert console errors
        ^LNoMethodError: undefined method `find' for nil:NilClass
                    import at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/import_node.rb:54
                      each at org/jruby/RubyArray.java:1612
                    import at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/import_node.rb:53
             imported_file at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/import_node.rb:28
               css_import? at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/import_node.rb:37
              visit_import at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:301
                      send at org/jruby/RubyKernel.java:2097
                     visit at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/base.rb:36
                     visit at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:158
                 with_base at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/stack.rb:79
                with_frame at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/stack.rb:115
                 with_base at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/stack.rb:79
                     visit at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:158
            visit_children at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/base.rb:52
                   collect at org/jruby/RubyArray.java:2318
            visit_children at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/base.rb:52
            visit_children at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:167
          with_environment at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:179
            visit_children at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:166
                     visit at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/base.rb:36
                visit_root at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:186
                      send at org/jruby/RubyKernel.java:2097
                     visit at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/base.rb:36
                     visit at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:157
                      send at org/jruby/RubyKernel.java:2097
                     visit at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/visitors/perform.rb:8
                  css_tree at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/root_node.rb:36
                    render at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/tree/root_node.rb:20
                    render at /home/evan/private/master-bundles/tomcat-7.0.42/temp/liferay/ruby/gems/sass-3.4.3/lib/sass/engine.rb:268
                   process at <script>:31
        19:58:15,691 ERROR [http-bio-8080-exec-4][DynamicCSSUtil:590] org.jruby.embed.InvokeFailedException: (NoMethodError) undefined method `find' for nil:NilClass
        org.jruby.embed.InvokeFailedException: (NoMethodError) undefined method `find' for nil:NilClass
        	at org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call(EmbedRubyObjectAdapterImpl.java:406)
        	at org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callMethod(EmbedRubyObjectAdapterImpl.java:190)
        	at org.jruby.embed.ScriptingContainer.callMethod(ScriptingContainer.java:1388)
        	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil._parseSass(DynamicCSSUtil.java:566)
        	at com.liferay.portal.servlet.filters.dynamiccss.DynamicCSSUtil.parseSass(DynamicCSSUtil.java:191)
        	at com.liferay.portal.servlet.filters.aggregate.AggregateFilter.getCssContent(AggregateFilter.java:466)
        	at com.liferay.portal.servlet.filters.aggregate.AggregateFilter.getCssContent(AggregateFilter.java:506)
        	at com.liferay.portal.servlet.filters.aggregate.AggregateFilter.getContent(AggregateFilter.java:406)
        	at com.liferay.portal.servlet.filters.aggregate.AggregateFilter.processFilter(AggregateFilter.java:523)
        	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.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:74)
        	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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:606)
        	at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
        	at com.sun.proxy.$Proxy500.doFilter(Unknown Source)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.header.HeaderFilter.processFilter(HeaderFilter.java:154)
        	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.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:74)
        	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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:606)
        	at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
        	at com.sun.proxy.$Proxy500.doFilter(Unknown Source)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        	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.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:74)
        	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.InvokerFilter.doFilter(InvokerFilter.java:97)
        	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:88)
        	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
        	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
        	at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl.doDispatch(HttpServiceRuntimeImpl.java:609)
        	at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl.doDispatch(HttpServiceRuntimeImpl.java:551)
        	at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl.doDispatch(HttpServiceRuntimeImpl.java:219)
        	at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.processAlias(ProxyServlet.java:87)
        	at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(ProxyServlet.java:66)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        	at com.liferay.portal.module.framework.ModuleFrameworkServletAdapter.service(ModuleFrameworkServletAdapter.java:51)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
        	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:421)
        	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.BaseFilter.processFilter(BaseFilter.java:169)
        	at com.liferay.portal.servlet.filters.header.HeaderFilter.processFilter(HeaderFilter.java:154)
        	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.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:87)
        	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.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
        	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:185)
        	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
        	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
        	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
        	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
        	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: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:97)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        	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)
        Caused by: org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `find' for nil:NilClass
        

      RecycleBinBookmarks
      http://build-1/1/view/test-portal-branch-upstream-frontend-tomcat-mysql(master)/job/test-portal-branch-upstream-frontend-tomcat-mysql%5Bportal-wcm%5D(master)/250/label_exp=!build-1,test=RecyclebinUsecaseTestCase%23testRecycleBinBookmarks/testReport/com.liferay.portalweb.enduser.wcm.recyclebin.usecase/RecyclebinUsecaseTestCase/testRecycleBinBookmarks/history/

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 42 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 M4