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

Possible NullPointerException in ClusterLinkImpl

    Details

      Description

      Since MessageBus is optional in ClusterLinkImpl the component can be activated without a MessageBus available if com.liferay.portal.messaging isn't yet active generating NullPointerException:

      Exception in thread "default-62" java.lang.NullPointerException
      	at com.liferay.portal.cluster.multiple.internal.ClusterLinkImpl.sendLocalMessage(ClusterLinkImpl.java:248)
      	at com.liferay.portal.cluster.multiple.internal.ClusterForwardReceiver.doReceive(ClusterForwardReceiver.java:45)
      	at com.liferay.portal.cluster.multiple.internal.BaseClusterReceiver$ReceiveRunnable.run(BaseClusterReceiver.java:242)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      

      This was solved in LPS-80517, but the issue wasn't fully backported to 7.0.x

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Joel Garman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                48 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP91
                  7.0.10.14 DXP SP14
                  7.0.X