<%@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 Integer ERROR_CODE = (Integer) request.getAttribute("javax.servlet.error.status_code"); String ERROR_URI = (String) request.getAttribute("javax.servlet.error.request_uri"); String ERROR_MESSAGE = (String) request.getAttribute("javax.servlet.error.message"); final Throwable ERROR_THROWABLE = (Throwable) request.getAttribute("javax.servlet.error.exception"); if (ERROR_CODE != null) response.setStatus(ERROR_CODE.intValue()); else ERROR_CODE = Integer.valueOf(0); if (ERROR_URI != null) ERROR_URI = net.i2p.data.DataHelper.escapeHTML(ERROR_URI); else ERROR_URI = ""; if (ERROR_MESSAGE != null) ERROR_MESSAGE = net.i2p.data.DataHelper.escapeHTML(ERROR_MESSAGE); else ERROR_MESSAGE = ""; %> <%@include file="css.jsi" %> <%=intl.title("Internal Error")%>
"><%=intl._t(" border="0">
<%=intl._t("Configuration")%> <%=intl._t("Help")%>

<%=ERROR_CODE%> <%=ERROR_MESSAGE%>

<%=intl._t("Sorry! There has been an internal error.")%>

<% /* note to translators - both parameters are URLs */ %><%=intl._t("Please report bugs on {0} or {1}.", "trac.i2p2.i2p", "trac.i2p2.de")%>

<%=intl._t("Please include this information in bug reports")%>:

<%=intl._t("Error Details")%>

<%=intl._t("Error {0}", ERROR_CODE)%>: <%=ERROR_URI%> - <%=ERROR_MESSAGE%>

<% if (ERROR_THROWABLE != null) { java.io.StringWriter sw = new java.io.StringWriter(2048); java.io.PrintWriter pw = new java.io.PrintWriter(sw); ERROR_THROWABLE.printStackTrace(pw); pw.flush(); String trace = sw.toString(); trace = trace.replace("&", "&").replace("<", "<").replace(">", ">"); trace = trace.replace("\n", "
    \n"); out.print(trace); } %>

<%=intl._t("I2P Version and Running Environment")%>

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")%>)
Wrapper version: <%=System.getProperty("wrapper.version", "none")%>
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 status: <%=net.i2p.util.NativeBigInteger.loadStatus()%>
Encoding: <%=System.getProperty("file.encoding")%>
Charset: <%=java.nio.charset.Charset.defaultCharset().name()%>

<%=intl._t("Note that system information, log timestamps, and log messages may provide clues to your location; please review everything you include in a bug report.")%>