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

ant setup-profile-dxp can fail due to EvaluatorException

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.X, 7.2.X
    • Fix Version/s: 7.1.X, 7.2.X, Master
    • Component/s: Dev Tools
    • Labels:
      None

      Description

      Reproduction Steps
      1. On Windows, use ant setup-profile-dxp.

      Expected Result: No exceptions.

      Actual Result: The following exception occurs:

      C:\dev\repos\liferay-portal-ee\build-working-dir.xml:401: The following error occurred while executing this line:
      C:\dev\repos\liferay-portal-ee\build-working-dir.xml:58: org.mozilla.javascript.EvaluatorException: The choice of Java method java.lang.String.replace matching JavaScript argument types (function,string) is ambiguous; candidate methods are:
          class java.lang.String replace(char,char)
          class java.lang.String replace(java.lang.CharSequence,java.lang.CharSequence)
              at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77)
      
      

      I've replicated this issue using Windows, but not on Linux.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            lianne.louie Lianne Louie
            Participants of an Issue:
            Recent user:
            Lianne Louie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              19 weeks, 6 days ago

                Packages

                Version Package
                7.1.X
                7.2.X
                Master