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

service-builder-jdk8 batch fails on 7.0.x CI tester

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.X
    • Fix Version/s: 7.0.X
    • Component/s: Documents & Media
    • Labels:
      None

      Description

      This issue happened constantly on 7.0.x CI tester. It causes service-builder-jdk8 failure.

      The Detail message see here.

      The Error message:

      [echo]  public interface DLFileVersionPreviewPersistence
           [echo]  	extends BasePersistence<DLFileVersionPreview> {
           [echo]  
           [echo] -	/**
           [echo] +	/*
           [echo]  	 * NOTE FOR DEVELOPERS:
           [echo]  	 *
           [echo]  	 * Never modify or reference this interface directly. Always use {@link DLFileVersionPreviewUtil} to access the dl file version preview persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
           [echo] diff --git a/modules/apps/collaboration/document-library/document-library-api/src/main/java/com/liferay/document/library/service/persistence/DLFileVersionPreviewUtil.java b/modules/apps/collaboration/document-library/document-library-api/src/main/java/com/liferay/document/library/service/persistence/DLFileVersionPreviewUtil.java
           [echo] index 7b39b548cd86a..1a5fcaa1d8848 100644
           [echo] --- a/modules/apps/collaboration/document-library/document-library-api/src/main/java/com/liferay/document/library/service/persistence/DLFileVersionPreviewUtil.java
           [echo] +++ b/modules/apps/collaboration/document-library/document-library-api/src/main/java/com/liferay/document/library/service/persistence/DLFileVersionPreviewUtil.java
           [echo] @@ -42,7 +42,7 @@ import org.osgi.util.tracker.ServiceTracker;
           [echo]   */
           [echo]  public class DLFileVersionPreviewUtil {
           [echo]  
           [echo] -	/**
           [echo] +	/*
           [echo]  	 * NOTE FOR DEVELOPERS:
           [echo]  	 *
           [echo]  	 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
           [echo] diff --git a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewBaseImpl.java b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewBaseImpl.java
           [echo] index bf189052d4c14..8f934797bd7d0 100644
           [echo] --- a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewBaseImpl.java
           [echo] +++ b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewBaseImpl.java
           [echo] @@ -32,7 +32,7 @@ import com.liferay.document.library.service.DLFileVersionPreviewLocalServiceUtil
           [echo]  public abstract class DLFileVersionPreviewBaseImpl
           [echo]  	extends DLFileVersionPreviewModelImpl implements DLFileVersionPreview {
           [echo]  
           [echo] -	/**
           [echo] +	/*
           [echo]  	 * NOTE FOR DEVELOPERS:
           [echo]  	 *
           [echo]  	 * Never modify or reference this class directly. All methods that expect a dl file version preview model instance should use the <code>DLFileVersionPreview</code> interface instead.
           [echo] diff --git a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewModelImpl.java b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewModelImpl.java
           [echo] index a97d60a97088d..afc4b5562b176 100644
           [echo] --- a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewModelImpl.java
           [echo] +++ b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/model/impl/DLFileVersionPreviewModelImpl.java
           [echo] @@ -45,7 +45,7 @@ import java.util.function.Function;
           [echo]   * The base model implementation for the DLFileVersionPreview service. Represents a row in the &quot;DLFileVersionPreview&quot; database table, with each column mapped to a property of this class.
           [echo]   *
           [echo]   * <p>
           [echo] - * This implementation and its corresponding interface </code>DLFileVersionPreviewModel</code> exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link DLFileVersionPreviewImpl}.
           [echo] + * This implementation and its corresponding interface <code>DLFileVersionPreviewModel</code> exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link DLFileVersionPreviewImpl}.
           [echo]   * </p>
           [echo]   *
           [echo]   * @author Brian Wing Shun Chan
           [echo] @@ -56,7 +56,7 @@ public class DLFileVersionPreviewModelImpl
           [echo]  	extends BaseModelImpl<DLFileVersionPreview>
           [echo]  	implements DLFileVersionPreviewModel {
           [echo]  
           [echo] -	/**
           [echo] +	/*
           [echo]  	 * NOTE FOR DEVELOPERS:
           [echo]  	 *
           [echo]  	 * Never modify or reference this class directly. All methods that expect a dl file version preview model instance should use the <code>DLFileVersionPreview</code> interface instead.
           [echo] @@ -229,13 +229,15 @@ public class DLFileVersionPreviewModelImpl
           [echo]  				try {
           [echo]  					return constructor.newInstance(invocationHandler);
           [echo]  				}
           [echo] -				catch (ReflectiveOperationException roe) {
           [echo] -					throw new InternalError(roe);
           [echo] +				catch (ReflectiveOperationException
           [echo] +							reflectiveOperationException) {
           [echo] +
           [echo] +					throw new InternalError(reflectiveOperationException);
           [echo]  				}
           [echo]  			};
           [echo]  		}
           [echo] -		catch (NoSuchMethodException nsme) {
           [echo] -			throw new InternalError(nsme);
           [echo] +		catch (NoSuchMethodException noSuchMethodException) {
           [echo] +			throw new InternalError(noSuchMethodException);
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] diff --git a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/base/DLFileVersionPreviewLocalServiceBaseImpl.java b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/base/DLFileVersionPreviewLocalServiceBaseImpl.java
           [echo] index 4db98cf349a86..96606d5fdb826 100644
           [echo] --- a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/base/DLFileVersionPreviewLocalServiceBaseImpl.java
           [echo] +++ b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/base/DLFileVersionPreviewLocalServiceBaseImpl.java
           [echo] @@ -62,7 +62,7 @@ public abstract class DLFileVersionPreviewLocalServiceBaseImpl
           [echo]  	extends BaseLocalServiceImpl
           [echo]  	implements DLFileVersionPreviewLocalService, IdentifiableOSGiService {
           [echo]  
           [echo] -	/**
           [echo] +	/*
           [echo]  	 * NOTE FOR DEVELOPERS:
           [echo]  	 *
           [echo]  	 * Never modify or reference this class directly. Use <code>DLFileVersionPreviewLocalService</code> via injection or a <code>org.osgi.util.tracker.ServiceTracker</code> or use <code>com.liferay.document.library.service.DLFileVersionPreviewLocalServiceUtil</code>.
           [echo] @@ -299,6 +299,9 @@ public abstract class DLFileVersionPreviewLocalServiceBaseImpl
           [echo]  			(DLFileVersionPreview)persistedModel);
           [echo]  	}
           [echo]  
           [echo] +	/**
           [echo] +	 * @throws PortalException
           [echo] +	 */
           [echo]  	@Override
           [echo]  	public PersistedModel getPersistedModel(Serializable primaryKeyObj)
           [echo]  		throws PortalException {
           [echo] @@ -465,8 +468,8 @@ public abstract class DLFileVersionPreviewLocalServiceBaseImpl
           [echo]  
           [echo]  			sqlUpdate.update();
           [echo]  		}
           [echo] -		catch (Exception e) {
           [echo] -			throw new SystemException(e);
           [echo] +		catch (Exception exception) {
           [echo] +			throw new SystemException(exception);
           [echo]  		}
           [echo]  	}
           [echo]  
           [echo] diff --git a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/persistence/impl/DLFileVersionPreviewPersistenceImpl.java b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/persistence/impl/DLFileVersionPreviewPersistenceImpl.java
           [echo] index 9a33134142f6d..8359c07860661 100644
           [echo] --- a/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/persistence/impl/DLFileVersionPreviewPersistenceImpl.java
           [echo] +++ b/modules/apps/collaboration/document-library/document-library-service/src/main/java/com/liferay/document/library/service/persistence/impl/DLFileVersionPreviewPersistenceImpl.java
           [echo] @@ -60,7 +60,7 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  	extends BasePersistenceImpl<DLFileVersionPreview>
           [echo]  	implements DLFileVersionPreviewPersistence {
           [echo]  
           [echo] -	/**
           [echo] +	/*
           [echo]  	 * NOTE FOR DEVELOPERS:
           [echo]  	 *
           [echo]  	 * Never modify or reference this class directly. Always use <code>DLFileVersionPreviewUtil</code> to access the dl file version preview persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
           [echo] @@ -234,12 +234,12 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  					finderCache.putResult(finderPath, finderArgs, list);
           [echo]  				}
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				if (useFinderCache) {
           [echo]  					finderCache.removeResult(finderPath, finderArgs);
           [echo]  				}
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -402,8 +402,8 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  
           [echo]  			return array;
           [echo]  		}
           [echo] -		catch (Exception e) {
           [echo] -			throw processException(e);
           [echo] +		catch (Exception exception) {
           [echo] +			throw processException(exception);
           [echo]  		}
           [echo]  		finally {
           [echo]  			closeSession(session);
           [echo] @@ -574,10 +574,10 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  
           [echo]  				finderCache.putResult(finderPath, finderArgs, count);
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				finderCache.removeResult(finderPath, finderArgs);
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -749,12 +749,12 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  					finderCache.putResult(finderPath, finderArgs, list);
           [echo]  				}
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				if (useFinderCache) {
           [echo]  					finderCache.removeResult(finderPath, finderArgs);
           [echo]  				}
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -917,8 +917,8 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  
           [echo]  			return array;
           [echo]  		}
           [echo] -		catch (Exception e) {
           [echo] -			throw processException(e);
           [echo] +		catch (Exception exception) {
           [echo] +			throw processException(exception);
           [echo]  		}
           [echo]  		finally {
           [echo]  			closeSession(session);
           [echo] @@ -1090,10 +1090,10 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  
           [echo]  				finderCache.putResult(finderPath, finderArgs, count);
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				finderCache.removeResult(finderPath, finderArgs);
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -1237,12 +1237,12 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  					cacheResult(dlFileVersionPreview);
           [echo]  				}
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				if (useFinderCache) {
           [echo]  					finderCache.removeResult(_finderPathFetchByF_F, finderArgs);
           [echo]  				}
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -1318,10 +1318,10 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  
           [echo]  				finderCache.putResult(finderPath, finderArgs, count);
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				finderCache.removeResult(finderPath, finderArgs);
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -1483,13 +1483,13 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  					cacheResult(dlFileVersionPreview);
           [echo]  				}
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				if (useFinderCache) {
           [echo]  					finderCache.removeResult(
           [echo]  						_finderPathFetchByF_F_P, finderArgs);
           [echo]  				}
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -1575,10 +1575,10 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  
           [echo]  				finderCache.putResult(finderPath, finderArgs, count);
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				finderCache.removeResult(finderPath, finderArgs);
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -1862,11 +1862,11 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  
           [echo]  			return remove(dlFileVersionPreview);
           [echo]  		}
           [echo] -		catch (NoSuchFileVersionPreviewException nsee) {
           [echo] -			throw nsee;
           [echo] +		catch (NoSuchFileVersionPreviewException noSuchEntityException) {
           [echo] +			throw noSuchEntityException;
           [echo]  		}
           [echo] -		catch (Exception e) {
           [echo] -			throw processException(e);
           [echo] +		catch (Exception exception) {
           [echo] +			throw processException(exception);
           [echo]  		}
           [echo]  		finally {
           [echo]  			closeSession(session);
           [echo] @@ -1892,8 +1892,8 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  				session.delete(dlFileVersionPreview);
           [echo]  			}
           [echo]  		}
           [echo] -		catch (Exception e) {
           [echo] -			throw processException(e);
           [echo] +		catch (Exception exception) {
           [echo] +			throw processException(exception);
           [echo]  		}
           [echo]  		finally {
           [echo]  			closeSession(session);
           [echo] @@ -1947,8 +1947,8 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  					dlFileVersionPreview);
           [echo]  			}
           [echo]  		}
           [echo] -		catch (Exception e) {
           [echo] -			throw processException(e);
           [echo] +		catch (Exception exception) {
           [echo] +			throw processException(exception);
           [echo]  		}
           [echo]  		finally {
           [echo]  			closeSession(session);
           [echo] @@ -2114,12 +2114,12 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  						DLFileVersionPreviewImpl.class, primaryKey, nullModel);
           [echo]  				}
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				entityCache.removeResult(
           [echo]  					DLFileVersionPreviewModelImpl.ENTITY_CACHE_ENABLED,
           [echo]  					DLFileVersionPreviewImpl.class, primaryKey);
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -2234,8 +2234,8 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  					DLFileVersionPreviewImpl.class, primaryKey, nullModel);
           [echo]  			}
           [echo]  		}
           [echo] -		catch (Exception e) {
           [echo] -			throw processException(e);
           [echo] +		catch (Exception exception) {
           [echo] +			throw processException(exception);
           [echo]  		}
           [echo]  		finally {
           [echo]  			closeSession(session);
           [echo] @@ -2369,12 +2369,12 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  					finderCache.putResult(finderPath, finderArgs, list);
           [echo]  				}
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				if (useFinderCache) {
           [echo]  					finderCache.removeResult(finderPath, finderArgs);
           [echo]  				}
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
           [echo] @@ -2418,11 +2418,11 @@ public class DLFileVersionPreviewPersistenceImpl
           [echo]  				finderCache.putResult(
           [echo]  					_finderPathCountAll, FINDER_ARGS_EMPTY, count);
           [echo]  			}
           [echo] -			catch (Exception e) {
           [echo] +			catch (Exception exception) {
           [echo]  				finderCache.removeResult(
           [echo]  					_finderPathCountAll, FINDER_ARGS_EMPTY);
           [echo]  
           [echo] -				throw processException(e);
           [echo] +				throw processException(exception);
           [echo]  			}
           [echo]  			finally {
           [echo]  				closeSession(session);
      [stopwatch] [run.batch.test.action: 18:32.505 sec]
           [echo] .
           [echo] 
           [echo] Detected build services changes. See above build services log for more
           [echo] information. Make sure to commit in all build services results.
            [get] Getting: http://test-1-10/job/test-portal-acceptance-pullrequest-batch(7.0.x)/AXIS_VARIABLE=0,label_exp=!master/26106//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal-7.0.x/20200223225642664.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.0.x/20200223225642664.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal-7.0.x/null1381365511.properties
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                melody.wu Melody Wu
                Reporter:
                melody.wu Melody Wu
                Participants of an Issue:
                Recent user:
                Melody Wu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.X