Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
3.0
-
None
Description
WARNING: JSP page threw exception: dk.netarkivet.common.exceptions.IOFailure:
SQL error while creating schedule defaultSchedule: every 1 weeks()
dk.netarkivet.common.exceptions.IOFailure: SQL error while creating schedule
defaultSchedule: every 1 weeks()
at
dk.netarkivet.harvester.datamodel.ScheduleDBDAO.update(ScheduleDBDAO.java:292)
at
dk.netarkivet.harvester.webinterface.ScheduleDefinition.updateSchedule(ScheduleDefinition.java:181)
at
dk.netarkivet.harvester.webinterface.ScheduleDefinition.processRequest(ScheduleDefinition.java:157)
at
org.apache.jsp.Definitioner_002dtidsplaner_002ddetails_jsp._jspService(org.apache.jsp.Definitioner_002dtidsplaner_002ddetails_jsp:133)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an
error in your SQL syntax; check the manual that corresponds to your MySQL server
version for the right syntax to use near 'name = 'defaultSchedule' AND edition =
1' at line 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3176)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1153)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1404)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1318)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1303)
at
dk.netarkivet.harvester.datamodel.ScheduleDBDAO.update(ScheduleDBDAO.java:283)
... 25 more
NOTE: This bug is originally from Bugzilla bug_id=941.