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

PluginsSummaryBuilder cannot build a changelog with GIT SHAs

    Details

      Description

      The PluginsSummaryBuilder fails with the following error code when two GIT SHAs are used for commit range:
      If a range of SHA1^..HEAD= the changelog will build successfully.

      $ ant build-summary
      Buildfile: /Users/jeffreyyang/projects/liferay-plugins-ee/build.xml
      
      build-summary:
           [java] Loading jar:file:/Users/jeffreyyang/projects/bundles/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
           [java] Loading jar:file:/Users/jeffreyyang/projects/bundles/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
           [java] Loading jar:file:/Users/jeffreyyang/projects/bundles/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/com/liferay/portal/tools/dependencies/portal-tools.properties
           [java] java.lang.NullPointerException
           [java] 	at java.lang.String.contains(String.java:2076)
           [java] 	at com.liferay.portal.tools.PluginsSummaryBuilder._updateRelengChangeLogFile(PluginsSummaryBuilder.java:438)
           [java] 	at com.liferay.portal.tools.PluginsSummaryBuilder._readReleng(PluginsSummaryBuilder.java:391)
           [java] 	at com.liferay.portal.tools.PluginsSummaryBuilder._createPluginSummary(PluginsSummaryBuilder.java:167)
           [java] 	at com.liferay.portal.tools.PluginsSummaryBuilder._createPluginsSummary(PluginsSummaryBuilder.java:97)
           [java] 	at com.liferay.portal.tools.PluginsSummaryBuilder._createPluginsSummary(PluginsSummaryBuilder.java:85)
           [java] 	at com.liferay.portal.tools.PluginsSummaryBuilder.<init>(PluginsSummaryBuilder.java:61)
           [java] 	at com.liferay.portal.tools.PluginsSummaryBuilder.main(PluginsSummaryBuilder.java:50)
      
      BUILD SUCCESSFUL
      

        Attachments

          Activity

            People

            • Assignee:
              jeffrey.yang Jeffrey Yang (Inactive)
              Reporter:
              jeffrey.yang Jeffrey Yang (Inactive)
              Participants of an Issue:
              Recent user:
              Michael Saechang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 26 weeks, 4 days ago

                Packages

                Version Package
                7.0.1 CE GA2