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

Unable to make New Blogs Entry, nullPointerException

    Details

    • Fix Priority:
      5

      Description

      Unable to make a blogs post, clicking on Add Blogs Entry generates console errors. The page to add a post eventually displays, but the fields can't be edited.

      Steps to reproduce:

      1. Admin > Content
      2. Click on Blogs
      3. click '+ Add' - this is the point the console errors are generated
      4. Try to add content to title, subtitle, content fields

      Expected Result:
      No console errors, can create a blogs post.

      Actual Result:
      Console errors, unable to enter content into the blogs fields.

      full console output here

      Jan 23, 2015 10:12:12 PM org.apache.catalina.core.ApplicationDispatcher invoke
      SEVERE: Servlet.service() for servlet jsp threw exception
      java.lang.NullPointerException
              at com.liferay.portal.model.impl.PortletImpl.getFriendlyURLMapperInstance(PortletImpl.java:906)
              at com.liferay.portlet.PortletURLImpl.getPortletFriendlyURLPath(PortletURLImpl.java:212)
              at com.liferay.portlet.PortletURLImpl.generateToString(PortletURLImpl.java:928)
              at com.liferay.portlet.PortletURLImpl$ToStringPrivilegedAction.run(PortletURLImpl.java:1455)
              at com.liferay.portlet.PortletURLImpl$ToStringPrivilegedAction.run(PortletURLImpl.java:1447)
              at com.liferay.portal.security.lang.DoPrivilegedUtil$NoPACL.wrap(DoPrivilegedUtil.java:64)
              at com.liferay.portal.security.lang.DoPrivilegedUtil.wrap(DoPrivilegedUtil.java:26)
      
      22:12:12,748 ERROR [http-bio-8080-exec-3][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=161&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=20182&refererPlid=20185&controlPanelCategory=current_site.content&_161_redirect=http%3A%2F%2Fwww.master.com%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D161%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D20182%26refererPlid%3D20185%26controlPanelCategory%3Dcurrent_site.content%26_161_struts_action%3D%252Fblogs_admin%252Fview&_161_struts_action=%2Fblogs_admin%2Fedit_entry&_161_backURL=http%3A%2F%2Fwww.master.com%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D161%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D20182%26refererPlid%3D20185%26controlPanelCategory%3Dcurrent_site.content%26_161_struts_action%3D%252Fblogs_admin%252Fview&p_p_ajax=0&p_p_isolated=1 generates exception: An exception occurred processing JSP page /html/taglib/ui/image_selector/page.jsp at line 116____113: <aui:script use="<%= modules %>">__114:      var imageSelector = new Liferay.ImageSelector(__115:            {__116:                     documentSelectorURL: '<%= documentSelectorURL.toString() %>',__117:                         errorNode: '#<%= randomNamespace + "errorAlert" %>',__118:                   fileEntryImageNode: '#<%= randomNamespace %>image',__119:                       maxFileSize: <%= maxFileSize %>,______Stacktrace: [Sanitized]
      java.lang.NullPointerException
      

        Attachments

          Activity

            People

            • Assignee:
              simon.park Simon Park (Inactive)
              Reporter:
              simon.park Simon Park (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 45 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 M4