Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#1367 closed defect (fixed)

Bote: Nicer Error page

Reported by: user Owned by: str4d
Priority: trivial Milestone: 0.9.18
Component: apps/plugins Version: 0.9.14.1
Keywords: I2P-Bote error usability easy Cc:
Parent Tickets: Sensitive: no

Description

When clicking on a mail in e.g. outbox in order to read it, after it has been moved by Bote to sent folder, you get an NPE.
A screen saying the mail could not be found and was likely moved would look nicer. with a link back to inbox.

HTTP ERROR 500

Problem accessing /i2pbote/showEmail.jsp. Reason:

Server Error

Caused by:

java.lang.NullPointerException?

at i2p.bote.web.ShowAttachmentsTag?.doTag(ShowAttachmentsTag?.java:49)
at i2p.bote.jsp.showEmail_jsp._jspx_meth_ib_005fshowAttachments_005f0(showEmail_jsp.java:1176)
at i2p.bote.jsp.showEmail_jsp._jspx_meth_ib_005frequirePassword_005f0(showEmail_jsp.java:218)
at i2p.bote.jsp.showEmail_jsp._jspService(showEmail_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:848)
at org.eclipse.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:684)
at org.eclipse.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1496)
at i2p.bote.web.CharsetFilter?.doFilter(CharsetFilter?.java:38)
at org.eclipse.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1476)
at org.eclipse.jetty.servlet.ServletHandler?.doHandle(ServletHandler?.java:501)
at org.eclipse.jetty.server.handler.ScopedHandler?.handle(ScopedHandler?.java:137)
at org.eclipse.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:557)
at org.eclipse.jetty.server.session.SessionHandler?.doHandle(SessionHandler?.java:231)
at org.eclipse.jetty.server.handler.ContextHandler?.doHandle(ContextHandler?.java:1086)
at org.eclipse.jetty.servlet.ServletHandler?.doScope(ServletHandler?.java:429)
at org.eclipse.jetty.server.session.SessionHandler?.doScope(SessionHandler?.java:193)
at org.eclipse.jetty.server.handler.ContextHandler?.doScope(ContextHandler?.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler?.handle(ScopedHandler?.java:135)
at org.eclipse.jetty.server.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:255)
at org.eclipse.jetty.server.handler.HandlerCollection?.handle(HandlerCollection?.java:154)
at org.eclipse.jetty.server.handler.HandlerWrapper?.handle(HandlerWrapper?.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection?.handleRequest(AbstractHttpConnection?.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection?.headerComplete(AbstractHttpConnection?.java:971)
at org.eclipse.jetty.server.AbstractHttpConnection?$RequestHandler?.headerComplete(AbstractHttpConnection?.java:1033)
at org.eclipse.jetty.http.HttpParser?.parseNext(HttpParser?.java:644)
at org.eclipse.jetty.http.HttpParser?.parseAvailable(HttpParser?.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection?.handle(AsyncHttpConnection?.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint?.handle(SelectChannelEndPoint?.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint?$1.run(SelectChannelEndPoint?.java:53)
at java.util.concurrent.ThreadPoolExecutor?.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Subtickets

Change History (3)

comment:1 Changed 5 years ago by str4d

Keywords: I2P-Bote usability easy added; Bote page removed

comment:2 Changed 5 years ago by str4d

Milestone: 0.9.18
Resolution: fixed
Status: newclosed

Fixed in e48223ee0efd58fd3bed2e2a425affc8d2f1f0d2.

comment:3 Changed 5 years ago by user

thank you

Note: See TracTickets for help on using tickets.