java.lang.IllegalArgumentException: setContentLength(0) when already written 335

GitHub | janbartel | 6 months ago
  1. 0

    GitHub comment 171#234436466

    GitHub | 6 months ago | janbartel
    java.lang.IllegalArgumentException: setContentLength(0) when already written 335
  2. 0

    IllegalStateException for HEAD requests responded with 404

    GitHub | 1 month ago | sbordet
    java.lang.IllegalArgumentException: setContentLength(0) when already written 318
  3. 0

    SXSSF Transformer with JXLS 2

    Stack Overflow | 10 months ago | user581638
    java.lang.IllegalArgumentException: Attempting to write a row[0] in the range [0,0] that is already written to disk.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  6. 0
    samebug tip
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      setContentLength(0) when already written 335

      at org.eclipse.jetty.server.Response.setContentLength()
    2. Jetty
      Response.setContentLength
      1. org.eclipse.jetty.server.Response.setContentLength(Response.java:921)
      1 frame
    3. com.github.dandelion
      DandelionFilter.doFilter
      1. com.github.dandelion.core.web.handler.impl.AssetInjectionPostHandler.handle(AssetInjectionPostHandler.java:199)
      2. com.github.dandelion.core.web.handler.AbstractHandlerChain.doHandle(AbstractHandlerChain.java:68)
      3. com.github.dandelion.core.web.handler.AbstractHandlerChain.doHandle(AbstractHandlerChain.java:73)
      4. com.github.dandelion.core.web.DandelionFilter.doFilter(DandelionFilter.java:145)
      4 frames
    4. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1547)
      1 frame
    5. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    6. Jetty
      QueuedThreadPool$2.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1547)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1589)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1213)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:486)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1552)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1126)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:118)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
      14. org.eclipse.jetty.server.Server.handle(Server.java:550)
      15. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:321)
      16. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:254)
      17. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:269)
      18. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:97)
      19. org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
      20. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
      21. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
      21 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame