Details

      Description

      source-format-jdk8/0

      Full log.

      Issue:

      format-source-files:
           [java] Loading file:/opt/dev/projects/github/liferay-portal-7.3.x/portal-impl/classes/system.properties
           [java] SLF4J: Class path contains multiple SLF4J bindings.
           [java] SLF4J: Found binding in [file:/opt/dev/projects/github/liferay-portal-7.3.x/util-slf4j/classes/org/slf4j/impl/StaticLoggerBinder.class]
           [java] SLF4J: Found binding in [jar:file:/opt/dev/projects/github/liferay-portal-7.3.x/lib/development/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
           [java] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
           [java] SLF4J: Actual binding is of type [com.liferay.util.slf4j.LiferayLoggerFactory]
           [java] java.lang.Exception: Found 8 formatting issues:
           [java] 1: UNKNOWN: Finders: ./modules/apps/archived/document-library-file-rank-service/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 2: UNKNOWN: Finders: ./modules/apps/commerce/commerce-account-service/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 3: Incorrect order 'SiteFriendlyURL': Category 'Audit fields' should come after 'Group instance': ./modules/apps/site/site-service/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 4: UNKNOWN: Finders: ./modules/dxp/apps/commerce/commerce-application-service/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 5: UNKNOWN: Finders: ./modules/dxp/apps/commerce/commerce-bom-service/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 6: UNKNOWN: Finder: ./modules/dxp/apps/commerce/commerce-machine-learning-forecast-alert-service/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 7: UNKNOWN: Finders: ./portal-impl/src/com/liferay/portlet/documentlibrary/service.xml (SourceCheck:XMLServiceFileCheck)
           [java] 8: ./modules/apps/asset/asset-info-impl/src/main/java/com/liferay/asset/info/internal/item/provider/AssetEntryInfoItemFieldSetProviderImpl.java expected:<...		assetVocabulary ->[
           [java] 						!(assetVocabulary.getVisibilityType() ==
           [java] 							AssetVocabularyConstants.VISIBILITY_TYPE_INTERNAL));
           [java] 			}
           [java] 
           [java] 			List<AssetVocabulary> groupsAssetVocabularies =
           [java] 				_assetVocabularyLocalService.getGroupsVocabularies(
           [java] 					_portal.getCurrentAndAncestorSiteGroupIds(scopeGroupId),
           [java] 					itemClassName);
           [java] 
           [java] 			return ListUtil.filter(
           [java] 				groupsAssetVocabularies,
           [java] 				assetVocabulary ->
           [java] 					!(assetVocabulary.getVisibilityType() ==
           [java] 	]					AssetVocabulary...> but was:<...		assetVocabulary ->[ !(assetVocabulary.getVisibilityType() ==
           [java] 						AssetVocabularyConstants.VISIBILITY_TYPE_INTERNAL));
           [java] 			}
           [java] 
           [java] 			List<AssetVocabulary> groupsAssetVocabularies =
           [java] 				_assetVocabularyLocalService.getGroupsVocabularies(
           [java] 					_portal.getCurrentAndAncestorSiteGroupIds(scopeGroupId),
           [java] 					itemClassName);
           [java] 
           [java] 			return ListUtil.filter(
           [java] 				groupsAssetVocabularies,
           [java] 				assetVocabulary -> !(assetVocabulary.getVisibilityType() ==
           [java] ]					AssetVocabulary...>
           [java] 
           [java] 	at com.liferay.source.formatter.SourceFormatter.format(SourceFormatter.java:458)
           [java] 	at com.liferay.source.formatter.SourceFormatter.main(SourceFormatter.java:287)
      [stopwatch] [run.batch.test.action: 9:25.875 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.3.x/portal-impl/build.xml:562: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.3.x/portal-impl/build.xml:706: Java returned: 1
            [get] Getting: http://test-1-30/job/test-portal-acceptance-upstream-dxp-batch(7.3.x)/AXIS_VARIABLE=0/150//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal-7.3.x/20210916140055476.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.3.x/20210916140055476.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.3.x/null592370983.properties
      

       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            harry.chai Harry Chai
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              11 weeks, 5 days ago

                Packages

                Version Package