Update Servlet to 4.7.0 #2457
Annotations
61 errors and 2 warnings
JettyFileTypeHandlerSpec.test returning a file from a controller:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L52
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@511e8b35 headers=io.micronaut.http.netty.NettyHttpHeaders@6014b386 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@775c8e2b attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:26 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:26 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:26 GMT
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@20851e5b body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5de6d178>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test returning a file from a controller(JettyFileTypeHandlerSpec.groovy:52)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test when a system file is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L104
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@7ffcd8df headers=io.micronaut.http.netty.NettyHttpHeaders@64004f10 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@43aad2e3 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:28 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:26 GMT
| | Content-Disposition: attachment; filename="fileTypeHandlerSpec8885289247231681852.html"; filename*=utf-8''fileTypeHandlerSpec8885289247231681852.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@20851e5b body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5de6d178>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test when a system file is returned(JettyFileTypeHandlerSpec.groovy:104)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test when an attached streamed file is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L119
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@71c3956e headers=io.micronaut.http.netty.NettyHttpHeaders@5cbe7bb8 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@702d5e75 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:28 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Disposition: attachment; filename="fileTypeHandlerSpec.html"; filename*=utf-8''fileTypeHandlerSpec.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@20851e5b body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5de6d178>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test when an attached streamed file is returned(JettyFileTypeHandlerSpec.groovy:119)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test when a system file is returned with a name:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L133
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@17020207 headers=io.micronaut.http.netty.NettyHttpHeaders@2321c420 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@566576ad attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:28 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:26 GMT
| | Content-Disposition: attachment; filename="abc.xyz"; filename*=utf-8''abc.xyz
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@20851e5b body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5de6d178>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test when a system file is returned with a name(JettyFileTypeHandlerSpec.groovy:133)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test the content type is honored when a system file response is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L148
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@3d530201 headers=io.micronaut.http.netty.NettyHttpHeaders@668a1fa5 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@13c33a12 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Type: text/plain
| | Expires: Tue, 5 Nov 2024 11:51:28 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:26 GMT
| | Content-Disposition: attachment; filename="temp.html"; filename*=utf-8''temp.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@20851e5b body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5de6d178>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test the content type is honored when a system file response is returned(JettyFileTypeHandlerSpec.groovy:148)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test the content type is honored when a streamed file response is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L163
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@3c90ed37 headers=io.micronaut.http.netty.NettyHttpHeaders@6b92b8c9 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@2b8cd1d4 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Type: text/plain
| | Expires: Tue, 5 Nov 2024 11:51:28 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Disposition: attachment; filename="temp.html"; filename*=utf-8''temp.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@20851e5b body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5de6d178>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test the content type is honored when a streamed file response is returned(JettyFileTypeHandlerSpec.groovy:163)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test using a piped stream:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L176
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@5f4c831f headers=io.micronaut.http.netty.NettyHttpHeaders@5741b80a nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@71942a4f attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:28 GMT
| | Content-Type: text/plain
| | Expires: Tue, 5 Nov 2024 11:51:28 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:28 GMT
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 26, cap: 26)) convertedBodies=[String:Optional[abcdefghijklmnopqrstuvwxyz]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@20851e5b body=abcdefghijklmnopqrstuvwxyz conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5de6d178>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test using a piped stream(JettyFileTypeHandlerSpec.groovy:176)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources from the file system are returned:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L75
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@5f6da867 headers=io.micronaut.http.netty.NettyHttpHeaders@53a95744 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@45f9f520 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:20 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:20 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:20 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 65, cap: 65)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from static file</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@73d4aa54 body=<html><head></head><body>HTML Page from static file</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@10efe4ca>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources from the file system are returned(UndertowStaticResourceResolutionSpec.groovy:75)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources from the classpath are returned:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L93
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@7f487086 headers=io.micronaut.http.netty.NettyHttpHeaders@4ced03c7 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@27e93770 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:21 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:48:50 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:21 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@73d4aa54 body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@10efe4ca>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources from the classpath are returned(UndertowStaticResourceResolutionSpec.groovy:93)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test index.html will be resolved:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L112
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@7ed47d66 headers=io.micronaut.http.netty.NettyHttpHeaders@8a5ecad nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@46721812 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:21 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:48:50 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:21 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@73d4aa54 body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@10efe4ca>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test index.html will be resolved(UndertowStaticResourceResolutionSpec.groovy:112)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with configured mapping:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L137
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@48012514 headers=io.micronaut.http.netty.NettyHttpHeaders@582a24c3 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@472ab5a1 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:22 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:48:50 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:22 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@23096e4d body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@50e1c39c>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with configured mapping(UndertowStaticResourceResolutionSpec.groovy:137)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with multiple configured mappings and one is disabled:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L170
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@1248ac5d headers=io.micronaut.http.netty.NettyHttpHeaders@2b15d066 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@3df17e4b attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:22 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:48:50 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:22 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@344ae64b body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@2fe172fe>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with multiple configured mappings and one is disabled(UndertowStaticResourceResolutionSpec.groovy:170)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L204
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@2edd66c9 headers=io.micronaut.http.netty.NettyHttpHeaders@315139e2 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@50b1aea attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:22 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:48:50 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:22 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@4710332d body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@6814fe0e>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html(UndertowStaticResourceResolutionSpec.groovy:204)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html in path:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L231
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@56967355 headers=io.micronaut.http.netty.NettyHttpHeaders@5c04d23e nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@32c2f3ee attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:23 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:48:50 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:23 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 67, cap: 67)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources/foo</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@187f6ac7 body=<html><head></head><body>HTML Page from resources/foo</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@3f851ccf>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html in path(UndertowStaticResourceResolutionSpec.groovy:231)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with mapping names that are prefixes of one another can resolve index.html and a resource:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L274
Condition failed with Exception:
Integer.parseInt(header(CONTENT_LENGTH)) > 0
| | | |
| | null Content-Length
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with mapping names that are prefixes of one another can resolve index.html and a resource_closure1(UndertowStaticResourceResolutionSpec.groovy:277)
| at groovy.lang.Closure.call(Closure.java:433)
| at spock.lang.Specification.with(Specification.java:191)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with mapping names that are prefixes of one another can resolve index.html and a resource(UndertowStaticResourceResolutionSpec.groovy:274)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.multiple index.html files causes issues with the static resource handling:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L311
Condition failed with Exception:
Integer.parseInt(header(CONTENT_LENGTH)) > 0
| | | |
| | null Content-Length
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:624)
| at java.base/java.lang.Integer.parseInt(Integer.java:778)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.multiple index.html files causes issues with the static resource handling_closure3(UndertowStaticResourceResolutionSpec.groovy:314)
| at groovy.lang.Closure.call(Closure.java:433)
| at spock.lang.Specification.with(Specification.java:191)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.multiple index.html files causes issues with the static resource handling(UndertowStaticResourceResolutionSpec.groovy:311)
class java.lang.Integer
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
|
BodyTest.testObjectBody():
BodyTest#L197
org.opentest4j.AssertionFailedError: Expected received body of 'obj: [B@7602108f' to contain 'obj: {fizz=buzz}' ==> expected: <true> but was: <false>
|
CorsSimpleRequestTest.corsSimpleRequestForLocalhostCanBeAllowedViaRegexConfiguration():
CorsSimpleRequestTest#L211
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
CorsSimpleRequestTest.corsSimpleRequestAllowedFor127RequestAndLocalhostOrigin():
CorsSimpleRequestTest#L179
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
CorsSimpleRequestTest.corsSimpleRequestAllowedForLocalhostAndOriginLocalhost():
CorsSimpleRequestTest#L134
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
CorsSimpleRequestTest.corsSimpleRequestFailsForLocalhostAndSpoofed127Origin():
CorsSimpleRequestTest#L164
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.micronaut.http.client.exceptions.HttpClientResponseException> but was: <io.micronaut.http.client.exceptions.HttpClientException>
|
CorsSimpleRequestTest.corsSimpleRequestForLocalhostCanBeAllowedViaConfigurationWithRegexToo():
CorsSimpleRequestTest#L251
org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (2 failures)
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
CorsSimpleRequestTest.corsSimpleRequestAllowedForLocalhostAndAnyWhenSpecificallyTurnedOff():
CorsSimpleRequestTest#L94
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
FormUrlEncodedBodyInRequestFilterTest.bodyParsingInFilter():
FormUrlEncodedBodyInRequestFilterTest#L50
org.opentest4j.AssertionFailedError: expected: <UNAUTHORIZED> but was: <INTERNAL_SERVER_ERROR>
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientResponseException: Internal Server Error
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
|
build (21)
Process completed with exit code 1.
|
JettyFileTypeHandlerSpec.test returning a file from a controller:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L52
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@32b128cc headers=io.micronaut.http.netty.NettyHttpHeaders@9dffb0a nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@7fbcd3f0 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:39 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:39 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:39 GMT
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@2b6ce68a body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@7b2196d4>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test returning a file from a controller(JettyFileTypeHandlerSpec.groovy:52)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test when a system file is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L104
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@2b97a1fb headers=io.micronaut.http.netty.NettyHttpHeaders@14680d29 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@33e52ab attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:41 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:39 GMT
| | Content-Disposition: attachment; filename="fileTypeHandlerSpec6689168275104722010.html"; filename*=utf-8''fileTypeHandlerSpec6689168275104722010.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@2b6ce68a body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@7b2196d4>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test when a system file is returned(JettyFileTypeHandlerSpec.groovy:104)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test when an attached streamed file is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L119
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@12d89095 headers=io.micronaut.http.netty.NettyHttpHeaders@7f3f5a67 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@731a83bd attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:41 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Disposition: attachment; filename="fileTypeHandlerSpec.html"; filename*=utf-8''fileTypeHandlerSpec.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@2b6ce68a body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@7b2196d4>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test when an attached streamed file is returned(JettyFileTypeHandlerSpec.groovy:119)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test when a system file is returned with a name:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L133
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@70685cad headers=io.micronaut.http.netty.NettyHttpHeaders@3e828eb6 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@54d8774c attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Type: text/html
| | Expires: Tue, 5 Nov 2024 11:51:41 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:39 GMT
| | Content-Disposition: attachment; filename="abc.xyz"; filename*=utf-8''abc.xyz
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@2b6ce68a body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@7b2196d4>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test when a system file is returned with a name(JettyFileTypeHandlerSpec.groovy:133)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test the content type is honored when a system file response is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L148
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@4c864e5c headers=io.micronaut.http.netty.NettyHttpHeaders@407c974c nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@70f1ebff attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Type: text/plain
| | Expires: Tue, 5 Nov 2024 11:51:41 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:39 GMT
| | Content-Disposition: attachment; filename="temp.html"; filename*=utf-8''temp.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@2b6ce68a body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@7b2196d4>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test the content type is honored when a system file response is returned(JettyFileTypeHandlerSpec.groovy:148)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test the content type is honored when a streamed file response is returned:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L163
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@6cdabac8 headers=io.micronaut.http.netty.NettyHttpHeaders@3e65c397 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@406287f2 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Type: text/plain
| | Expires: Tue, 5 Nov 2024 11:51:41 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Disposition: attachment; filename="temp.html"; filename*=utf-8''temp.html
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 48, cap: 48)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@2b6ce68a body=<html><head></head><body>HTML Page</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@7b2196d4>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test the content type is honored when a streamed file response is returned(JettyFileTypeHandlerSpec.groovy:163)
class java.lang.Integer
|
JettyFileTypeHandlerSpec.test using a piped stream:
http-server-jetty/src/test/groovy/io/micronaut/servlet/jetty/JettyFileTypeHandlerSpec.groovy#L176
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@765d3e41 headers=io.micronaut.http.netty.NettyHttpHeaders@3982832f nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@60c4d706 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Date: Tue, 5 Nov 2024 11:50:41 GMT
| | Content-Type: text/plain
| | Expires: Tue, 5 Nov 2024 11:51:41 GMT
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:41 GMT
| | Transfer-Encoding: chunked
| | Server: Jetty(11.0.24) unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 26, cap: 26)) convertedBodies=[String:Optional[abcdefghijklmnopqrstuvwxyz]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@2b6ce68a body=abcdefghijklmnopqrstuvwxyz conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@7b2196d4>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.jetty.JettyFileTypeHandlerSpec.test using a piped stream(JettyFileTypeHandlerSpec.groovy:176)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources from the file system are returned:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L75
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@53a8059 headers=io.micronaut.http.netty.NettyHttpHeaders@630d7bce nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@277cf420 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:23 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:50:23 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:23 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 65, cap: 65)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from static file</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@6d1e558b body=<html><head></head><body>HTML Page from static file</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5401976b>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources from the file system are returned(UndertowStaticResourceResolutionSpec.groovy:75)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources from the classpath are returned:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L93
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@9b7701f headers=io.micronaut.http.netty.NettyHttpHeaders@27631923 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@3ce9c492 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:24 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:49:56 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:24 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@6d1e558b body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5401976b>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources from the classpath are returned(UndertowStaticResourceResolutionSpec.groovy:93)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test index.html will be resolved:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L112
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@3c199e06 headers=io.micronaut.http.netty.NettyHttpHeaders@4f3b5c60 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@23bc053c attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:24 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:49:56 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:24 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@6d1e558b body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5401976b>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test index.html will be resolved(UndertowStaticResourceResolutionSpec.groovy:112)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with configured mapping:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L137
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@6593f4fd headers=io.micronaut.http.netty.NettyHttpHeaders@37ee58cf nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@d6b8c43 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:25 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:49:56 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:25 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@78097df5 body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5194394>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with configured mapping(UndertowStaticResourceResolutionSpec.groovy:137)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with multiple configured mappings and one is disabled:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L170
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@60e9bda0 headers=io.micronaut.http.netty.NettyHttpHeaders@13a4e21 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@317e9159 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:25 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:49:56 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:25 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@4975af1 body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@59ede173>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with multiple configured mappings and one is disabled(UndertowStaticResourceResolutionSpec.groovy:170)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L204
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@2b833ee7 headers=io.micronaut.http.netty.NettyHttpHeaders@315ccea2 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@559b4958 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: UnpooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:26 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:49:56 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:26 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 63, cap: 63)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@6a9f41ff body=<html><head></head><body>HTML Page from resources</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@d6ee83b>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html(UndertowStaticResourceResolutionSpec.groovy:204)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html in path:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L231
Condition failed with Exception:
Integer.parseInt(response.header(CONTENT_LENGTH)) > 0
| | | | |
| | | null Content-Length
| | <io.micronaut.http.client.netty.FullNettyClientHttpResponse@6430f63e headers=io.micronaut.http.netty.NettyHttpHeaders@20163c43 nettyCookies=io.micronaut.http.netty.cookies.NettyCookies@599cc8a8 attributes={} nettyHttpResponse=DefaultFullHttpResponse(decodeResult: success, version: HTTP/1.1, content: PooledSlicedByteBuf(freed))
| | HTTP/1.1 200 OK
| | Expires: Tue, 5 Nov 2024 11:51:26 GMT
| | Connection: keep-alive
| | Cache-Control: private, max-age=60
| | Last-Modified: Tue, 5 Nov 2024 11:49:56 GMT
| | Transfer-Encoding: chunked
| | Content-Type: text/html
| | Date: Tue, 5 Nov 2024 11:50:26 GMT unpooledContent=UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 67, cap: 67)) convertedBodies=[String:Optional[<html><head></head><body>HTML Page from resources/foo</body></html>]] handlerRegistry=io.micronaut.http.body.DefaultMessageBodyHandlerRegistry@7f26f394 body=<html><head></head><body>HTML Page from resources/foo</body></html> conversionService=io.micronaut.context.DefaultApplicationContext$RuntimeConfiguredEnvironment@5b30b332>
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with configured mapping automatically resolves index.html in path(UndertowStaticResourceResolutionSpec.groovy:231)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.test resources with mapping names that are prefixes of one another can resolve index.html and a resource:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L274
Condition failed with Exception:
Integer.parseInt(header(CONTENT_LENGTH)) > 0
| | | |
| | null Content-Length
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with mapping names that are prefixes of one another can resolve index.html and a resource_closure1(UndertowStaticResourceResolutionSpec.groovy:277)
| at groovy.lang.Closure.call(Closure.java:433)
| at spock.lang.Specification.with(Specification.java:191)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.test resources with mapping names that are prefixes of one another can resolve index.html and a resource(UndertowStaticResourceResolutionSpec.groovy:274)
class java.lang.Integer
|
UndertowStaticResourceResolutionSpec.multiple index.html files causes issues with the static resource handling:
http-server-undertow/src/test/groovy/io/micronaut/servlet/undertow/UndertowStaticResourceResolutionSpec.groovy#L311
Condition failed with Exception:
Integer.parseInt(header(CONTENT_LENGTH)) > 0
| | | |
| | null Content-Length
| java.lang.NumberFormatException: Cannot parse null string
| at java.base/java.lang.Integer.parseInt(Integer.java:630)
| at java.base/java.lang.Integer.parseInt(Integer.java:786)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.multiple index.html files causes issues with the static resource handling_closure3(UndertowStaticResourceResolutionSpec.groovy:314)
| at groovy.lang.Closure.call(Closure.java:433)
| at spock.lang.Specification.with(Specification.java:191)
| at io.micronaut.servlet.undertow.UndertowStaticResourceResolutionSpec.multiple index.html files causes issues with the static resource handling(UndertowStaticResourceResolutionSpec.groovy:311)
class java.lang.Integer
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
|
BodyTest.testObjectBody():
BodyTest#L197
org.opentest4j.AssertionFailedError: Expected received body of 'obj: [B@5a4c7ab4' to contain 'obj: {fizz=buzz}' ==> expected: <true> but was: <false>
|
CorsSimpleRequestTest.corsSimpleRequestForLocalhostCanBeAllowedViaRegexConfiguration():
CorsSimpleRequestTest#L211
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
CorsSimpleRequestTest.corsSimpleRequestAllowedFor127RequestAndLocalhostOrigin():
CorsSimpleRequestTest#L179
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
CorsSimpleRequestTest.corsSimpleRequestFailsForLocalhostAndSpoofed127Origin():
CorsSimpleRequestTest#L164
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.micronaut.http.client.exceptions.HttpClientResponseException> but was: <io.micronaut.http.client.exceptions.HttpClientException>
|
CorsSimpleRequestTest.corsSimpleRequestForAllowedRegexDoesNotDefaultToAllAllowedorigins():
CorsSimpleRequestTest#L313
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.micronaut.http.client.exceptions.HttpClientResponseException> but was: <io.micronaut.http.client.exceptions.HttpClientException>
|
CorsSimpleRequestTest.corsSimpleRequestForLocalhostCanBeAllowedViaConfigurationWithRegexToo():
CorsSimpleRequestTest#L251
org.opentest4j.MultipleFailuresError: Multiple Failures (1 failure)
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
CorsSimpleRequestTest.corsSimpleRequestForLocalhostForbiddenViaRegexConfiguration():
CorsSimpleRequestTest#L229
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.micronaut.http.client.exceptions.HttpClientResponseException> but was: <io.micronaut.http.client.exceptions.HttpClientException>
|
CorsSimpleRequestTest.corsSimpleRequestNotAllowedFor127AndAny():
CorsSimpleRequestTest#L120
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <io.micronaut.http.client.exceptions.HttpClientResponseException> but was: <io.micronaut.http.client.exceptions.HttpClientException>
|
CorsSimpleRequestTest.corsSimpleRequestAllowedForLocalhostAndAnyWhenSpecificallyTurnedOff():
CorsSimpleRequestTest#L94
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientException: Error occurred reading HTTP response: Broken pipe
|
FormUrlEncodedBodyInRequestFilterTest.bodyParsingInFilter():
FormUrlEncodedBodyInRequestFilterTest#L50
org.opentest4j.AssertionFailedError: expected: <UNAUTHORIZED> but was: <INTERNAL_SERVER_ERROR>
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientResponseException: Internal Server Error
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
|
JsonViewsTest.testJsonViewFlux():
JsonViewsTest#L63
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
|
build (17)
The job was canceled because "_21" failed.
|
build (17)
Process completed with exit code 1.
|
build (21)
This job uses deprecated functionality from the 'gradle/gradle-build-action' action. Consult the Job Summary for more details.
|
build (17)
This build uses the last update of Oracle GraalVM for JDK 17 under the GFTC. More details: https://github.com/marketplace/actions/github-action-for-graalvm#notes-on-oracle-graalvm-for-jdk-17
|