java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This appears to be regression of issue 11717, where attempting to calculate Etag for jsp's which include other tags throws following exception : SEVERE: Exception initializing page context java.lang.IllegalArgumentException: New capacity must not be smaller than current size at org.springframework.util.Assert.isTrue(Assert.java:68) at org.springframework.util.FastByteArrayOutputStream.resize(FastByteArrayOutputStream.java:265) at org.springframework.web.util.ContentCachingResponseWrapper.setBufferSize(ContentCachingResponseWrapper.java:143) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at org.apache.jasper.runtime.JspWriterImpl.<init>(JspWriterImpl.java:138) at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:174) at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:174) at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:123)
    via by Neeraj A Khadakkar,
  • This appears to be regression of issue 11717, where attempting to calculate Etag for jsp's which include other tags throws following exception : SEVERE: Exception initializing page context java.lang.IllegalArgumentException: New capacity must not be smaller than current size at org.springframework.util.Assert.isTrue(Assert.java:68) at org.springframework.util.FastByteArrayOutputStream.resize(FastByteArrayOutputStream.java:265) at org.springframework.web.util.ContentCachingResponseWrapper.setBufferSize(ContentCachingResponseWrapper.java:143) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at org.apache.jasper.runtime.JspWriterImpl.<init>(JspWriterImpl.java:138) at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:174) at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:174) at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:123)
    via by Neeraj A Khadakkar,
  • Issue of pagination in Spring Data JPA
    via Stack Overflow by Tom
    ,
  • spring open jpa db2 error
    via Stack Overflow by Fryder
    ,
  • SubProtocolWebSocketHandler - No handlers
    via by Unknown author,
    • java.lang.IllegalArgumentException: New capacity must not be smaller than current size at org.springframework.util.Assert.isTrue(Assert.java:68) at org.springframework.util.FastByteArrayOutputStream.resize(FastByteArrayOutputStream.java:265) at org.springframework.web.util.ContentCachingResponseWrapper.setBufferSize(ContentCachingResponseWrapper.java:143) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:189) at org.apache.jasper.runtime.JspWriterImpl.<init>(JspWriterImpl.java:138) at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:174) at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:174) at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:123)

    Users with the same issue

    Unknown visitor1 times, last one,
    SteVio1989
    6 times, last one,
    Matty
    1 times, last one,
    slash
    2 times, last one,
    Unknown visitor1 times, last one,
    48 more bugmates