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

StripFilter fails with IndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.0 CE RC1
    • Fix Version/s: 7.0.0 M3
    • Labels:
      None
    • Environment:
      Tomcat 7.0.21
      Liferay trunk revision 89764
      Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
    • Fix Priority:
      1

      Description

      Clean install of Liferay 6.1x results in the following errors upon start up:

      08:35:28,246 ERROR [StripFilter:59] java.lang.IndexOutOfBoundsException
      java.lang.IndexOutOfBoundsException
      	at java.nio.StringCharBuffer.subSequence(StringCharBuffer.java:92)
      	at com.liferay.portal.kernel.io.unsync.UnsyncPrintWriter.append(UnsyncPrintWriter.java:97)
      	at java.io.PrintWriter.append(PrintWriter.java:35)
      	at com.liferay.portal.servlet.filters.strip.StripFilter.processJavaScript(StripFilter.java:392)
      	at com.liferay.portal.servlet.filters.strip.StripFilter.strip(StripFilter.java:563)
      	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:335)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      

      The web UI is not usable with the StripFilter enabled.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zachary.lee Zachary Lee (Inactive)
              Reporter:
              richard.gibson Richard Gibson (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 24 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 M3