Opened 7 years ago

Closed 6 years ago

#858 closed defect (fixed)

illegal state when stopping bote plugin

Reported by: DISABLED Owned by: HungryHobo
Priority: minor Milestone:
Component: apps/plugins Version: 0.9.4
Keywords: i2p-bote, stop, illegal state, jetty Cc:
Parent Tickets: Sensitive: no

Description

(reproducable)
with i2p-bote version 0.2.6-b117
running I go to http://127.0.0.1:7657/configclients and click on stop bote, and then this page shows :

I2P version: 0.9.4-0
Java version: Sun Microsystems Inc. 1.6.0_26 (Java™ SE Runtime Environment 1.6.0_26-b03)
Sorry! There has been an internal error.

Please report bugs on trac.i2p2.i2p or trac.i2p2.de. You may use the username "guest" and password "guest" if you do not wish to register.

Please include this information in bug reports:
Error Details

Error 500: /configclients INTERNAL_SERVER_ERROR

java.lang.IllegalStateException?

at org.mortbay.jetty.servlet.AbstractSessionManager?$Session.setAttribute(AbstractSessionManager?.java:1054)
at net.i2p.router.web.jsp.configclients_jsp._jspService(configclients_jsp.java:429)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:511)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:401)
at org.mortbay.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:216)
at org.mortbay.jetty.servlet.SessionHandler?.handle(SessionHandler?.java:182)
at org.mortbay.jetty.handler.ContextHandler?.handle(ContextHandler?.java:766)
at org.mortbay.jetty.webapp.WebAppContext?.handle(WebAppContext?.java:450)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:93)
at org.mortbay.jetty.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:230)
at org.mortbay.jetty.handler.HandlerCollection?.handle(HandlerCollection?.java:114)
at org.mortbay.jetty.handler.HandlerWrapper?.handle(HandlerWrapper?.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection?.handleRequest(HttpConnection?.java:542)
at org.mortbay.jetty.HttpConnection?$RequestHandler?.content(HttpConnection?.java:945)
at org.mortbay.jetty.HttpParser?.parseNext(HttpParser?.java:756)
at org.mortbay.jetty.HttpParser?.parseAvailable(HttpParser?.java:218)
at org.mortbay.jetty.HttpConnection?.handle(HttpConnection?.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint?.run(SelectChannelEndPoint?.java:410)
at java.util.concurrent.ThreadPoolExecutor?$Worker.runTask(ThreadPoolExecutor?.java:886)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:908)
at java.lang.Thread.run(Thread.java:662)


I2P Version and Running Environment

I2P version: 0.9.4-0
Java version: Sun Microsystems Inc. 1.6.0_26 (Java™ SE Runtime Environment 1.6.0_26-b03)
Wrapper version: 3.5.16
Server version: 6.1.26
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux amd64 3.7.1-unixpool
Processor: Athlon 64 FX Opteron (athlon64)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: UTF-8
Charset: UTF-8

Wrapper version: 3.5.16
Server version: 6.1.26
Servlet version: Jasper JSP 2.1 Engine
Platform: Linux amd64 3.7.1-unixpool
Processor: Athlon 64 FX Opteron (athlon64)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: UTF-8
Charset: UTF-8

1/30/13 2:10:45 AM ERROR [I2PBoteMain ] org.mortbay.jetty.Server : /configclients

java.lang.IllegalStateException?
at org.mortbay.jetty.servlet.AbstractSessionManager?$Session.setAttribute(AbstractSessionManager?.java:1054)
at net.i2p.router.web.jsp.configclients_jsp._jspService(configclients_jsp.java:429)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:511)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:401)
at org.mortbay.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:216)
at org.mortbay.jetty.servlet.SessionHandler?.handle(SessionHandler?.java:182)
at org.mortbay.jetty.handler.ContextHandler?.handle(ContextHandler?.java:766)
at org.mortbay.jetty.webapp.WebAppContext?.handle(WebAppContext?.java:450)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:93)
at org.mortbay.jetty.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:230)
at org.mortbay.jetty.handler.HandlerCollection?.handle(HandlerCollection?.java:114)
at org.mortbay.jetty.handler.HandlerWrapper?.handle(HandlerWrapper?.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection?.handleRequest(HttpConnection?.java:542)
at org.mortbay.jetty.HttpConnection?$RequestHandler?.content(HttpConnection?.java:945)
at org.mortbay.jetty.HttpParser?.parseNext(HttpParser?.java:756)
at org.mortbay.jetty.HttpParser?.parseAvailable(HttpParser?.java:218)
at org.mortbay.jetty.HttpConnection?.handle(HttpConnection?.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint?.run(SelectChannelEndPoint?.java:410)
at java.util.concurrent.ThreadPoolExecutor?$Worker.runTask(ThreadPoolExecutor?.java:886)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:908)
at java.lang.Thread.run(Thread.java:662)

Subtickets

Change History (13)

comment:1 Changed 7 years ago by DISABLED

also, removing the plugin does not propperly remove ~/.i2p/plugins/i2pbote which results in the inability to subsequently install the plugin anew.

comment:2 Changed 7 years ago by DISABLED

after installing latest mtn build and entering the password, the identities e.g. get readable, but in the folder overview on the left I see:

HTTP ERROR 500

Problem accessing /i2pbote/folders.jsp. Reason:

/WEB-INF/tags/folderLink.tag(38,4) '${ib:getMailFolder(dirName).numNewEmails}' Error reading 'numNewEmails' on type i2p.bote.folder.EmailFolder?

Caused by:

org.apache.jasper.el.JspELException: /WEB-INF/tags/folderLink.tag(38,4) '${ib:getMailFolder(dirName).numNewEmails}' Error reading 'numNewEmails' on type i2p.bote.folder.EmailFolder?

at org.apache.jasper.el.JspValueExpression?.getValue(JspValueExpression?.java:107)
at org.apache.jsp.tag.web.folderLink_tag._jspx_meth_c_005fset_005f1(folderLink_tag.java:292)
at org.apache.jsp.tag.web.folderLink_tag._jspx_meth_c_005fif_005f1(folderLink_tag.java:263)
at org.apache.jsp.tag.web.folderLink_tag.doTag(folderLink_tag.java:117)
at i2p.bote.jsp.folders_jsp._jspx_meth_ib_005ffolderLink_005f2(folders_jsp.java:361)
at i2p.bote.jsp.folders_jsp._jspService(folders_jsp.java:118)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:511)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1221)
at i2p.bote.web.CharsetFilter?.doFilter(CharsetFilter?.java:38)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1212)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:399)
at org.mortbay.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:216)
at org.mortbay.jetty.servlet.SessionHandler?.handle(SessionHandler?.java:182)
at org.mortbay.jetty.handler.ContextHandler?.handle(ContextHandler?.java:766)
at org.mortbay.jetty.webapp.WebAppContext?.handle(WebAppContext?.java:450)
at org.mortbay.jetty.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:230)
at org.mortbay.jetty.handler.HandlerCollection?.handle(HandlerCollection?.java:114)
at org.mortbay.jetty.handler.HandlerWrapper?.handle(HandlerWrapper?.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection?.handleRequest(HttpConnection?.java:542)
at org.mortbay.jetty.HttpConnection?$RequestHandler?.headerComplete(HttpConnection?.java:928)
at org.mortbay.jetty.HttpParser?.parseNext(HttpParser?.java:549)
at org.mortbay.jetty.HttpParser?.parseAvailable(HttpParser?.java:212)
at org.mortbay.jetty.HttpConnection?.handle(HttpConnection?.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint?.run(SelectChannelEndPoint?.java:410)
at java.util.concurrent.ThreadPoolExecutor?$Worker.runTask(ThreadPoolExecutor?.java:886)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:908)
at java.lang.Thread.run(Thread.java:662)

Caused by: java.security.GeneralSecurityException?: Can't decrypt using cached key.

at i2p.bote.fileencryption.EncryptedInputStream?.readInputStream(EncryptedInputStream?.java:121)
at i2p.bote.fileencryption.EncryptedInputStream?.<init>(EncryptedInputStream?.java:62)
at i2p.bote.folder.EmailFolder?.getMetadata(EmailFolder?.java:351)
at i2p.bote.folder.EmailFolder?.getNumNewEmails(EmailFolder?.java:369)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:83)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.el.parser.AstValue?.getValue(AstValue?.java:123)
at org.apache.el.ValueExpressionImpl?.getValue(ValueExpressionImpl?.java:186)
at org.apache.jasper.el.JspValueExpression?.getValue(JspValueExpression?.java:101)
… 29 more

Caused by:

java.security.GeneralSecurityException?: Can't decrypt using cached key.

at i2p.bote.fileencryption.EncryptedInputStream?.readInputStream(EncryptedInputStream?.java:121)
at i2p.bote.fileencryption.EncryptedInputStream?.<init>(EncryptedInputStream?.java:62)
at i2p.bote.folder.EmailFolder?.getMetadata(EmailFolder?.java:351)
at i2p.bote.folder.EmailFolder?.getNumNewEmails(EmailFolder?.java:369)
at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:83)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.el.parser.AstValue?.getValue(AstValue?.java:123)
at org.apache.el.ValueExpressionImpl?.getValue(ValueExpressionImpl?.java:186)
at org.apache.jasper.el.JspValueExpression?.getValue(JspValueExpression?.java:101)
at org.apache.jsp.tag.web.folderLink_tag._jspx_meth_c_005fset_005f1(folderLink_tag.java:292)
at org.apache.jsp.tag.web.folderLink_tag._jspx_meth_c_005fif_005f1(folderLink_tag.java:263)
at org.apache.jsp.tag.web.folderLink_tag.doTag(folderLink_tag.java:117)
at i2p.bote.jsp.folders_jsp._jspx_meth_ib_005ffolderLink_005f2(folders_jsp.java:361)
at i2p.bote.jsp.folders_jsp._jspService(folders_jsp.java:118)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:511)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1221)
at i2p.bote.web.CharsetFilter?.doFilter(CharsetFilter?.java:38)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1212)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:399)
at org.mortbay.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:216)
at org.mortbay.jetty.servlet.SessionHandler?.handle(SessionHandler?.java:182)
at org.mortbay.jetty.handler.ContextHandler?.handle(ContextHandler?.java:766)
at org.mortbay.jetty.webapp.WebAppContext?.handle(WebAppContext?.java:450)
at org.mortbay.jetty.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:230)
at org.mortbay.jetty.handler.HandlerCollection?.handle(HandlerCollection?.java:114)
at org.mortbay.jetty.handler.HandlerWrapper?.handle(HandlerWrapper?.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection?.handleRequest(HttpConnection?.java:542)
at org.mortbay.jetty.HttpConnection?$RequestHandler?.headerComplete(HttpConnection?.java:928)
at org.mortbay.jetty.HttpParser?.parseNext(HttpParser?.java:549)
at org.mortbay.jetty.HttpParser?.parseAvailable(HttpParser?.java:212)
at org.mortbay.jetty.HttpConnection?.handle(HttpConnection?.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint?.run(SelectChannelEndPoint?.java:410)
at java.util.concurrent.ThreadPoolExecutor?$Worker.runTask(ThreadPoolExecutor?.java:886)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:908)
at java.lang.Thread.run(Thread.java:662)

Powered by Jetty://

comment:3 Changed 7 years ago by DISABLED

2 different entries for bote in summary bar's local dest area

comment:4 Changed 7 years ago by zzz

Owner: set to HungryHobo
Status: newassigned

The bug in the OP is a dup of #852 and is a console issue hopefully fixed in 0.9.4-8, please test.

As the issues you list in your subsequent comments are completely different, and are in bote itself, I'm reassigning this ticket to HungryHobo?.

In the future, it's best to file separate tickets for separate issues.

comment:5 Changed 7 years ago by zzz

At least comment 2 is in bote itself, anyway. Comments 1 and 3 may be in the console, although they may also be caused by multiple bote plugins at once. @HH if comments 1 or 3 are console issues please open new tickets.

comment:6 Changed 7 years ago by zzz

Found a 3rd ticket about the OP #836 which also involves stopping i2p-bote. Not seen by others? I wonder if bote is somehow closing or invalidating the servlet HttpSession?. While I'm catching the exception in 0.9.4-8, I wonder if there's other side effects like forcing a console re-login. So my question to @HH are you doing anything special with servlet sessions?

comment:7 Changed 7 years ago by DISABLED

the Error 500 is gone with 0.9.4-9, that I can confirm. :)
thanks

comment:8 Changed 7 years ago by DISABLED

well, it did not appear anymore in the console when stoppbing the Bote plugin, yet it comes on the bote inbox now if you leave it open for a while.
Reloading the page makes it visible again.
It complains about java heap space , but apart from Bote and seedless (no server) and neodatis and ayudownloader, there are no plugins, and i2psnark is running with only 5 torrents that total less than 14 MB (only books) and currently no traffic at all - all seeding.

Here's what the page says:
[code]
HTTP ERROR 500

Problem accessing /i2pbote/outbox.jsp. Reason:

/outbox.jsp(121,8) '${ib:getEmails(folder, sortcolumn, descending)}' Problems calling function 'ib:getEmails'

Caused by:

org.apache.jasper.el.JspELException: /outbox.jsp(121,8) '${ib:getEmails(folder, sortcolumn, descending)}' Problems calling function 'ib:getEmails'

at org.apache.jasper.el.JspValueExpression?.getValue(JspValueExpression?.java:107)
at i2p.bote.jsp.outbox_jsp._jspx_meth_c_005fforEach_005f0(outbox_jsp.java:1395)
at i2p.bote.jsp.outbox_jsp._jspx_meth_ib_005frequirePassword_005f0(outbox_jsp.java:280)
at i2p.bote.jsp.outbox_jsp._jspService(outbox_jsp.java:120)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:511)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1221)
at i2p.bote.web.CharsetFilter?.doFilter(CharsetFilter?.java:38)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1212)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:399)
at org.mortbay.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:216)
at org.mortbay.jetty.servlet.SessionHandler?.handle(SessionHandler?.java:182)
at org.mortbay.jetty.handler.ContextHandler?.handle(ContextHandler?.java:766)
at org.mortbay.jetty.webapp.WebAppContext?.handle(WebAppContext?.java:450)
at org.mortbay.jetty.handler.ContextHandlerCollection?.handle(ContextHandlerCollection?.java:230)
at org.mortbay.jetty.handler.HandlerCollection?.handle(HandlerCollection?.java:114)
at org.mortbay.jetty.handler.HandlerWrapper?.handle(HandlerWrapper?.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection?.handleRequest(HttpConnection?.java:542)
at org.mortbay.jetty.HttpConnection?$RequestHandler?.headerComplete(HttpConnection?.java:928)
at org.mortbay.jetty.HttpParser?.parseNext(HttpParser?.java:549)
at org.mortbay.jetty.HttpParser?.parseAvailable(HttpParser?.java:212)
at org.mortbay.jetty.HttpConnection?.handle(HttpConnection?.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint?.run(SelectChannelEndPoint?.java:410)
at java.util.concurrent.ThreadPoolExecutor?$Worker.runTask(ThreadPoolExecutor?.java:886)
at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?.java:908)
at java.lang.Thread.run(Thread.java:662)

Caused by: java.lang.OutOfMemoryError?: Java heap space

at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream?.write(ByteArrayOutputStream?.java:94)
at i2p.bote.Util.readBytes(Util.java:73)
at i2p.bote.fileencryption.EncryptedInputStream?.readInputStream(EncryptedInputStream?.java:106)
at i2p.bote.fileencryption.EncryptedInputStream?.<init>(EncryptedInputStream?.java:62)
at i2p.bote.folder.EmailFolder?.createFolderElement(EmailFolder?.java:457)
at i2p.bote.folder.EmailFolder?.createFolderElement(EmailFolder?.java:61)
at i2p.bote.folder.Folder$3.findNextElement(Folder.java:164)
at i2p.bote.folder.Folder$3.hasNext(Folder.java:132)
at i2p.bote.folder.Folder.getElements(Folder.java:110)
at i2p.bote.folder.EmailFolder?.getElements(EmailFolder?.java:120)
at i2p.bote.folder.Outbox.getElements(Outbox.java:60)
at i2p.bote.web.JSPHelper.getEmails(JSPHelper.java:310)
at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.el.parser.AstFunction?.getValue(AstFunction?.java:110)
at org.apache.el.ValueExpressionImpl?.getValue(ValueExpressionImpl?.java:186)
at org.apache.jasper.el.JspValueExpression?.getValue(JspValueExpression?.java:101)
at i2p.bote.jsp.outbox_jsp._jspx_meth_c_005fforEach_005f0(outbox_jsp.java:1395)
at i2p.bote.jsp.outbox_jsp._jspx_meth_ib_005frequirePassword_005f0(outbox_jsp.java:280)
at i2p.bote.jsp.outbox_jsp._jspService(outbox_jsp.java:120)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:511)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1221)
at i2p.bote.web.CharsetFilter?.doFilter(CharsetFilter?.java:38)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1212)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:399)
at org.mortbay.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:216)
at org.mortbay.jetty.servlet.SessionHandler?.handle(SessionHandler?.java:182)
at org.mortbay.jetty.handler.ContextHandler?.handle(ContextHandler?.java:766)

Caused by:

java.lang.OutOfMemoryError?: Java heap space

at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream?.write(ByteArrayOutputStream?.java:94)
at i2p.bote.Util.readBytes(Util.java:73)
at i2p.bote.fileencryption.EncryptedInputStream?.readInputStream(EncryptedInputStream?.java:106)
at i2p.bote.fileencryption.EncryptedInputStream?.<init>(EncryptedInputStream?.java:62)
at i2p.bote.folder.EmailFolder?.createFolderElement(EmailFolder?.java:457)
at i2p.bote.folder.EmailFolder?.createFolderElement(EmailFolder?.java:61)
at i2p.bote.folder.Folder$3.findNextElement(Folder.java:164)
at i2p.bote.folder.Folder$3.hasNext(Folder.java:132)
at i2p.bote.folder.Folder.getElements(Folder.java:110)
at i2p.bote.folder.EmailFolder?.getElements(EmailFolder?.java:120)
at i2p.bote.folder.Outbox.getElements(Outbox.java:60)
at i2p.bote.web.JSPHelper.getEmails(JSPHelper.java:310)
at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.el.parser.AstFunction?.getValue(AstFunction?.java:110)
at org.apache.el.ValueExpressionImpl?.getValue(ValueExpressionImpl?.java:186)
at org.apache.jasper.el.JspValueExpression?.getValue(JspValueExpression?.java:101)
at i2p.bote.jsp.outbox_jsp._jspx_meth_c_005fforEach_005f0(outbox_jsp.java:1395)
at i2p.bote.jsp.outbox_jsp._jspx_meth_ib_005frequirePassword_005f0(outbox_jsp.java:280)
at i2p.bote.jsp.outbox_jsp._jspService(outbox_jsp.java:120)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:70)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:717)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:511)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1221)
at i2p.bote.web.CharsetFilter?.doFilter(CharsetFilter?.java:38)
at org.mortbay.jetty.servlet.ServletHandler?$CachedChain?.doFilter(ServletHandler?.java:1212)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:399)
at org.mortbay.jetty.security.SecurityHandler?.handle(SecurityHandler?.java:216)
at org.mortbay.jetty.servlet.SessionHandler?.handle(SessionHandler?.java:182)
at org.mortbay.jetty.handler.ContextHandler?.handle(ContextHandler?.java:766)

Powered by Jetty://

code

comment:9 in reply to:  6 Changed 7 years ago by HungryHobo

Replying to zzz:

So my question to @HH are you doing anything special with servlet sessions?

I know the bug is fixed, but for the record: I don't do any funny business with sessions :)

comment:10 in reply to:  8 Changed 7 years ago by HungryHobo

Replying to guest:

java.lang.OutOfMemoryError?: Java heap space

What heap size do you have set in wrapper.config?
Mine says:

wrapper.java.maxmemory=128

comment:11 in reply to:  2 Changed 7 years ago by HungryHobo

Replying to guest:

java.security.GeneralSecurityException?: Can't decrypt using cached key.

The latest MTN version has a "secret" page at /i2pbote/debug.jsp that lets you test all encrypted files. It will print the ones that cause errors. If you feel like it, try a build or wait for the next release.

comment:12 Changed 6 years ago by str4d

Milestone: 0.9.5

comment:13 Changed 6 years ago by HungryHobo

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.