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

CKEditor creole editor does not work as expected

    Details

      Description

      Steps to reproduce:

      1. Change this property in portal-ext.properties:
        editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=ckeditor_creole
        

        #Startup Liferay

      2. Go to Control Panel -> Content -> Blogs
      3. Click on plus sign to create a new blog.

      Expected behavior: editor will show up with no errors in log.
      Actual behavior: error is thrown:

      05:11:34,960 ERROR [http-bio-8080-exec-10][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_blogs_web_portlet_BlogsAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_blogs_web_portlet_BlogsAdminPortlet_mvcRenderCommandName=%2Fblogs%2Fedit_entry&_com_liferay_blogs_web_portlet_BlogsAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_blogs_web_portlet_BlogsAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
      	at com.liferay.frontend.editor.ckeditor.web.editor.configuration.CKEditorCreoleConfigContributor.populateConfigJSONObject(CKEditorCreoleConfigContributor.java:60)
      	at com.liferay.portal.editor.configuration.EditorConfigProvider.getConfigJSONObject(EditorConfigProvider.java:54)
      	at com.liferay.portal.editor.configuration.EditorConfigurationFactoryImpl.getEditorConfiguration(EditorConfigurationFactoryImpl.java:43)
      	at com.liferay.portal.kernel.editor.configuration.EditorConfigurationFactoryUtil.getEditorConfiguration(EditorConfigurationFactoryUtil.java:34)
      	at com.liferay.taglib.ui.InputEditorTag.getData(InputEditorTag.java:285)
      	at com.liferay.taglib.ui.InputEditorTag$LazyDataInvocationHandler.invoke(InputEditorTag.java:492)
      	at org.apache.jsp.ckeditor_jsp._jspService(ckeditor_jsp:278)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      	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:731)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:399)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:410)
      	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:447)
      	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.1 CE GA2