{"record":{"id":"0fa5fa1fc6edfcf0","repo":"theonedev/onedev","slug":"org-apache-wicket-response-responseioexception","errorCode":null,"errorMessage":"org.apache.wicket.response.ResponseIOException","messagePattern":"org\\.apache\\.wicket\\.response\\.ResponseIOException","errorType":"exception","errorClass":"org.apache.wicket.response.ResponseIOException","httpStatus":null,"severity":"error","filePath":"server-core/src/main/java/org/apache/wicket/protocol/http/servlet/ServletWebResponse.java","lineNumber":114,"sourceCode":"\t\thttpServletResponse.setHeader(name, value);\n\t}\n\n\t@Override\n\tpublic void addHeader(String name, String value)\n\t{\n\t\thttpServletResponse.addHeader(name, value);\n\t}\n\n\t@Override\n\tpublic void write(CharSequence sequence)\n\t{\n\t\ttry\n\t\t{\n\t\t\thttpServletResponse.getWriter().append(sequence);\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t\tthrow new ResponseIOException(e);\n\t\t}\n\t}\n\n\t@Override\n\tpublic void write(byte[] array)\n\t{\n\t\ttry\n\t\t{\n\t\t\thttpServletResponse.getOutputStream().write(array);\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t\tthrow new ResponseIOException(e);\n\t\t}\n\t}\n\n\t@Override\n\tpublic void write(byte[] array, int offset, int length)","sourceCodeStart":96,"sourceCodeEnd":132,"githubUrl":"https://github.com/theonedev/onedev/blob/d44925c47c37992c828ea673a5f9620539bc3ff2/server-core/src/main/java/org/apache/wicket/protocol/http/servlet/ServletWebResponse.java#L96-L132","documentation":"ServletWebResponse.write(CharSequence) catches IOException from the servlet response writer and rethrows it as Wicket's unchecked ResponseIOException, propagating container-level I/O failures (broken pipes, aborted connections) out of the render path.","triggerScenarios":"Thrown at server-core/src/main/java/org/apache/wicket/protocol/http/servlet/ServletWebResponse.java:114 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Treat it as a client-disconnect/transport failure, usually not actionable server-side.","Catch ResponseIOException at the request cycle boundary for logging."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d44925c47c37992c828ea673a5f9620539bc3ff2","analyzedAt":"2026-09-06T07:18:27.995Z","contentChangedAt":"2026-09-06T07:18:27.995Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}