%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <% // Let's make this easy... // These are defined in Jetty 7 org.eclipse.jetty.server.Dispatcher, // and in Servlet 3.0 (Jetty 8) javax.servlet.RequestDispatcher, // just use the actual strings here to make it compatible with either final Integer ERROR_CODE = (Integer) request.getAttribute("javax.servlet.error.status_code"); final String ERROR_URI = (String) request.getAttribute("javax.servlet.error.request_uri"); final String ERROR_MESSAGE = (String) request.getAttribute("javax.servlet.error.message"); final Class ERROR_CLASS = (Class) request.getAttribute("javax.servlet.error.exception_type"); final Throwable ERROR_THROWABLE = (Throwable) request.getAttribute("javax.servlet.error.exception"); if (ERROR_CODE != null && ERROR_MESSAGE != null) { // this is deprecated but we don't want sendError() response.setStatus(ERROR_CODE.intValue(), ERROR_MESSAGE); } %>
<%@include file="css.jsi" %> <%=intl.title("Internal Error")%><% /* note to translators - both parameters are URLs */ %><%=intl._("Please report bugs on {0} or {1}.", "trac.i2p2.i2p", "trac.i2p2.de")%>
<%=intl._("Please include this information in bug reports")%>:
<%=intl._("Error {0}", ERROR_CODE)%>: <%=ERROR_URI%> <%=ERROR_MESSAGE%>
<%
if (ERROR_THROWABLE != null) {
java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream(2048);
java.io.PrintStream ps = new java.io.PrintStream(baos);
ERROR_THROWABLE.printStackTrace(ps);
ps.close();
String trace = baos.toString();
trace = trace.replace("&", "&").replace("<", "<").replace(">", ">");
trace = trace.replace("\n", "
\n");
out.print(trace);
}
%>
I2P version: <%=net.i2p.router.RouterVersion.FULL_VERSION%>
Java version: <%=System.getProperty("java.vendor")%> <%=System.getProperty("java.version")%> (<%=System.getProperty("java.runtime.name")%> <%=System.getProperty("java.runtime.version")%>)
Server version:
Servlet version: <%=getServletInfo()%>
Platform: <%=System.getProperty("os.name")%> <%=System.getProperty("os.arch")%> <%=System.getProperty("os.version")%>
Processor: <%=net.i2p.util.NativeBigInteger.cpuModel()%> (<%=net.i2p.util.NativeBigInteger.cpuType()%>)
Jbigi: <%=net.i2p.util.NativeBigInteger.loadStatus()%>
Encoding: <%=System.getProperty("file.encoding")%>
Charset: <%=java.nio.charset.Charset.defaultCharset().name()%>
<%=intl._("Note that system information, log timestamps, and log messages may provide clues to your location; please review everything you include in a bug report.")%>