Details

    • Branch Version/s:
      7.0.x
    • Backported to Branch:
      Committed

      Description

      Description

      Customer uses "sync.verify=true" in portlet-ext.properties. NPE occurs after restarting the server.

      Reproduction Steps

      1. Create a portlet-ext.properties and add sync.verify=true to the file
      2. Copy this file to

      {liferay_home}/osgi/marketplace/Liferay Sync Connector.lpkg/com.liferay.sync.service-1.5.2.jar
      

      For branch and master, copy the file to

      {liferay_home}/osgi/modules/com.liferay.sync.service.jar
      

      3. Save the changes
      4. Start the portal
      Note: if portal was running before making the above change, please shut down the portal and delete osgi/state folder. Then restart the portal.

      Result: The error occurs as following.

       2018-01-10 01:03:18,942 [localhost-startStop-1] ERROR com.liferay.sync.internal.configurator.SyncConfigurator - java.lang.NullPointerException
       java.lang.NullPointerException
       at com.liferay.sync.util.VerifyUtil.doVerify(VerifyUtil.java:58)
       at com.liferay.sync.util.VerifyUtil.verify(VerifyUtil.java:54)
       at com.liferay.sync.internal.configurator.SyncConfigurator.activate(SyncConfigurator.java:75)
      

      Branch

      Can reproduce the error in 70x-private: commit id a3a6e7db8dcb2145b3c0c9d3622757aaccc8510c
      Can reproduce the error in master: commit id f32194bad21de1ff9a44fc79687fa353ffa10e10

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 39 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master