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

In workspace environment, SetUpTestableTomcat will fail if initBundle has not been called

    Details

      Description

      If you have not created the correct tomcat bundle layout (like a workspace directory where initBundle has not been called), when you call `setUpTestableTomcat` it will fail like the following:

      Caused by: java.lang.NullPointerException
              at com.liferay.gradle.plugins.test.integration.tasks.SetUpTestableTomcatTask._setUpFilePermissions(SetUpTestableTomcatTask.java:286)
              at com.liferay.gradle.plugins.test.integration.tasks.SetUpTestableTomcatTask.setUpTestableTomcat(SetUpTestableTomcatTask.java:218)
              at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)

      This leaves the developer with serious head-scratch as to why this would ever be null and what to do next.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              christopher.boyd Christopher Boyd (Inactive)
              Reporter:
              gregory.amerson Gregory Amerson
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year ago

                  Packages

                  Version Package
                  7.3.1 CE GA2
                  7.3.10 DXP GA1
                  Master