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

GroupByTest fails with java.lang.NoClassDefFoundError: Could not initialize class

    Details

      Description

      Does not affect higher branches.


      Run ci:test:search or ci:test:search-es6 on current 7.0.x @6acbaf993fbde351217550405a313830d44491b2 and check the results, for example

      or

      1. Checkout 7.0.x
      2. Run ant setup-sdk
      3. Run ant compile install-portal-snapshots
      4. Go to modules/apps/portal-search-elasticsearch6
      5. Run gradlew test --tests com.liferay.portal.search.elasticsearch6.internal.groupby.GroupByTest

      Expected results: Tests pass
      Actual results: Tess fail with NoClassDefFound error:

      com.liferay.portal.search.elasticsearch6.internal.groupby.GroupByTest > testGroupByDocsSortsSortFieldDesc FAILED
          java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.search.elasticsearch6.internal.groupby.GroupByTest
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      

      Test also

      1. Go to modules/apps/foundation/portal-search/portal-search-elasticsearch
      2. Run gradlew test --tests com.liferay.portal.search.elasticsearch.internal.groupby.GroupByTest

        Attachments

          Activity

            People

            Assignee:
            brooke.dalton Brooke Dalton
            Reporter:
            tibor.lipusz Tibor Lipusz
            Participants of an Issue:
            Recent user:
            Joel Garman
            Engineering Assignee:
            Tibor Lipusz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP92
                7.0.10.14 DXP SP14
                7.0.X