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

Could not initialize class for Subscriptions

    Description

    Testray

    Jenkins

        [junit] Running com.liferay.portal.util.SubscriptionSenderTest
        [junit] Testsuite: com.liferay.portal.util.SubscriptionSenderTest
        [junit] Loading file:/opt/dev/projects/github/liferay-portal/portal-kernel/test-classes/unit/system-ext.properties
        [junit] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.564 sec
        [junit] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.564 sec
        [junit] 
        [junit] Testcase: testHasSubscriptionsReturnsFalseWhenNoSubscribers(com.liferay.portal.util.SubscriptionSenderTest):	Caused an ERROR
        [junit] null
        [junit] java.lang.ExceptionInInitializerError
        [junit] 	at com.liferay.portal.util.SubscriptionSenderTest.testHasSubscriptionsReturnsFalseWhenNoSubscribers(SubscriptionSenderTest.java:181)
        [junit] Caused by: java.lang.NullPointerException
        [junit] 	at com.liferay.portal.kernel.util.PropsUtil.get(PropsUtil.java:31)
        [junit] 	at com.liferay.portal.kernel.util.SubscriptionSender.<clinit>(SubscriptionSender.java:1127)
        [junit] 
        [junit] 
        [junit] Testcase: testGetPortalURLWithServiceContext(com.liferay.portal.util.SubscriptionSenderTest):	Caused an ERROR
        [junit] Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] 	at com.liferay.portal.util.SubscriptionSenderTest.testGetPortalURLWithServiceContext(SubscriptionSenderTest.java:161)
        [junit] 
        [junit] 
        [junit] Testcase: testHasSubscriptionsReturnsTrueWhenSubscriptionsInDB(com.liferay.portal.util.SubscriptionSenderTest):	Caused an ERROR
        [junit] Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] 	at com.liferay.portal.util.SubscriptionSenderTest.testHasSubscriptionsReturnsTrueWhenSubscriptionsInDB(SubscriptionSenderTest.java:226)
        [junit] 
        [junit] 
        [junit] Testcase: testGetPortalURLWithGroupId(com.liferay.portal.util.SubscriptionSenderTest):	Caused an ERROR
        [junit] Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] 	at com.liferay.portal.util.SubscriptionSenderTest.testGetPortalURLWithGroupId(SubscriptionSenderTest.java:132)
        [junit] 
        [junit] 
        [junit] Testcase: testGetPortalURLWithoutGroupId(com.liferay.portal.util.SubscriptionSenderTest):	Caused an ERROR
        [junit] Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] 	at com.liferay.portal.util.SubscriptionSenderTest.testGetPortalURLWithoutGroupId(SubscriptionSenderTest.java:147)
        [junit] 
        [junit] 
        [junit] Testcase: testHasSubscriptionsReturnsFalseWhenNoSubscriptionsInDB(com.liferay.portal.util.SubscriptionSenderTest):	Caused an ERROR
        [junit] Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.util.SubscriptionSender
        [junit] 	at com.liferay.portal.util.SubscriptionSenderTest.testHasSubscriptionsReturnsFalseWhenNoSubscriptionsInDB(SubscriptionSenderTest.java:202)
        [junit] 
        [junit] 
        [junit] Test com.liferay.portal.util.SubscriptionSenderTest FAILED
    

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            nicholas.kwon Nicholas Kwon
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              34 weeks, 3 days ago

                Packages

                Version Package
                7.3.3 CE GA4
                7.3.10 DXP GA1
                Master