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

DisplayPageFriendlyURLResolverTest failed due to StringIndexOutOfBoundsException

    Description

    Issue:

         [exec] com.liferay.asset.publisher.portlet.test.DisplayPageFriendlyURLResolverTest > testJournalArticleFriendlyURLWithNonexistentArticle STARTED
         [exec] 
         [exec] com.liferay.asset.publisher.portlet.test.DisplayPageFriendlyURLResolverTest > testJournalArticleFriendlyURLWithNonexistentArticle FAILED
         [exec]     java.lang.AssertionError: java.lang.StringIndexOutOfBoundsException: begin 3, end 2, length 35
         [exec]     	at org.junit.Assert.fail(Assert.java:88)
         [exec]     	at org.junit.Assert.assertTrue(Assert.java:41)
         [exec]     	at com.liferay.asset.publisher.portlet.test.DisplayPageFriendlyURLResolverTest._assertCause(DisplayPageFriendlyURLResolverTest.java:205)
         [exec]     	at com.liferay.asset.publisher.portlet.test.DisplayPageFriendlyURLResolverTest.testJournalArticleFriendlyURLWithNonexistentArticle(DisplayPageFriendlyURLResolverTest.java:177)
         [exec]     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]     	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [exec]     	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]     	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
         [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
         [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
         [exec]     	at java.base/java.lang.Thread.run(Thread.java:834)
         [exec] 
    

    Full console log: https://testray.liferay.com/reports/production/logs/test-1-18/1568391236060/test-portal-testsuite-upstream(7.2.x-private)/8/modules-integration-postgresql10-jdk11_open/2/jenkins-console.txt.gz

      Attachments

        Issue Links

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 weeks ago

                Packages

                Version Package
                7.2.X
                Master