Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-684

Accessing Audience Targeting after deactivation and reactivation throws NPE

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Content Targeting
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Deploy latest release of Content Targeting
      2. Navigate to Control Panel > Apps > App Manager
      3. Deactivate Content Targeting suite
      4. Reactivate Content Targeting suite
      5. Navigate to Configuration > Audience Targeting

      Expected result: User can access Audience Targeting after deactivating and reactivating the suite
      Actual result: User cannot access Audience Targeting after deactivating and reactivating the suite; a NullPointerException is thrown upon navigating to Audience Targeting, and the page is blank.

      Deactivation:

      18:35:46,813 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.os_1.0.0 [583]
      18:35:46,877 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.tracking.action.page_1.0.0 [584]
      18:35:46,942 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.last.login.date_1.0.0 [585]
      18:35:47,345 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.analytics.service_2.0.0 [586]
      18:35:47,408 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.custom.field_1.0.0 [587]
      18:35:47,469 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.sign.up.date_1.0.0 [588]
      18:35:47,522 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.user.segment.content.service_2.0.0 [589]
      18:35:47,610 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.analytics.processor_1.0.0 [590]
      18:35:47,670 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.score.points.web_1.0.0 [591]
      18:35:47,722 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.campaign.content.service_2.0.0 [592]
      18:35:47,789 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.site.member_1.0.0 [593]
      18:35:47,839 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.campaign.tracking.action.service_2.0.0 [594]
      18:35:47,841 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.campaign.content.api_1.0.0 [595]
      18:35:47,894 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.tracking.action.youtube_1.0.0 [596]
      18:35:47,947 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.user.group.member_1.0.0 [597]
      18:35:48,601 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.api_3.0.0 [598]
      18:35:48,657 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.user.segment.users_1.0.0 [599]
      18:35:48,659 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.analytics.api_2.0.0 [600]
      18:35:48,661 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.score.points.api_1.0.0 [601]
      18:35:48,710 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.asset.entry.query.processor_1.0.0 [602]
      18:35:48,763 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.language_1.0.0 [603]
      18:35:48,770 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.score.points.service_2.0.0 [604]
      18:35:48,824 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.organization.member_1.0.0 [605]
      18:35:48,830 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.lang_1.0.0 [606]
      18:35:48,921 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.web_2.0.0 [607]
      18:35:48,974 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.ip.range_1.0.0 [608]
      18:35:48,975 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.campaign.tracking.action.api_1.2.0 [609]
      18:35:49,025 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.campaign.content.web_1.0.0 [610]
      18:35:49,079 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.tracking.action.content_1.0.0 [611]
      18:35:49,081 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.anonymous.users.api_2.0.0 [612]
      18:35:49,130 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.user.segment.content.web_1.0.0 [613]
      18:35:49,183 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.browser_1.0.0 [614]
      18:35:49,238 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.tracking.action.link_1.0.0 [615]
      18:35:49,288 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.time_1.0.0 [616]
      18:35:49,357 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.tracking.action.form_1.0.0 [617]
      18:35:49,409 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.user.logged_1.0.0 [618]
      18:35:49,482 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.anonymous.users.service_2.0.0 [619]
      18:35:49,531 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.campaign.tracking.action.web_1.0.0 [620]
      18:35:49,582 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.ip.geocode_1.0.0 [621]
      18:35:49,629 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.visited_1.0.0 [622]
      18:35:49,703 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.facebook_1.0.0 [623]
      18:35:49,756 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.device_1.0.0 [624]
      18:35:49,820 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.simulation.web_2.0.0 [625]
      18:35:49,912 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.service_3.0.0 [626]
      18:35:49,914 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.report.user.segment.content.api_1.1.0 [627]
      18:35:49,966 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.gender_1.0.0 [628]
      18:35:50,027 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.role_1.0.0 [629]
      18:35:50,122 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.analytics.web_1.0.0 [630]
      18:35:50,191 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.rule.age_1.0.0 [631]
      18:35:50,286 INFO  [http-nio-8080-exec-8][BundleStartStopLogger:38] STOPPED com.liferay.content.targeting.display.web_2.0.0 [632]

      Reactivation:

      18:36:11,631 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.os_1.0.0 [583]
      18:36:11,845 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.tracking.action.page_1.0.0 [584]
      18:36:12,063 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.last.login.date_1.0.0 [585]
      18:36:12,449 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.analytics.upgrade.v0_0_1.UpgradeModule$1
      18:36:12,450 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:12,453 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 3 ms
      18:36:12,454 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:12,455 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:12,455 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.analytics.upgrade.v0_0_1.UpgradeModule
      18:36:12,476 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.analytics.service_2.0.0 [586]
      18:36:12,685 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.custom.field_1.0.0 [587]
      18:36:12,887 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.sign.up.date_1.0.0 [588]
      18:36:12,943 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.user.segment.content.service_2.0.0 [589]
      18:36:13,124 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.analytics.processor_1.0.0 [590]
      18:36:13,282 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.score.points.web_1.0.0 [591]
      18:36:13,328 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.campaign.content.service_2.0.0 [592]
      18:36:13,502 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.site.member_1.0.0 [593]
      18:36:13,551 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.campaign.tracking.action.service_2.0.0 [59
      18:36:13,557 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.campaign.content.api_1.0.0 [595]
      18:36:13,726 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.tracking.action.youtube_1.0.0 [596]
      18:36:13,915 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.user.group.member_1.0.0 [597]
      18:36:13,973 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.api_3.0.0 [598]
      18:36:14,151 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.user.segment.users_1.0.0 [599]
      18:36:14,179 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.analytics.api_2.0.0 [600]
      18:36:14,181 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.score.points.api_1.0.0 [601]
      18:36:14,343 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.asset.entry.query.processor_1.0.0 [602]
      18:36:14,535 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.language_1.0.0 [603]
      18:36:14,633 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.score.points.service_2.0.0 [604]
      18:36:14,805 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.organization.member_1.0.0 [605]
      18:36:14,831 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.lang_1.0.0 [606]
      18:36:15,169 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.web_2.0.0 [607]
      18:36:15,359 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.ip.range_1.0.0 [608]
      18:36:15,387 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.campaign.tracking.action.api_1.2.0 [609]
      18:36:15,561 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.campaign.content.web_1.0.0 [610]
      18:36:15,761 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.tracking.action.content_1.0.0 [611]
      18:36:15,788 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.anonymous.users.api_2.0.0 [612]
      18:36:15,966 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.user.segment.content.web_1.0.0 [613]
      18:36:16,167 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.browser_1.0.0 [614]
      18:36:16,367 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.tracking.action.link_1.0.0 [615]
      18:36:16,568 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.time_1.0.0 [616]
      18:36:16,771 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.tracking.action.form_1.0.0 [617]
      18:36:16,976 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.user.logged_1.0.0 [618]
      18:36:17,298 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.anonymous.users.service_2.0.0 [619]
      18:36:17,534 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.campaign.tracking.action.web_1.0.0 [620]
      18:36:17,793 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.ip.geocode_1.0.0 [621]
      18:36:18,017 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.visited_1.0.0 [622]
      18:36:18,265 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.facebook_1.0.0 [623]
      18:36:18,478 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.device_1.0.0 [624]
      18:36:18,702 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.simulation.web_2.0.0 [625]
      18:36:19,605 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:19,606 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:19,607 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:19,608 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:19,610 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 2 ms
      18:36:19,610 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:20,006 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,008 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,009 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,011 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,012 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:20,012 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 6ms
      18:36:20,305 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,306 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,307 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,309 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,310 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:20,310 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:20,701 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,702 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,703 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,704 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,705 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:20,706 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:20,730 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,731 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,732 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,733 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,735 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 2 ms
      18:36:20,735 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:20,770 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,772 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,773 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,774 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,775 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:20,776 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 6ms
      18:36:20,796 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,798 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,799 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,800 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,801 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:20,801 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:20,837 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,838 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,839 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,840 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,841 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:20,842 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:20,887 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:20,889 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:20,890 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:20,891 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:20,892 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:20,892 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:21,395 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:21,396 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:21,397 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:21,398 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:21,399 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:21,399 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 4ms
      18:36:21,432 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.service_3.0.0 [626]
      18:36:21,439 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.report.user.segment.content.api_1.1.0 [627]
      18:36:21,644 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.gender_1.0.0 [628]
      18:36:21,889 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.role_1.0.0 [629]
      18:36:22,210 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.analytics.web_1.0.0 [630]
      18:36:22,429 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.rule.age_1.0.0 [631]
      18:36:23,108 INFO  [http-nio-8080-exec-5][UpgradeProcess:82] Upgrading com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1
      18:36:23,110 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules
      18:36:23,110 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateExtractedModules in 1 ms
      18:36:23,111 INFO  [http-nio-8080-exec-5][LoggingTimer:70] Starting com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules
      18:36:23,112 INFO  [http-nio-8080-exec-5][LoggingTimer:38] Completed com.liferay.portal.upgrade.v7_0_0.UpgradeModules#updateConvertedLegacyModules in 1 ms
      18:36:23,113 INFO  [http-nio-8080-exec-5][UpgradeProcess:97] Completed upgrade process com.liferay.content.targeting.upgrade.v0_0_1.UpgradeModule$1 in 5ms
      18:36:23,125 INFO  [http-nio-8080-exec-5][BundleStartStopLogger:35] STARTED com.liferay.content.targeting.display.web_2.0.0 [632]

      NullPointerException:

      18:37:11,362 ERROR [http-nio-8080-exec-10][UserSegmentPreAction:116] Cannot obtain the user segments for the current user
      18:37:11,420 ERROR [http-nio-8080-exec-10][IncludeTag:128] Current URL /group/guest/~/control_panel/manage/-/audience_targeting/admin?p_p_auth=R82xQhri generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.content.targeting.service.UserSegmentLocalServiceUtil.getUserSegmentsCount(UserSegmentLocalServiceUtil.java:278)
              at com.liferay.content.targeting.web.display.context.ContentTargetingViewUserSegmentsDisplayContext.getUserSegmentSearchContainer(ContentTargetingViewUserSegmentsDisplayContext.java:161)
              at com.liferay.content.targeting.web.display.context.ContentTargetingViewUserSegmentsDisplayContext.isDisabledManagementBar(ContentTargetingViewUserSegmentsDisplayContext.java:199)
              at com.liferay.content.targeting.web.display.context.ContentTargetingViewUserSegmentsDisplayContext.isSearchEnabled(ContentTargetingViewUserSegmentsDisplayContext.java:246)
              at org.apache.jsp.view_005fuser_005fsegments_jsp._jspService(view_005fuser_005fsegments_jsp.java:430)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:399)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:410)
              at com.liferay.portal.osgi.web.servlet.context.helper.internal.JspServletWrapper.service(JspServletWrapper.java:70)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
              at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:447)
              at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
              at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7
      Portal ee-7.0.x GIT ID: cc605a109e659bd1d0c0095bfe593ac91c091c23
      Content Targeting release content-targeting-release-2.0-7.0-RC4.zip

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2.0