db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Emminger <e...@ericemminger.com>
Subject String index out of range - TorqueException
Date Thu, 27 Feb 2003 22:21:26 GMT
This "String index out of range" exception has appeared since moving 
from 3.0-rc2 to 3.0 (production release). I'm sure the problem is in 
Torque or is related to configuration, since everything was working with 
3.0-rc2. Also, I've tried two different JDBC drivers and both produce 
this error. How do I fix this?

Thanks in advance!

Eric

----- setup -----
Torque 3.0
Turbine 2.2
TDK 2.2_01
PostgreSQL 7.3.2
Ant 1.5.1
Maven 1.0-beta-8
Java 1.4.1_01
Linux

----- stack trace -----
[Thu Feb 27 16:34:59 EST 2003] -- ERROR -- AppCache.getCart() failed to 
CartPeer.doSelect()
	Exception:  org.apache.torque.TorqueException: String index out of 
range: 23
	Stack Trace follows:
	java.lang.StringIndexOutOfBoundsException: String index out of range: 23
	at java.lang.String.charAt(String.java:460)
	at org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653)
	at org.postgresql.jdbc2.ResultSet.getTimestamp(ResultSet.java:398)
	at com.workingdogs.village.Value.<init>(Unknown Source)
	at com.workingdogs.village.Record.createValues(Unknown Source)
	at com.workingdogs.village.Record.<init>(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1594)
	at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1497)
	at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1321)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:411)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:378)
	at com.ericemminger.cart.om.BaseCartPeer.doSelect(BaseCartPeer.java:347)
	at com.ericemminger.cart.util.AppCache.getCart(AppCache.java:932)
	at com.ericemminger.cart.tools.CartTool.init(CartTool.java:59)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools(TurbinePullService.java:478)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbinePullService.java:406)
	at 
org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull.java:145)
	at 
org.apache.turbine.services.velocity.TurbineVelocityService.getContext(TurbineVelocityService.java:249)
	at 
org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineVelocity.java:156)
	at 
org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(VelocityPage.java:84)
	at 
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:137)
	at org.apache.turbine.modules.Page.build(Page.java:90)
	at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
	at org.apache.turbine.Turbine.doGet(Turbine.java:563)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:450)
	at 
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
	at java.lang.Thread.run(Thread.java:536)
rethrown as org.apache.torque.TorqueException: String index out of range: 23
	at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1623)
	at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1497)
	at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1321)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:411)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:378)
	at com.ericemminger.cart.om.BaseCartPeer.doSelect(BaseCartPeer.java:347)
	at com.ericemminger.cart.util.AppCache.getCart(AppCache.java:932)
	at com.ericemminger.cart.tools.CartTool.init(CartTool.java:59)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools(TurbinePullService.java:478)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbinePullService.java:406)
	at 
org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull.java:145)
	at 
org.apache.turbine.services.velocity.TurbineVelocityService.getContext(TurbineVelocityService.java:249)
	at 
org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineVelocity.java:156)
	at 
org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(VelocityPage.java:84)
	at 
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:137)
	at org.apache.turbine.modules.Page.build(Page.java:90)
	at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
	at org.apache.turbine.Turbine.doGet(Turbine.java:563)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:450)
	at 
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
	at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out 
of range: 23
	at java.lang.String.charAt(String.java:460)
	at org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653)
	at org.postgresql.jdbc2.ResultSet.getTimestamp(ResultSet.java:398)
	at com.workingdogs.village.Value.<init>(Unknown Source)
	at com.workingdogs.village.Record.createValues(Unknown Source)
	at com.workingdogs.village.Record.<init>(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1594)
	... 55 more
rethrown as org.apache.torque.TorqueException: String index out of range: 23
	at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1502)
	at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1321)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:411)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:378)
	at com.ericemminger.cart.om.BaseCartPeer.doSelect(BaseCartPeer.java:347)
	at com.ericemminger.cart.util.AppCache.getCart(AppCache.java:932)
	at com.ericemminger.cart.tools.CartTool.init(CartTool.java:59)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools(TurbinePullService.java:478)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbinePullService.java:406)
	at 
org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull.java:145)
	at 
org.apache.turbine.services.velocity.TurbineVelocityService.getContext(TurbineVelocityService.java:249)
	at 
org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineVelocity.java:156)
	at 
org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(VelocityPage.java:84)
	at 
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:137)
	at org.apache.turbine.modules.Page.build(Page.java:90)
	at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
	at org.apache.turbine.Turbine.doGet(Turbine.java:563)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:450)
	at 
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
	at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.torque.TorqueException: String index out of range: 23
	at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1623)
	at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1497)
	... 54 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out 
of range: 23
	at java.lang.String.charAt(String.java:460)
	at org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653)
	at org.postgresql.jdbc2.ResultSet.getTimestamp(ResultSet.java:398)
	at com.workingdogs.village.Value.<init>(Unknown Source)
	at com.workingdogs.village.Record.createValues(Unknown Source)
	at com.workingdogs.village.Record.<init>(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1594)
	... 55 more
rethrown as org.apache.torque.TorqueException: String index out of range: 23
	at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1334)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:411)
	at 
com.ericemminger.cart.om.BaseCartPeer.doSelectVillageRecords(BaseCartPeer.java:378)
	at com.ericemminger.cart.om.BaseCartPeer.doSelect(BaseCartPeer.java:347)
	at com.ericemminger.cart.util.AppCache.getCart(AppCache.java:932)
	at com.ericemminger.cart.tools.CartTool.init(CartTool.java:59)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools(TurbinePullService.java:478)
	at 
org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbinePullService.java:406)
	at 
org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull.java:145)
	at 
org.apache.turbine.services.velocity.TurbineVelocityService.getContext(TurbineVelocityService.java:249)
	at 
org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineVelocity.java:156)
	at 
org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(VelocityPage.java:84)
	at 
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:137)
	at org.apache.turbine.modules.Page.build(Page.java:90)
	at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
	at org.apache.turbine.Turbine.doGet(Turbine.java:563)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:450)
	at 
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
	at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
	at java.lang.Thread.run(Thread.java:536)
Caused by: org.apache.torque.TorqueException: String index out of range: 23
	at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1502)
	at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1321)
	... 53 more
Caused by: org.apache.torque.TorqueException: String index out of range: 23
	at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1623)
	at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:1497)
	... 54 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out 
of range: 23
	at java.lang.String.charAt(String.java:460)
	at org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653)
	at org.postgresql.jdbc2.ResultSet.getTimestamp(ResultSet.java:398)
	at com.workingdogs.village.Value.<init>(Unknown Source)
	at com.workingdogs.village.Record.createValues(Unknown Source)
	at com.workingdogs.village.Record.<init>(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at com.workingdogs.village.DataSet.fetchRecords(Unknown Source)
	at org.apache.torque.util.BasePeer.getSelectResults(BasePeer.java:1594)
	... 55 more


Mime
View raw message