Details

      Description

      Testing latest sources from Liferay 6.1, breaks the application in our environments and causes this error in logs:

      08:47:25,300 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:432)
      	at com.liferay.portal.servlet.filters.strip.StripFilter.strip(StripFilter.java:603)
      	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:337)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:401)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
      	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:68)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:871)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:558)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:490)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
      	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:300)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
      	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:68)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
      	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
      	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
      	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:670)
      	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:601)
      	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:875)
      	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:365)
      	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:285)
      	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:221)
      	at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:387)
      	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:269)
      	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:111)
      

      Don't know why, it works at my home computer (Ubuntu Linux 10.04).

      This makes many javascript errors, causing the portal to be completely unusable

      Error reproduces when downloading tomcat bundled nightly builds too.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              juangon Juan G
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 18 weeks ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2