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

Configuring Asset Publisher throws console and javascript error

    Details

      Description

      Steps to reproduce:

      1. Add Asset Publisher to a page
      2. Try to configure asset publisher

      Expected result:
      No console and javascript error and the user is successfully configured asset publisher.

      Actual result:
      Console and javascript error are display.
      javascrip error:

      TypeError: a is null
      http://localhost:8080/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7010&t=1461606721655&/o/frontend-js-web/aui/aui-set/aui-set-min.js&/o/frontend-js-web/liferay/language.js&/o/frontend-js-web/liferay/input_localized.js&/o/frontend-js-web/liferay/store.js&/o/frontend-js-web/aui/aui-dialog-iframe-deprecated/aui-dialog-iframe-deprecated-min.js&/o/frontend-js-web/aui/widget-buttons/widget-buttons-min.js&/o/frontend-js-web/aui/widget-modality/widget-modality-min.js&/o/frontend-js-web/aui/dd-plugin/dd-plugin-min.js&/o/frontend-js-web/aui/dd-constrain/dd-constrain-min.js&/o/frontend-js-web/aui/aui-widget-toolbars/aui-widget-toolbars-min.js&/o/frontend-js-web/aui/event-flick/event-flick-min.js&/o/frontend-js-web/aui/event-valuechange/event-valuechange-min.js&/o/frontend-js-web/aui/event-tap/event-tap-min.js&/o/frontend-js-web/aui/resize-base/resize-base-min.js&/o/frontend-js-web/aui/resize-plugin/resize-plugin-min.js&/o/frontend-js-web/aui/aui-modal/aui-modal-min.js
      Line 6

      console error:

      21:10:52,765 INFO  [ServerService Thread Pool -- 83][ThemeHotDeployListener:109] 1 theme for user-vertical-theme is available for use
      21:10:53,120 INFO  [ServerService Thread Pool -- 83][HotDeployImpl:222] Deploying user-horizontal-theme from queue
      21:10:53,121 INFO  [ServerService Thread Pool -- 83][PluginPackageUtil:1006] Reading plugin package for user-horizontal-theme
      21:10:53,128 INFO  [ServerService Thread Pool -- 83][ThemeHotDeployListener:94] Registering themes for user-horizontal-theme
      21:10:53,276 INFO  [ServerService Thread Pool -- 83][ThemeHotDeployListener:109] 1 theme for user-horizontal-theme is available for use
      21:18:52,213 INFO  [elasticsearch[Harald Jaekelsson][clusterService#updateTask][T#1]][metadata:317] [Harald Jaekelsson] [liferay-20202] update_mapping [LiferayDocumentType]
      21:19:13,407 ERROR [default task-98][IncludeTag:128] Current URL /web/guest/test-page?p_p_id=com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet&p_p_lifecycle=0&p_p_state=pop_up&p_p_col_id=column-2&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_mvcPath=%2Fedit_configuration.jsp&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_redirect=%2Fweb%2Fguest%2Ftest-page&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_returnToFullPageURL=%2Fweb%2Fguest%2Ftest-page&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_portletConfiguration=true&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_portletResource=com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_zw4o9R16Sge1&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_resourcePrimKey=31375_LAYOUT_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_zw4o9R16Sge1&yui_patched_v3_18_1_1_1461618857110_11263=1461619146799 generates exception: Stream closed
      java.io.IOException: Stream closed
      	at org.apache.jasper.runtime.BodyContentImpl.ensureOpen(BodyContentImpl.java:628)
      	at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:182)
      	at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:199)
      	at org.apache.jsp.ckeditor_jsp._jspService(ckeditor_jsp:1105)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:376)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:387)
      	at com.liferay.portal.osgi.web.servlet.context.helper.internal.JspServletWrapper.service(JspServletWrapper.java:70)
      	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
      	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
      	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:444)
      	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
      	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.context.DispatchTargets.doDispatch(DispatchTargets.java:119)
      
      

        Attachments

          Activity

            People

            Assignee:
            koor.gai Koor Gai
            Reporter:
            koor.gai Koor Gai
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 23 weeks ago

                Packages

                Version Package
                7.0.1 CE GA2