Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#483 closed defect (fixed)

ERROR [oleSocket-10] i2p.router.web.SummaryRenderer: Error rendering

Reported by: guest Owned by: zzz
Priority: minor Milestone: 0.8.8
Component: apps/console Version: 0.8.7
Keywords: Cc:
Parent Tickets:

Description

Hi,

I get some error in my log router with the new version 0.8.7.

ERROR [oleSocket-10] i2p.router.web.SummaryRenderer?: Error rendering

org.jrobin.core.RrdException?: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file
at org.jrobin.core.Header.validateHeader(Unknown Source)
at org.jrobin.core.RrdDb?.<init>(Unknown Source)
at org.jrobin.data.DataProcessor?.getRrd(Unknown Source)
at org.jrobin.data.DataProcessor?.fetchRrdData(Unknown Source)
at org.jrobin.data.DataProcessor?.processData(Unknown Source)
at org.jrobin.graph.RrdGraph?.fetchData(Unknown Source)
at org.jrobin.graph.RrdGraph?.createGraph(Unknown Source)
at org.jrobin.graph.RrdGraph?.<init>(Unknown Source)
at net.i2p.router.web.SummaryRenderer?.render(SummaryRenderer?.java:170)
at net.i2p.router.web.SummaryListener?.renderPng(SummaryListener?.java:193)
at net.i2p.router.web.StatSummarizer?.locked_renderPng(StatSummarizer?.java:211)
at net.i2p.router.web.StatSummarizer?.renderPng(StatSummarizer?.java:191)
at net.i2p.router.web.jsp.viewstat_jsp._jspService(viewstat_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

28.06.11 18:12:21 ERROR [soleSocket-6] .i2p.router.web.StatSummarizer?: Error rendering

org.jrobin.core.RrdException?: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file
at org.jrobin.core.Header.validateHeader(Unknown Source)
at org.jrobin.core.RrdDb?.<init>(Unknown Source)
at org.jrobin.data.DataProcessor?.getRrd(Unknown Source)
at org.jrobin.data.DataProcessor?.fetchRrdData(Unknown Source)
at org.jrobin.data.DataProcessor?.processData(Unknown Source)
at org.jrobin.graph.RrdGraph?.fetchData(Unknown Source)
at org.jrobin.graph.RrdGraph?.createGraph(Unknown Source)
at org.jrobin.graph.RrdGraph?.<init>(Unknown Source)
at net.i2p.router.web.StatSummarizer?.locked_renderRatePng(StatSummarizer?.java:340)
at net.i2p.router.web.StatSummarizer?.renderRatePng(StatSummarizer?.java:260)
at net.i2p.router.web.jsp.viewstat_jsp._jspService(viewstat_jsp.java:105)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

28.06.11 18:11:22 ERROR [soleSocket-8] i2p.router.web.SummaryRenderer?: Error rendering

org.jrobin.core.RrdException?: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file
at org.jrobin.core.Header.validateHeader(Unknown Source)
at org.jrobin.core.RrdDb?.<init>(Unknown Source)
at org.jrobin.data.DataProcessor?.getRrd(Unknown Source)
at org.jrobin.data.DataProcessor?.fetchRrdData(Unknown Source)
at org.jrobin.data.DataProcessor?.processData(Unknown Source)
at org.jrobin.graph.RrdGraph?.fetchData(Unknown Source)
at org.jrobin.graph.RrdGraph?.createGraph(Unknown Source)
at org.jrobin.graph.RrdGraph?.<init>(Unknown Source)
at net.i2p.router.web.SummaryRenderer?.render(SummaryRenderer?.java:170)
at net.i2p.router.web.SummaryListener?.renderPng(SummaryListener?.java:193)
at net.i2p.router.web.StatSummarizer?.locked_renderPng(StatSummarizer?.java:211)
at net.i2p.router.web.StatSummarizer?.renderPng(StatSummarizer?.java:191)
at net.i2p.router.web.jsp.viewstat_jsp._jspService(viewstat_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

28.06.11 18:11:22 ERROR [soleSocket-7] .i2p.router.web.StatSummarizer?: Error rendering

org.jrobin.core.RrdException?: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file
at org.jrobin.core.Header.validateHeader(Unknown Source)
at org.jrobin.core.RrdDb?.<init>(Unknown Source)
at org.jrobin.data.DataProcessor?.getRrd(Unknown Source)
at org.jrobin.data.DataProcessor?.fetchRrdData(Unknown Source)
at org.jrobin.data.DataProcessor?.processData(Unknown Source)
at org.jrobin.graph.RrdGraph?.fetchData(Unknown Source)
at org.jrobin.graph.RrdGraph?.createGraph(Unknown Source)
at org.jrobin.graph.RrdGraph?.<init>(Unknown Source)
at net.i2p.router.web.StatSummarizer?.locked_renderRatePng(StatSummarizer?.java:340)
at net.i2p.router.web.StatSummarizer?.renderRatePng(StatSummarizer?.java:260)
at net.i2p.router.web.jsp.viewstat_jsp._jspService(viewstat_jsp.java:105)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

28.06.11 18:10:19 ERROR [soleSocket-4] i2p.router.web.SummaryRenderer?: Error rendering

org.jrobin.core.RrdException?: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file
at org.jrobin.core.Header.validateHeader(Unknown Source)
at org.jrobin.core.RrdDb?.<init>(Unknown Source)
at org.jrobin.data.DataProcessor?.getRrd(Unknown Source)
at org.jrobin.data.DataProcessor?.fetchRrdData(Unknown Source)
at org.jrobin.data.DataProcessor?.processData(Unknown Source)
at org.jrobin.graph.RrdGraph?.fetchData(Unknown Source)
at org.jrobin.graph.RrdGraph?.createGraph(Unknown Source)
at org.jrobin.graph.RrdGraph?.<init>(Unknown Source)
at net.i2p.router.web.SummaryRenderer?.render(SummaryRenderer?.java:170)
at net.i2p.router.web.SummaryListener?.renderPng(SummaryListener?.java:193)
at net.i2p.router.web.StatSummarizer?.locked_renderPng(StatSummarizer?.java:211)
at net.i2p.router.web.StatSummarizer?.renderPng(StatSummarizer?.java:191)
at net.i2p.router.web.jsp.viewstat_jsp._jspService(viewstat_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

28.06.11 18:10:19 ERROR [soleSocket-9] .i2p.router.web.StatSummarizer?: Error rendering

org.jrobin.core.RrdException?: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file
at org.jrobin.core.Header.validateHeader(Unknown Source)
at org.jrobin.core.RrdDb?.<init>(Unknown Source)
at org.jrobin.data.DataProcessor?.getRrd(Unknown Source)
at org.jrobin.data.DataProcessor?.fetchRrdData(Unknown Source)
at org.jrobin.data.DataProcessor?.processData(Unknown Source)
at org.jrobin.graph.RrdGraph?.fetchData(Unknown Source)
at org.jrobin.graph.RrdGraph?.createGraph(Unknown Source)
at org.jrobin.graph.RrdGraph?.<init>(Unknown Source)
at net.i2p.router.web.StatSummarizer?.locked_renderRatePng(StatSummarizer?.java:340)
at net.i2p.router.web.StatSummarizer?.renderRatePng(StatSummarizer?.java:260)
at net.i2p.router.web.jsp.viewstat_jsp._jspService(viewstat_jsp.java:105)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

I2P version: 0.8.7-0deb2

Java version: Sun Microsystems Inc. 1.6.0_20 (OpenJDK Runtime Environment 1.6.0_20-b20)
Platform: Linux amd64 2.6.38-10-generic
Processor: uninitialized (core2)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: UTF-8

Subtickets

Attachments (1)

rrd-UPdo7mvlCN52rHEXNrIY.jrb.tar.gz (5.0 KB) - added by guest 8 years ago.
rrd file

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by guest

Erreur 500: /viewstat.jsp Error plotting: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file

java.io.IOException: Error plotting: Invalid file header. File home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb is not a JRobin RRD file

at net.i2p.router.web.SummaryRenderer?.render(SummaryRenderer?.java:186)
at net.i2p.router.web.SummaryListener?.renderPng(SummaryListener?.java:193)
at net.i2p.router.web.StatSummarizer?.locked_renderPng(StatSummarizer?.java:211)
at net.i2p.router.web.StatSummarizer?.renderPng(StatSummarizer?.java:191)
at net.i2p.router.web.jsp.viewstat_jsp._jspService(viewstat_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase?.service(HttpJspBase?.java:94)
at javax.servlet.http.HttpServlet?.service(HttpServlet?.java:689)
at org.mortbay.jetty.servlet.ServletHolder?.handle(ServletHolder?.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler?.dispatch(WebApplicationHandler?.java:473)
at org.mortbay.jetty.servlet.ServletHandler?.handle(ServletHandler?.java:568)
at net.i2p.router.web.LocaleWebAppHandler?.handle(LocaleWebAppHandler?.java:90)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1535)
at org.mortbay.jetty.servlet.WebApplicationContext?.handle(WebApplicationContext?.java:633)
at org.mortbay.http.HttpContext?.handle(HttpContext?.java:1487)
at org.mortbay.http.HttpServer?.service(HttpServer?.java:909)
at org.mortbay.http.HttpConnection?.service(HttpConnection?.java:820)
at org.mortbay.http.HttpConnection?.handleNext(HttpConnection?.java:986)
at org.mortbay.http.HttpConnection?.handle(HttpConnection?.java:837)
at org.mortbay.http.SocketListener?.handleConnection(SocketListener?.java:245)
at org.mortbay.util.ThreadedServer?.handle(ThreadedServer?.java:357)
at org.mortbay.util.ThreadPool?$PoolThread?.run(ThreadPool?.java:534)

comment:2 Changed 8 years ago by zzz

  • Component changed from router/update to apps/console
  • Owner set to zzz
  • Priority changed from major to minor
  • Status changed from new to assigned

Does the file /home/starslights/.i2p/rrd/rrd-UPdo7mvlCN52rHEXNrIY.jrb exist? If so, how big is it?

comment:3 Changed 8 years ago by guest

hi zzz,

I have it in the rrd folder and is 2,0 Mio

comment:4 Changed 8 years ago by zzz

If that file is still corrupt (you still get that error when you go to the graphs page), please gzip compress it and attach it here. Thanks.

Changed 8 years ago by guest

rrd file

comment:5 Changed 8 years ago by guest

hi zzz,

I have upgraded to the new version and after deleted all "rdd" files, the graph and errors are gone and system stable now.

Thanks very much and best regards

comment:6 Changed 8 years ago by zzz

  • Resolution set to fixed
  • Status changed from assigned to closed

Thanks for attaching the file. It was clearly corrupt. Yours:

00000000  00 00 00 00 00 1f ff a0  47 97 f8 45 7b 16 4f b0  |........G..E{.O.|
00000010  03 00 00 0a 00 00 10 00  00 02 8c 1d 04 07 03 01  |................|
00000020  00 11 22 33 44 55 66 77  60 2b 44 e4 c4 11 66 c1  |.."3DUfw`+D...f.|
00000030  17 f1 24 b4 1b 8f 50 b3  00 00 00 00 4e 0a 23 ff  |..$...P.....N.#.|

mine:

00000000  00 4a 00 52 00 6f 00 62  00 69 00 6e 00 2c 00 20  |.J.R.o.b.i.n.,. |
00000010  00 76 00 65 00 72 00 73  00 69 00 6f 00 6e 00 20  |.v.e.r.s.i.o.n. |
00000020  00 30 00 2e 00 31 00 20  00 00 00 00 00 00 00 3c  |.0...1. .......<|
00000030  00 00 00 02 00 00 00 01  00 00 00 00 4e 4a b7 b6  |............NJ..|

I added code to delete the .jrb file if it is corrupt. So you should now only get the error once. I didn't bother trying to regenerate it immediately, so if a file is corrupt, the graph wont be displayed until restart. This fix will be in 0.8.8.

comment:7 Changed 8 years ago by guest

Thanks mate, work great with the graph now :-)

BW: i get new bug and open a new ticket now ..

Note: See TracTickets for help on using tickets.