Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 6.1.30 EE GA3, 6.2.0 CE M2, 6.2.X EE, 7.0.0 M3, 7.0.0 DXP SP1, 7.0.0 DXP SP2, Master
    • Fix Version/s: None
    • Component/s: Mail
    • Labels:
    • Environment:
    • Fix Priority:
      2

      Description

      Steps to reproduce:

      1. Deploy the mail portlet
      2. Add the mail portlet and add an account to it. Wait for the mail portlet to finish loading the account.
      3. Undeploy the mail portlet from the Update Manager
        • The following will display in the console
      02:14:09,901 ERROR [liferay/mail_synchronizer-1][ParallelDestination:117] Unable to process message {destinationName=liferay/mail_synchronizer, response=null, responseDestinationName=null, responseId=null, payload=null, values={principalPassword=null, messagesPerPage=0, principalName=2, accountId=10412, userId=2, command=synchronize, pageNumber=0, companyId=1, messageId=0, password=XXXXXX, folderId=0}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:31)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
              at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:114)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
              at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NullPointerException
              at com.liferay.mail.service.impl.MessageLocalServiceImpl.addMessage(MessageLocalServiceImpl.java:86)
              at sun.reflect.GeneratedMethodAccessor848.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
              at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
              at $Proxy395.addMessage(Unknown Source)
              at com.liferay.mail.service.MessageLocalServiceUtil.addMessage(MessageLocalServiceUtil.java:282)
              at com.liferay.mail.imap.IMAPAccessor.storeEnvelopes(IMAPAccessor.java:653)
              at com.liferay.mail.imap.IMAPAccessor.storeEnvelopes(IMAPAccessor.java:603)
              at com.liferay.mail.mailbox.IMAPMailbox.synchronize(IMAPMailbox.java:377)
              at com.liferay.mail.messaging.MailSynchronizationMessageListener.synchronize(MailSynchronizationMessageListener.java:101)
              at com.liferay.mail.messaging.MailSynchronizationMessageListener.doReceive(MailSynchronizationMessageListener.java:38)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
              ... 5 more

        Attachments

        1. liferay.6.2.x.log
          610 kB
        2. liferay.7.0.x.log
          231 kB
        3. liferay.master.log
          1.76 MB

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            brian.chiu Brian Chiu (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              4 years, 17 weeks, 1 day ago

                Packages

                Version Package