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

Exception in logs for Jabber and BuddyComparator

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.10 EE GA1
    • Fix Version/s: 6.1.X EE, 6.2.X EE, Master
    • Component/s: Chat
    • Labels:
      None
    • Branch Version/s:
      7.0.x, 6.2.x, 6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      1

      Description

      We keep seeing this error in the logs:

      08:53:39,584 ERROR [liferay/poller-6][JabberImpl:176] Unable to get Jabber buddies
      java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Long
      at com.liferay.chat.util.comparator.BuddyComparator.compare(BuddyComparator.java:36)
      at com.liferay.chat.util.comparator.BuddyComparator.compare(BuddyComparator.java:1)
      at java.util.Collections.indexedBinarySearch(Collections.java:332)
      at java.util.Collections.binarySearch(Collections.java:320)
      at com.liferay.chat.jabber.JabberImpl.getStatuses(JabberImpl.java:164)
      at com.liferay.chat.jabber.JabberUtil.getStatuses(JabberUtil.java:49)
      at com.liferay.chat.util.DefaultBuddyFinderImpl.getBuddies(DefaultBuddyFinderImpl.java:101)
      at com.liferay.chat.util.BuddyFinderUtil.getBuddies(BuddyFinderUtil.java:30)
      at com.liferay.chat.poller.ChatPollerProcessor.getBuddies(ChatPollerProcessor.java:78)
      at com.liferay.chat.poller.ChatPollerProcessor.doReceive(ChatPollerProcessor.java:64)
      at com.liferay.portal.kernel.poller.BasePollerProcessor.receive(BasePollerProcessor.java:30)
      at sun.reflect.GeneratedMethodAccessor1019.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67)
      at com.sun.proxy.$Proxy551.receive(Unknown Source)
      at com.liferay.portal.dao.shard.ShardPollerProcessorWrapper.receive(ShardPollerProcessorWrapper.java:40)
      at com.liferay.portal.poller.messaging.PollerRequestMessageListener.doReceive(PollerRequestMessageListener.java:54)
      at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
      at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:71)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
      at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            Assignee:
            ian.song Ian Song (Inactive)
            Reporter:
            corneil@jumpco.io Corneil du Plessis
            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:
              4 years, 28 weeks, 3 days ago

                Packages

                Version Package
                6.1.X EE
                6.2.X EE
                Master