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

Can not add a Message Board Thread to a Category w/ mailing list settings.

    Details

      Description

      1. Add the Message Boards portlet.
      2. Add a Category w/ a Mailing List.
        • Click Add Category.
        • Fill in the Name (Required) field.
        • In the Mailing List section check off the Active checkbox.
          • Fill in the Email Address field w/ a google group email address.
          • Fill in the Incoming section w/ POP information.
            • Fill in the Server Name field w/ pop.gmail.com.
            • Fill in the Server Port field w/ 995.
            • Check in the Use a Secure Network Connection checkbox.
            • Fill in the User Name field w/ an email address that in the google group mailing list.
            • Fill in the Read Interval (Minutes) field w/ 1.
            • Fill in the Password field for that email address.
          • Fill in the Outgoing section w/ SMTP information.
            • Fill in the Email Address field w/ an email address that in the google group mailing list.
            • Check in the Use Custom Outgoing Server checkbox.
            • Fill in the Server Name field w/ smtp.gmail.com.
            • Fill in the Server Port field w/ 465.
            • Check in the Use a Secure Network Connection checkbox.
            • Fill in the User Name field w/ an email address that in the google group mailing list.
            • Fill in the Password field for that email address.
        • Click Save.
      3. Add a Thread to that Category.
        • Navigate onto the Category.
        • Click Post New Thread.
        • Fill in the Subject (Required) field.
        • Fill in the Body field.
        • Click Publish.

        • The attached Null Pointer Exception will be thrown.
          02:52:01,413 ERROR [render_portlet_jsp:154] java.lang.NullPointerException
                  at com.liferay.portlet.messageboards.util.MBSubscriptionSender.getMailingListSubject(MBSubscriptionSender.java:88)
                  at com.liferay.portlet.messageboards.util.MBSubscriptionSender.addMailingListSubscriber(MBSubscriptionSender.java:81)
                  at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.notifySubscribers(MBMessageLocalServiceImpl.java:2005)
                  at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.updateStatus(MBMessageLocalServiceImpl.java:1626)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
                  at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
                  at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
                  at com.liferay.portlet.messageboards.service.MBMessageLocalServiceUtil.updateStatus(MBMessageLocalServiceUtil.java:713)
                  at com.liferay.portlet.messageboards.workflow.MBMessageWorkflowHandler.updateStatus(MBMessageWorkflowHandler.java:63)
                  at com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil.startWorkflowInstance(WorkflowHandlerRegistryUtil.java:125)
                  at com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil.startWorkflowInstance(WorkflowHandlerRegistryUtil.java:75)
                  at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.addMessage(MBMessageLocalServiceImpl.java:387)
                  at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.addMessage(MBMessageLocalServiceImpl.java:412)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
                  at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
                  at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
                  at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
                  at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:59)
        • The Message Board's portlet will throw the error:
          Message Boards is temporarily unavailable.  Please see the attached screen shot.

        Attachments

          Activity

            People

            • Assignee:
              michael.hashimoto Michael Hashimoto
              Reporter:
              michael.hashimoto Michael Hashimoto
              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:
                7 years, 50 weeks, 2 days ago

                Packages

                Version Package
                6.0.X EE
                6.1.0 CE RC1
                --Sprint 11/12
                6.2.0 CE M2