268org.geotools.data.h2.H2DistanceFiltersTest0.735java.io.IOExceptionjava.lang.RuntimeException: java.io.IOException at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259) at org.geotools.jdbc.JDBCDistanceFiltersTest.assertDWithinFilter(JDBCDistanceFiltersTest.java:121) at org.geotools.jdbc.JDBCDistanceFiltersTest.testDWithinGeographicFeet(JDBCDistanceFiltersTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:123) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.io.IOException: null at org.geotools.jdbc.JDBCDataStore.getAggregateValue(JDBCDataStore.java:1508) at org.geotools.jdbc.JDBCDataStore.getCount(JDBCDataStore.java:1432) at org.geotools.jdbc.JDBCFeatureSource.getCountInternal(JDBCFeatureSource.java:463) at org.geotools.data.store.ContentFeatureSource.getCount(ContentFeatureSource.java:498) at org.geotools.jdbc.JDBCFeatureStore.getCountInternal(JDBCFeatureStore.java:184) at org.geotools.data.store.ContentFeatureSource.getCount(ContentFeatureSource.java:498) at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:236) at org.geotools.jdbc.JDBCDistanceFiltersTest.assertDWithinFilter(JDBCDistanceFiltersTest.java:121) at org.geotools.jdbc.JDBCDistanceFiltersTest.testDWithinGeographicFeet(JDBCDistanceFiltersTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:123) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: org.h2.jdbc.JdbcSQLException: Function HATBOX_MBR_INTERSECTS_ENV not found; SQL statement: SELECT count(*) FROM "geotools"."ft1" WHERE ST_Distance("geometry", ST_GeomFromText('POINT (3 3)', 4326))<0.1421204176020971 AND "id" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('geotools', 'ft1', 2.857879582397903, 3.142120417602097, 2.857879582397903, 3.142120417602097)) [90022-119] at org.h2.message.Message.getSQLException(Message.java:106) at org.h2.message.Message.getSQLException(Message.java:117) at org.h2.message.Message.getSQLException(Message.java:76) at org.h2.command.Parser.readJavaFunction(Parser.java:1921) at org.h2.command.Parser.readFunction(Parser.java:1962) at org.h2.command.Parser.readTableFilter(Parser.java:972) at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1511) at org.h2.command.Parser.parseSelectSimple(Parser.java:1608) at org.h2.command.Parser.parseSelectSub(Parser.java:1505) at org.h2.command.Parser.parseSelectUnion(Parser.java:1350) at org.h2.command.Parser.parseSelect(Parser.java:1338) at org.h2.command.Parser.readCondition(Parser.java:1727) at org.h2.command.Parser.readAnd(Parser.java:1665) at org.h2.command.Parser.readExpression(Parser.java:1655) at org.h2.command.Parser.parseSelectSimple(Parser.java:1612) at org.h2.command.Parser.parseSelectSub(Parser.java:1505) at org.h2.command.Parser.parseSelectUnion(Parser.java:1350) at org.h2.command.Parser.parseSelect(Parser.java:1338) at org.h2.command.Parser.parsePrepared(Parser.java:395) at org.h2.command.Parser.parse(Parser.java:291) at org.h2.command.Parser.parse(Parser.java:263) at org.h2.command.Parser.prepareCommand(Parser.java:235) at org.h2.engine.Session.prepareLocal(Session.java:415) at org.h2.engine.Session.prepareCommand(Session.java:376) at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1049) at org.h2.jdbc.JdbcStatement.executeQuery(JdbcStatement.java:70) at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208) at org.geotools.jdbc.JDBCDataStore.getAggregateValue(JDBCDataStore.java:1483) at org.geotools.jdbc.JDBCDataStore.getCount(JDBCDataStore.java:1432) at org.geotools.jdbc.JDBCFeatureSource.getCountInternal(JDBCFeatureSource.java:463) at org.geotools.data.store.ContentFeatureSource.getCount(ContentFeatureSource.java:498) at org.geotools.jdbc.JDBCFeatureStore.getCountInternal(JDBCFeatureStore.java:184) at org.geotools.data.store.ContentFeatureSource.getCount(ContentFeatureSource.java:498) at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:236) at org.geotools.jdbc.JDBCDistanceFiltersTest.assertDWithinFilter(JDBCDistanceFiltersTest.java:121) at org.geotools.jdbc.JDBCDistanceFiltersTest.testDWithinGeographicFeet(JDBCDistanceFiltersTest.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:123) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) 5testDWithinGeographicFeetfalseFAILED