-
Bug
-
Resolution: Done
-
Major
-
None
-
None
A NullPointerException can occur when using a PreCompressedResourceSupplier and trying to access a file where only the compressed version exists:
java.lang.NullPointerException: Cannot invoke "io.undertow.server.handlers.resource.Resource.getContentType(io.undertow.util.MimeMappings)" because "this.val$originalResource" is null at io.undertow.server.handlers.resource.PreCompressedResourceSupplier$1.getContentType(PreCompressedResourceSupplier.java:121) at io.undertow.server.handlers.resource.ResourceHandler$1.handleRequest(ResourceHandler.java:299) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:370) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
- is incorporated by
-
WFCORE-5598 Upgrade Undertow to 2.2.12.Final
- Closed