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

Stackoverflow for SQL query with many parameters

    Details

    • Quality Gate:
      Customer

      Description

      1. Execute the following Groovy script
        import com.liferay.journal.service.JournalArticleLocalServiceUtil;
        
        def ddmStructureKeys = 1..6000 as String[];
        
        JournalArticleLocalServiceUtil.getStructureArticles(ddmStructureKeys);
        

        Expected: The script runs succesfully.
        Observed: A stackoverflow is thrown in the logs.
        Note: The stackoverflow stack trace will be truncated. To show it completely the JVM must have the option -XX:MaxJavaStackTraceDepth=100000.
        See attached full log.

        Attachments

          Activity

            People

            Assignee:
            brian.lee Brian Lee
            Reporter:
            ricardo.couso Ricardo Couso
            Participants of an Issue:
            Recent user:
            Brian Lee
            Engineering Assignee:
            Ricardo Couso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.3.X
                7.4.13 DXP GA1
                Master