You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When Logging is set to DEBUG during testing of jetty-server's MultiPart behaviors a few exception show up that indicate a problem logging at DEBUG level due to exceptions during .toString()
SLF4J: Failed toString() invocation on an object of type [org.eclipse.jetty.http.MultiPart$ChunksPart]
Reported exception:
java.lang.NullPointerException: Cannot invoke "org.eclipse.jetty.io.Content$Source.getLength()" because the return value of "org.eclipse.jetty.http.MultiPart$Part.getContentSource()" is null
at [email protected]/org.eclipse.jetty.http.MultiPart$Part.getLength(MultiPart.java:229)
at [email protected]/org.eclipse.jetty.http.MultiPart$ChunksPart.toString(MultiPart.java:448)
at [email protected]/org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:291)
at [email protected]/org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:263)
at [email protected]/org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:225)
at [email protected]/org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:160)
at [email protected]/org.eclipse.jetty.logging.StdErrAppender.format(StdErrAppender.java:162)
at [email protected]/org.eclipse.jetty.logging.StdErrAppender.emit(StdErrAppender.java:93)
at [email protected]/org.eclipse.jetty.logging.JettyLogger.emit(JettyLogger.java:631)
at [email protected]/org.eclipse.jetty.logging.JettyLogger.debug(JettyLogger.java:172)
at [email protected]/org.eclipse.jetty.http.MultiPart$Part.fail(MultiPart.java:339)
at [email protected]/org.eclipse.jetty.http.MultiPart$ChunksPart.fail(MultiPart.java:437)
at [email protected]/org.eclipse.jetty.http.MultiPart$Part.close(MultiPart.java:316)
at [email protected]/org.eclipse.jetty.util.IO.close(IO.java:444)
at [email protected]/org.eclipse.jetty.util.IO.close(IO.java:459)
at [email protected]/org.eclipse.jetty.http.MultiPartFormData$Parts.close(MultiPartFormData.java:166)
at [email protected]/org.eclipse.jetty.server.handler.MultiPartFormDataHandlerTest.testAsyncMultiPartResponse(MultiPartFormDataHandlerTest.java:264)
2024-01-16 21:54:44.881:DEBUG:oejh.MultiPart:ForkJoinPool-1-worker-4: Error closing part [FAILED toString()]
java.lang.NullPointerException: Cannot invoke "org.eclipse.jetty.io.Content$Source.fail(java.lang.Throwable)" because the return value of "org.eclipse.jetty.http.MultiPart$Part.getContentSource()" is null
at [email protected]/org.eclipse.jetty.http.MultiPart$Part.fail(MultiPart.java:323)
at [email protected]/org.eclipse.jetty.http.MultiPart$ChunksPart.fail(MultiPart.java:437)
at [email protected]/org.eclipse.jetty.http.MultiPart$Part.close(MultiPart.java:316)
at [email protected]/org.eclipse.jetty.util.IO.close(IO.java:444)
at [email protected]/org.eclipse.jetty.util.IO.close(IO.java:459)
at [email protected]/org.eclipse.jetty.http.MultiPartFormData$Parts.close(MultiPartFormData.java:166)
at [email protected]/org.eclipse.jetty.server.handler.MultiPartFormDataHandlerTest.testAsyncMultiPartResponse(MultiPartFormDataHandlerTest.java:264)
The text was updated successfully, but these errors were encountered:
Jetty version(s)
12
Jetty Environment
Any
Java version/vendor
(use: java -version)
Any
OS type/version
Any
Description
When Logging is set to DEBUG during testing of jetty-server's MultiPart behaviors a few exception show up that indicate a problem logging at DEBUG level due to exceptions during .toString()
The text was updated successfully, but these errors were encountered: