Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21793

Read-Only stack trace in the logs with Jetty 12

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.10.5
    • 15.10
    • Old Core
    • Unknown
    • N/A
    • N/A

    Description

      2024-01-11 17:44:25,524 [qtp1151593579-24 - http://localhost:8080/xwiki/bin/view/Main/] ERROR .o.i.DefaultObservationManager - Failed to send event [class org.xwiki.bridge.event.ActionExecutedEvent (view)] to listener [com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl@b038799] 
      java.lang.UnsupportedOperationException: Read Only
      	at org.eclipse.jetty.server.internal.ResponseHttpFields$2.set(ResponseHttpFields.java:227)
      	at org.eclipse.jetty.server.internal.ResponseHttpFields$2.set(ResponseHttpFields.java:169)
      	at org.eclipse.jetty.http.HttpFields$Mutable.put(HttpFields.java:1130)
      	at org.eclipse.jetty.ee8.nested.Response.addCookie(Response.java:255)
      	at org.eclipse.jetty.ee8.nested.Response.addCookie(Response.java:284)
      	at com.xpn.xwiki.web.XWikiServletResponse.addCookie(XWikiServletResponse.java:167)
      	at com.xpn.xwiki.stats.impl.StatsUtil.addCookie(StatsUtil.java:671)
      	at com.xpn.xwiki.stats.impl.StatsUtil.findCookie(StatsUtil.java:694)
      	at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.onEvent(XWikiStatsServiceImpl.java:153)
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:338)
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:303)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:747)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:339)
      	at com.xpn.xwiki.web.LegacyActionServlet.service(LegacyActionServlet.java:108)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
      	at org.eclipse.jetty.ee8.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1151)
      	at org.eclipse.jetty.ee8.servlet.ServletHolder.handle(ServletHolder.java:640)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1374)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:122)
      	at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
      	at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:61)
      	at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
      	at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132)
      	at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      	at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      	at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:177)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
      	at org.eclipse.jetty.ee8.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:175)
      	at org.eclipse.jetty.ee8.servlet.FilterHolder.doFilter(FilterHolder.java:171)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1348)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler.doHandle(ServletHandler.java:454)
      	at org.eclipse.jetty.ee8.nested.ScopedHandler.handle(ScopedHandler.java:119)
      	at org.eclipse.jetty.ee8.security.SecurityHandler.handle(SecurityHandler.java:499)
      	at org.eclipse.jetty.ee8.nested.HandlerWrapper.handle(HandlerWrapper.java:108)
      	at org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:183)
      	at org.eclipse.jetty.ee8.nested.SessionHandler.doHandle(SessionHandler.java:404)
      	at org.eclipse.jetty.ee8.nested.ScopedHandler.nextHandle(ScopedHandler.java:181)
      	at org.eclipse.jetty.ee8.nested.ContextHandler.doHandle(ContextHandler.java:858)
      	at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:152)
      	at org.eclipse.jetty.ee8.servlet.ServletHandler.doScope(ServletHandler.java:423)
      	at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)
      	at org.eclipse.jetty.ee8.nested.SessionHandler.doScope(SessionHandler.java:399)
      	at org.eclipse.jetty.ee8.nested.ScopedHandler.nextScope(ScopedHandler.java:150)
      	at org.eclipse.jetty.ee8.nested.ContextHandler.doScope(ContextHandler.java:803)
      	at org.eclipse.jetty.ee8.nested.ScopedHandler.handle(ScopedHandler.java:117)
      	at org.eclipse.jetty.ee8.nested.ContextHandler.handle(ContextHandler.java:1401)
      	at org.eclipse.jetty.ee8.nested.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1293)
      	at org.eclipse.jetty.ee8.nested.HttpChannel.dispatch(HttpChannel.java:623)
      	at org.eclipse.jetty.ee8.nested.HttpChannel.handle(HttpChannel.java:455)
      	at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler$CoreToNestedHandler.handle(ContextHandler.java:2233)
      	at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:761)
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:181)
      	at org.eclipse.jetty.server.Server.handle(Server.java:179)
      	at org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:594)
      	at org.eclipse.jetty.server.internal.HttpConnection.onFillable(HttpConnection.java:424)
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:322)
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)
      	at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:971)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1201)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1156)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: