GUEDDES / swqp

Automatically exported from code.google.com/p/swqp
0 stars 0 forks source link

getSiteCounts barfs #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[INFO ] QueryExecutorImpl - Query execution took 17 ms
[ERROR] SemantAquaServlet - Invalid target for invocation
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at edu.rpi.tw.escience.waterquality.SemantAquaServlet.doGet(SemantAquaServlet.java:157)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at edu.rpi.tw.escience.waterquality.CacheControlFilter.doFilter(CacheControlFilter.java:40)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at edu.rpi.tw.escience.waterquality.dataprovider.InstanceCounter.buildUSGSCounter(InstanceCounter.java:138)
        at edu.rpi.tw.escience.waterquality.dataprovider.InstanceCounter.build(InstanceCounter.java:69)
        at edu.rpi.tw.escience.waterquality.dataprovider.WaterDataProviderModule.getSiteCounts(WaterDataProviderModule.java:206)
        ... 26 more

Original issue reported on code.google.com by apse...@gmail.com on 8 Nov 2012 at 5:58

GoogleCodeExporter commented 9 years ago
why is there a problem in instance counter when we disabled water??

Original comment by apse...@gmail.com on 8 Nov 2012 at 5:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r501.

Original comment by ewpat...@gmail.com on 8 Nov 2012 at 3:08