Opened 9 years ago

Closed 7 years ago

#702 closed defect (duplicate)

susimail null pointer exception

Reported by: DISABLED Owned by:
Priority: minor Milestone:
Component: apps/susimail Version: 0.9.1
Keywords: NPE Cc:
Parent Tickets: Sensitive: no

Description (last modified by str4d)

PM ERROR [onsole Jetty] org.mortbay.jetty.Server      : /susimail/susimail
	at java.util.Hashtable.hash(
	at java.util.Hashtable.get(
	at i2p.susi.webmail.MailCache.getMail(
	at i2p.susi.webmail.WebMail.processRequest(
	at i2p.susi.webmail.WebMail.doPost(
	at javax.servlet.http.HttpServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at org.mortbay.jetty.servlet.ServletHolder.handle(
	at org.mortbay.jetty.servlet.ServletHandler.handle(
	at org.mortbay.jetty.servlet.SessionHandler.handle(
	at org.mortbay.jetty.handler.ContextHandler.handle(
	at org.mortbay.jetty.webapp.WebAppContext.handle(
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
	at org.mortbay.jetty.handler.HandlerCollection.handle(
	at org.mortbay.jetty.handler.HandlerWrapper.handle(
	at org.mortbay.jetty.Server.handle(
	at org.mortbay.jetty.HttpConnection.handleRequest(
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(
	at org.mortbay.jetty.HttpParser.parseNext(
	at org.mortbay.jetty.HttpParser.parseAvailable(
	at org.mortbay.jetty.HttpConnection.handle(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$


Change History (4)

comment:1 Changed 8 years ago by str4d

Keywords: NPE added
Milestone: 0.9.2

comment:6 Changed 8 years ago by zzz

possible dup #414

comment:7 Changed 7 years ago by str4d

Description: modified (diff)

comment:8 Changed 7 years ago by str4d

Resolution: duplicate
Status: newclosed

I can't determine the JRE used, but GNU Classpath's Hashtable uses the same implementation call-structure as OP's JRE. Based on that, the NPE is caused by a null key passed into MailCache.getMail(), which Hashtable does not support.

Closing as duplicate of #414.

Note: See TracTickets for help on using tickets.