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

Service Builder failure in GroupServiceHttp.java

    Details

      Description

      https://testray.liferay.com/home/-/testray/case_results/888841987

      [echo] +++ b/portal-impl/src/com/liferay/portal/service/http/GroupServiceHttp.java
           [echo] @@ -1175,17 +1175,22 @@ public class GroupServiceHttp {
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] -	public static int searchCount(
           [echo] -		HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
           [echo] -		String keywords, java.util.LinkedHashMap<String, Object> params) {
           [echo] +	public static java.util.List<com.liferay.portal.kernel.model.Group> search(
           [echo] +			HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
           [echo] +			String name, String description,
           [echo] +			java.util.LinkedHashMap<String, Object> params, boolean andOperator,
           [echo] +			int start, int end,
           [echo] +			com.liferay.portal.kernel.util.OrderByComparator
           [echo] +				<com.liferay.portal.kernel.model.Group> obc)
           [echo] +		throws com.liferay.portal.kernel.exception.PortalException {
           [echo]  
           [echo]  		try {
           [echo]  			MethodKey methodKey = new MethodKey(
           [echo] -				GroupServiceUtil.class, "searchCount",
           [echo] -				_searchCountParameterTypes29);
           [echo] +				GroupServiceUtil.class, "search", _searchParameterTypes29);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(
           [echo] -				methodKey, companyId, classNameIds, keywords, params);
           [echo] +				methodKey, companyId, classNameIds, name, description, params,
           [echo] +				andOperator, start, end, obc);
           [echo]  
           [echo]  			Object returnObj = null;
           [echo]  
           [echo] @@ -1193,11 +1198,19 @@ public class GroupServiceHttp {
           [echo]  				returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
           [echo]  			}
           [echo]  			catch (Exception e) {
           [echo] +				if (e instanceof
           [echo] +						com.liferay.portal.kernel.exception.PortalException) {
           [echo] +
           [echo] +					throw (com.liferay.portal.kernel.exception.PortalException)
           [echo] +						e;
           [echo] +				}
           [echo] +
           [echo]  				throw new com.liferay.portal.kernel.exception.SystemException(
           [echo]  					e);
           [echo]  			}
           [echo]  
           [echo] -			return ((Integer)returnObj).intValue();
           [echo] +			return (java.util.List<com.liferay.portal.kernel.model.Group>)
           [echo] +				returnObj;
           [echo]  		}
           [echo]  		catch (com.liferay.portal.kernel.exception.SystemException se) {
           [echo]  			_log.error(se, se);
           [echo] @@ -1207,12 +1220,8 @@ public class GroupServiceHttp {
           [echo]  	}
           [echo]  
           [echo]  	public static java.util.List<com.liferay.portal.kernel.model.Group> search(
           [echo] -			HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
           [echo] -			String name, String description,
           [echo] -			java.util.LinkedHashMap<String, Object> params, boolean andOperator,
           [echo] -			int start, int end,
           [echo] -			com.liferay.portal.kernel.util.OrderByComparator
           [echo] -				<com.liferay.portal.kernel.model.Group> obc)
           [echo] +			HttpPrincipal httpPrincipal, long companyId, String name,
           [echo] +			String description, String[] params, int start, int end)
           [echo]  		throws com.liferay.portal.kernel.exception.PortalException {
           [echo]  
           [echo]  		try {
           [echo] @@ -1220,8 +1229,7 @@ public class GroupServiceHttp {
           [echo]  				GroupServiceUtil.class, "search", _searchParameterTypes30);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(
           [echo] -				methodKey, companyId, classNameIds, name, description, params,
           [echo] -				andOperator, start, end, obc);
           [echo] +				methodKey, companyId, name, description, params, start, end);
           [echo]  
           [echo]  			Object returnObj = null;
           [echo]  
           [echo] @@ -1250,17 +1258,17 @@ public class GroupServiceHttp {
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] -	public static java.util.List<com.liferay.portal.kernel.model.Group> search(
           [echo] -			HttpPrincipal httpPrincipal, long companyId, String name,
           [echo] -			String description, String[] params, int start, int end)
           [echo] -		throws com.liferay.portal.kernel.exception.PortalException {
           [echo] +	public static int searchCount(
           [echo] +		HttpPrincipal httpPrincipal, long companyId, long[] classNameIds,
           [echo] +		String keywords, java.util.LinkedHashMap<String, Object> params) {
           [echo]  
           [echo]  		try {
           [echo]  			MethodKey methodKey = new MethodKey(
           [echo] -				GroupServiceUtil.class, "search", _searchParameterTypes31);
           [echo] +				GroupServiceUtil.class, "searchCount",
           [echo] +				_searchCountParameterTypes31);
           [echo]  
           [echo]  			MethodHandler methodHandler = new MethodHandler(
           [echo] -				methodKey, companyId, name, description, params, start, end);
           [echo] +				methodKey, companyId, classNameIds, keywords, params);
           [echo]  
           [echo]  			Object returnObj = null;
           [echo]  
           [echo] @@ -1268,19 +1276,11 @@ public class GroupServiceHttp {
           [echo]  				returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
           [echo]  			}
           [echo]  			catch (Exception e) {
           [echo] -				if (e instanceof
           [echo] -						com.liferay.portal.kernel.exception.PortalException) {
           [echo] -
           [echo] -					throw (com.liferay.portal.kernel.exception.PortalException)
           [echo] -						e;
           [echo] -				}
           [echo] -
           [echo]  				throw new com.liferay.portal.kernel.exception.SystemException(
           [echo]  					e);
           [echo]  			}
           [echo]  
           [echo] -			return (java.util.List<com.liferay.portal.kernel.model.Group>)
           [echo] -				returnObj;
           [echo] +			return ((Integer)returnObj).intValue();
           [echo]  		}
           [echo]  		catch (com.liferay.portal.kernel.exception.SystemException se) {
           [echo]  			_log.error(se, se);
           [echo] @@ -1624,18 +1624,18 @@ public class GroupServiceHttp {
           [echo]  		int.class, int.class,
           [echo]  		com.liferay.portal.kernel.util.OrderByComparator.class
           [echo]  	};
           [echo] -	private static final Class<?>[] _searchCountParameterTypes29 = new Class[] {
           [echo] -		long.class, long[].class, String.class, java.util.LinkedHashMap.class
           [echo] -	};
           [echo] -	private static final Class<?>[] _searchParameterTypes30 = new Class[] {
           [echo] +	private static final Class<?>[] _searchParameterTypes29 = new Class[] {
           [echo]  		long.class, long[].class, String.class, String.class,
           [echo]  		java.util.LinkedHashMap.class, boolean.class, int.class, int.class,
           [echo]  		com.liferay.portal.kernel.util.OrderByComparator.class
           [echo]  	};
           [echo] -	private static final Class<?>[] _searchParameterTypes31 = new Class[] {
           [echo] +	private static final Class<?>[] _searchParameterTypes30 = new Class[] {
           [echo]  		long.class, String.class, String.class, String[].class, int.class,
           [echo]  		int.class
           [echo]  	};
           [echo] +	private static final Class<?>[] _searchCountParameterTypes31 = new Class[] {
           [echo] +		long.class, long[].class, String.class, java.util.LinkedHashMap.class
           [echo] +	};
           [echo]  	private static final Class<?>[] _searchCountParameterTypes32 = new Class[] {
           [echo]  		long.class, String.class, String.class, String[].class
           [echo]  	};
      [stopwatch] [run.batch.test.action: 25:28.670 sec]
      

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            kristin.onias Kristin Onias
            Participants of an Issue:
            Recent user:
            Summer Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              42 weeks, 4 days ago

                Packages

                Version Package
                Master