http://www.myjavaserver.com/~lengquan
本来没有问题的,在本地是一点事都没,放到服务器上也没事,可是在我从后台添加了一首歌曲之后就出现了异常。请hsqldb高手解释一下,异常如下:
java.sql.SQLException: General error java.lang.ArrayIndexOutOfBoundsException:
6 in statement [select limit 0 5 * from book order by id desc]
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645)
at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:1042)
at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:769)
at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686)
at org.hsqldb.jdbcStatement.executeQuery(jdbcStatement.java:68)
at __27elengquan._include._book__jsp._jspService(/usr/local/resin/doc/~lengquan/include/book.jsp:17)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
at com.caucho.server.http.Invocation.service(Invocation.java:291)
at com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.java:357)
at com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.java:264)
at com.caucho.jsp.QPageContext.include(QPageContext.java:489)
at __27elengquan._main__jsp._jspService(_main__jsp.java:41)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
at com.caucho.server.http.Invocation.service(Invocation.java:291)
at com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.java:357)
at com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.java:264)
at com.caucho.jsp.QPageContext.include(QPageContext.java:489)
at __27elengquan._index__jsp._jspService(_index__jsp.java:32)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
at com.caucho.server.http.Invocation.service(Invocation.java:291)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:339)
at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:268)
at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
at java.lang.Thread.run(Thread.java:628)