VelocityServlet: Error processing the template

Database exception (E0)
java.sql.SQLException: Table './ctdata/cttrials_criteria' is marked as crashed and last (automatic?) repair failed at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666) at com.mysql.jdbc.Connection.execSQL(Connection.java:2988) at com.mysql.jdbc.Connection.execSQL(Connection.java:2917) at com.mysql.jdbc.Statement.executeQuery(Statement.java:824) at com.mysql.jdbc.DatabaseMetaData$2.forEach(DatabaseMetaData.java:2004) at com.mysql.jdbc.DatabaseMetaData$IterateBlock.doForAll(DatabaseMetaData.java:79) at com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:1894) at de.fuberlin.wiwiss.d2rq.dbschema.DatabaseSchemaInspector.columnType(DatabaseSchemaInspector.java:82) at de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.columnType(ConnectedDB.java:146) at de.fuberlin.wiwiss.d2rq.map.Mapping.assertHasColumnTypes(Mapping.java:79) at de.fuberlin.wiwiss.d2rq.map.Mapping.compilePropertyBridges(Mapping.java:145) at de.fuberlin.wiwiss.d2rq.map.Mapping.compiledPropertyBridges(Mapping.java:130) at de.fuberlin.wiwiss.d2rq.GraphD2RQ.graphBaseFind(GraphD2RQ.java:174) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240) at de.fuberlin.wiwiss.d2rs.AutoReloader.graphBaseFind(AutoReloader.java:48) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240) at com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:260) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:257) at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:379) at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:384) at de.fuberlin.wiwiss.d2rs.FindDescribeHandler.describe(FindDescribeHandler.java:42) at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execDescribe(QueryExecutionBase.java:184) at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execDescribe(QueryExecutionBase.java:122) at de.fuberlin.wiwiss.d2rs.PageServlet.handleRequest(PageServlet.java:45) at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:358) at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:317) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) de.fuberlin.wiwiss.d2rq.D2RQException: Database exception (E0) at de.fuberlin.wiwiss.d2rq.dbschema.DatabaseSchemaInspector.columnType(DatabaseSchemaInspector.java:92) at de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.columnType(ConnectedDB.java:146) at de.fuberlin.wiwiss.d2rq.map.Mapping.assertHasColumnTypes(Mapping.java:79) at de.fuberlin.wiwiss.d2rq.map.Mapping.compilePropertyBridges(Mapping.java:145) at de.fuberlin.wiwiss.d2rq.map.Mapping.compiledPropertyBridges(Mapping.java:130) at de.fuberlin.wiwiss.d2rq.GraphD2RQ.graphBaseFind(GraphD2RQ.java:174) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240) at de.fuberlin.wiwiss.d2rs.AutoReloader.graphBaseFind(AutoReloader.java:48) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240) at com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:260) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:257) at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:379) at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:384) at de.fuberlin.wiwiss.d2rs.FindDescribeHandler.describe(FindDescribeHandler.java:42) at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execDescribe(QueryExecutionBase.java:184) at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execDescribe(QueryExecutionBase.java:122) at de.fuberlin.wiwiss.d2rs.PageServlet.handleRequest(PageServlet.java:45) at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:358) at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:317) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.sql.SQLException: Table './ctdata/cttrials_criteria' is marked as crashed and last (automatic?) repair failed at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666) at com.mysql.jdbc.Connection.execSQL(Connection.java:2988) at com.mysql.jdbc.Connection.execSQL(Connection.java:2917) at com.mysql.jdbc.Statement.executeQuery(Statement.java:824) at com.mysql.jdbc.DatabaseMetaData$2.forEach(DatabaseMetaData.java:2004) at com.mysql.jdbc.DatabaseMetaData$IterateBlock.doForAll(DatabaseMetaData.java:79) at com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:1894) at de.fuberlin.wiwiss.d2rq.dbschema.DatabaseSchemaInspector.columnType(DatabaseSchemaInspector.java:82) ... 35 more