FailedConsole Output

Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO] 
[INFO] --------------------< org.geotools.jdbc:gt-jdbc-h2 >--------------------
[INFO] Building H2 DataStore 19-SNAPSHOT                               [30/113]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- git-commit-id-plugin:2.1.15:revision (default) @ gt-jdbc-h2 ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gt-jdbc-h2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ gt-jdbc-h2 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gt-jdbc-h2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/hudson/genie.jts/.jenkins/jobs/GeoTools/workspace/modules/plugin/jdbc/jdbc-h2/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ gt-jdbc-h2 ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ gt-jdbc-h2 ---
[INFO] Surefire report directory: /home/hudson/genie.jts/.jenkins/jobs/GeoTools/workspace/modules/plugin/jdbc/jdbc-h2/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Xmx2G -Djava.io.tmpdir=/tmp/genie.jts
Running org.geotools.data.h2.H2AggregateFunctionTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.134 sec - in org.geotools.data.h2.H2AggregateFunctionTest
Running org.geotools.data.h2.H2BooleanTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.689 sec - in org.geotools.data.h2.H2BooleanTest
Running org.geotools.data.h2.H2ConnectionLifecycleTest
2018-06-28T18:34:49.638-0400  WARNING  Could not find mapping for 'geometry', ignoring the column and setting the feature type read only
2018-06-28T18:34:50.240-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.241-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.241-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.242-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.242-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.243-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.243-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.244-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.244-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.245-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.245-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.246-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.246-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.247-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.248-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.248-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.248-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.249-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.249-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.250-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.250-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.251-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.251-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.251-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.252-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.252-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.253-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.253-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.254-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.254-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.255-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.255-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.255-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.256-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.256-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.257-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.257-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.258-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.258-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.258-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.259-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.259-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.260-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.260-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.260-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.261-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.262-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.262-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.263-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.264-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.264-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.265-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.265-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.266-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.266-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.267-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.267-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.268-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.268-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.268-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.269-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.269-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.270-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.270-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.270-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.271-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.271-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.272-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.272-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.272-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.273-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.273-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.273-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.274-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.274-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.275-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.275-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.275-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.276-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.277-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.277-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.277-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.278-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.278-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.279-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.279-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.279-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.280-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.280-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.281-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.281-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.281-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.282-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.282-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.283-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.283-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.284-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.284-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.285-0400  WARNING  Error occurred closing connection
2018-06-28T18:34:50.285-0400  WARNING  Error occurred closing connection
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.746 sec - in org.geotools.data.h2.H2ConnectionLifecycleTest
Running org.geotools.data.h2.H2DataStoreAPITest
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.118 sec - in org.geotools.data.h2.H2DataStoreAPITest
Running org.geotools.data.h2.H2DataStoreFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.276 sec - in org.geotools.data.h2.H2DataStoreFactoryTest
Running org.geotools.data.h2.H2DataStoreTest
2018-06-28T18:35:14.474-0400  SEVERE  There's code using JDBC based datastore and not disposing them. This may lead to temporary loss of database connections. Please make sure all data access code calls DataStore.dispose() before freeing all references to it
2018-06-28T18:35:14.475-0400  SEVERE  There's code using JDBC based datastore and not disposing them. This may lead to temporary loss of database connections. Please make sure all data access code calls DataStore.dispose() before freeing all references to it
2018-06-28T18:35:14.475-0400  SEVERE  There's code using JDBC based datastore and not disposing them. This may lead to temporary loss of database connections. Please make sure all data access code calls DataStore.dispose() before freeing all references to it
2018-06-28T18:35:14.518-0400  SEVERE  There's code using JDBC based datastore and not disposing them. This may lead to temporary loss of database connections. Please make sure all data access code calls DataStore.dispose() before freeing all references to it
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.492 sec - in org.geotools.data.h2.H2DataStoreTest
Running org.geotools.data.h2.H2DateTest
[ d <= Sun Jun 28 00:00:00 GMT-12:00 2009 ]
[ d <= Sun Jun 28 00:00:00 PDT 2009 ]
[ d <= Sun Jun 28 00:00:00 EST 2009 ]
[ d <= Sun Jun 28 00:00:00 GMT 2009 ]
[ d <= Sun Jun 28 00:00:00 CEST 2009 ]
[ d <= Sun Jun 28 00:00:00 GMT+12:00 2009 ]
[ d <= Sun Jun 28 00:00:00 GMT+14:00 2009 ]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.252 sec - in org.geotools.data.h2.H2DateTest
Running org.geotools.data.h2.H2DistanceFiltersTest
Tests run: 8, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 4.821 sec <<< FAILURE! - in org.geotools.data.h2.H2DistanceFiltersTest
testDWithinGeographicFeet(org.geotools.data.h2.H2DistanceFiltersTest)  Time elapsed: 0.735 sec  <<< ERROR!
java.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)

testDWithinGeographicMile(org.geotools.data.h2.H2DistanceFiltersTest)  Time elapsed: 0.517 sec  <<< ERROR!
java.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.testDWithinGeographicMile(JDBCDistanceFiltersTest.java:52)
	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.testDWithinGeographicMile(JDBCDistanceFiltersTest.java:52)
	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.14212041760209712 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.testDWithinGeographicMile(JDBCDistanceFiltersTest.java:52)
	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)

testDWithinGeographicMeter(org.geotools.data.h2.H2DistanceFiltersTest)  Time elapsed: 0.584 sec  <<< ERROR!
java.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.testDWithinGeographicMeter(JDBCDistanceFiltersTest.java:43)
	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.testDWithinGeographicMeter(JDBCDistanceFiltersTest.java:43)
	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.142063162308142 AND "id" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('geotools', 'ft1', 2.857936837691858, 3.142063162308142, 2.857936837691858, 3.142063162308142)) [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.testDWithinGeographicMeter(JDBCDistanceFiltersTest.java:43)
	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)

testDWithinGeographicKm(org.geotools.data.h2.H2DistanceFiltersTest)  Time elapsed: 0.592 sec  <<< ERROR!
java.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.testDWithinGeographicKm(JDBCDistanceFiltersTest.java:34)
	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.testDWithinGeographicKm(JDBCDistanceFiltersTest.java:34)
	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.142063162308142 AND "id" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('geotools', 'ft1', 2.857936837691858, 3.142063162308142, 2.857936837691858, 3.142063162308142)) [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.testDWithinGeographicKm(JDBCDistanceFiltersTest.java:34)
	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)

Running org.geotools.data.h2.H2EmptyGeometryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.417 sec - in org.geotools.data.h2.H2EmptyGeometryTest
Running org.geotools.data.h2.H2EmptyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.913 sec - in org.geotools.data.h2.H2EmptyTest
Running org.geotools.data.h2.H2FeatureCollectionTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.671 sec - in org.geotools.data.h2.H2FeatureCollectionTest
Running org.geotools.data.h2.H2FeatureLockingTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.254 sec - in org.geotools.data.h2.H2FeatureLockingTest
Running org.geotools.data.h2.H2FeatureReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.593 sec - in org.geotools.data.h2.H2FeatureReaderTest
Running org.geotools.data.h2.H2FeatureSourceExposePkTest
java.lang.IllegalArgumentException: Property 'invalidAttribute' could not be found in ft1
	at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visit(PostPreProcessFilterSplittingVisitor.java:788)
	at org.geotools.filter.AttributeExpressionImpl.accept(AttributeExpressionImpl.java:340)
	at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visitBinaryComparisonOperator(PostPreProcessFilterSplittingVisitor.java:445)
	at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visit(PostPreProcessFilterSplittingVisitor.java:403)
	at org.geotools.filter.IsEqualsToImpl.accept(IsEqualsToImpl.java:157)
	at org.geotools.jdbc.SQLDialect.splitFilter(SQLDialect.java:1453)
	at org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:399)
	at org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:385)
	at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:572)
	at org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:226)
	at org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:647)
	at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:173)
	at org.geotools.jdbc.JDBCFeatureSourceOnlineTest.testGetFeaturesWithInvalidFilter(JDBCFeatureSourceOnlineTest.java:154)
	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)
Tests run: 31, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 24.763 sec <<< FAILURE! - in org.geotools.data.h2.H2FeatureSourceExposePkTest
testGetFeaturesWithLogicFilter(org.geotools.data.h2.H2FeatureSourceExposePkTest)  Time elapsed: 0.58 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter(JDBCFeatureSourceOnlineTest.java:169)
	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.JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter(JDBCFeatureSourceOnlineTest.java:169)
	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  ("stringProperty" = 'one' AND "stringProperty" IS NOT NULL  AND ST_Intersects("geometry",ST_GeomFromText('POLYGON ((-20 -20, -20 20, 20 20, 20 -20, -20 -20))', 4326)) AND "id" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('geotools', 'ft1', -20.0, 20.0, -20.0, 20.0))) [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.readTerm(Parser.java:2304)
	at org.h2.command.Parser.readFactor(Parser.java:1852)
	at org.h2.command.Parser.readSum(Parser.java:1839)
	at org.h2.command.Parser.readConcat(Parser.java:1812)
	at org.h2.command.Parser.readCondition(Parser.java:1683)
	at org.h2.command.Parser.readAnd(Parser.java:1663)
	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.JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter(JDBCFeatureSourceOnlineTest.java:169)
	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)

Running org.geotools.data.h2.H2FeatureSourceTest
java.lang.IllegalArgumentException: Property 'invalidAttribute' could not be found in ft1
	at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visit(PostPreProcessFilterSplittingVisitor.java:788)
	at org.geotools.filter.AttributeExpressionImpl.accept(AttributeExpressionImpl.java:340)
	at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visitBinaryComparisonOperator(PostPreProcessFilterSplittingVisitor.java:445)
	at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visit(PostPreProcessFilterSplittingVisitor.java:403)
	at org.geotools.filter.IsEqualsToImpl.accept(IsEqualsToImpl.java:157)
	at org.geotools.jdbc.SQLDialect.splitFilter(SQLDialect.java:1453)
	at org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:399)
	at org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:385)
	at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:572)
	at org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:226)
	at org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:647)
	at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:173)
	at org.geotools.jdbc.JDBCFeatureSourceOnlineTest.testGetFeaturesWithInvalidFilter(JDBCFeatureSourceOnlineTest.java:154)
	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)
Tests run: 31, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 16.91 sec <<< FAILURE! - in org.geotools.data.h2.H2FeatureSourceTest
testGetFeaturesWithLogicFilter(org.geotools.data.h2.H2FeatureSourceTest)  Time elapsed: 0.531 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter(JDBCFeatureSourceOnlineTest.java:169)
	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.JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter(JDBCFeatureSourceOnlineTest.java:169)
	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  ("stringProperty" = 'one' AND "stringProperty" IS NOT NULL  AND ST_Intersects("geometry",ST_GeomFromText('POLYGON ((-20 -20, -20 20, 20 20, 20 -20, -20 -20))', 4326)) AND "id" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('geotools', 'ft1', -20.0, 20.0, -20.0, 20.0))) [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.readTerm(Parser.java:2304)
	at org.h2.command.Parser.readFactor(Parser.java:1852)
	at org.h2.command.Parser.readSum(Parser.java:1839)
	at org.h2.command.Parser.readConcat(Parser.java:1812)
	at org.h2.command.Parser.readCondition(Parser.java:1683)
	at org.h2.command.Parser.readAnd(Parser.java:1663)
	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.JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter(JDBCFeatureSourceOnlineTest.java:169)
	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)

Running org.geotools.data.h2.H2FeatureStoreExposedPkTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.372 sec - in org.geotools.data.h2.H2FeatureStoreExposedPkTest
Running org.geotools.data.h2.H2FeatureStoreTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.755 sec - in org.geotools.data.h2.H2FeatureStoreTest
Running org.geotools.data.h2.H2GeometryTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.953 sec - in org.geotools.data.h2.H2GeometryTest
Running org.geotools.data.h2.H2GeometrylessTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.065 sec - in org.geotools.data.h2.H2GeometrylessTest
Running org.geotools.data.h2.H2JDBCTransactionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.231 sec - in org.geotools.data.h2.H2JDBCTransactionTest
Running org.geotools.data.h2.H2JNDIDataSourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.988 sec - in org.geotools.data.h2.H2JNDIDataSourceTest
Running org.geotools.data.h2.H2JoinTest
2018-06-28T18:36:56.888-0400  SEVERE  There's code using JDBC based datastore and not disposing them. This may lead to temporary loss of database connections. Please make sure all data access code calls DataStore.dispose() before freeing all references to it
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.316 sec - in org.geotools.data.h2.H2JoinTest
Running org.geotools.data.h2.H2LobTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.226 sec - in org.geotools.data.h2.H2LobTest
Running org.geotools.data.h2.H2NoPrimaryKeyTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.123 sec - in org.geotools.data.h2.H2NoPrimaryKeyTest
Running org.geotools.data.h2.H2PrimaryKeyFinderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.441 sec - in org.geotools.data.h2.H2PrimaryKeyFinderTest
Running org.geotools.data.h2.H2PrimaryKeyTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.191 sec - in org.geotools.data.h2.H2PrimaryKeyTest
Running org.geotools.data.h2.H2SkipColumnTest
2018-06-28T18:37:20.432-0400  WARNING  Could not find mapping for 'weird', ignoring the column and setting the feature type read only
2018-06-28T18:37:20.902-0400  WARNING  Could not find mapping for 'weird', ignoring the column and setting the feature type read only
2018-06-28T18:37:22.250-0400  WARNING  Could not find mapping for 'weird', ignoring the column and setting the feature type read only
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.258 sec - in org.geotools.data.h2.H2SkipColumnTest
Running org.geotools.data.h2.H2SpatialFiltersTest
Tests run: 11, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 12.272 sec <<< FAILURE! - in org.geotools.data.h2.H2SpatialFiltersTest
testContainsFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.594 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testContainsFilter(JDBCSpatialFiltersOnlineTest.java:157)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testContainsFilter(JDBCSpatialFiltersOnlineTest.java:157)
	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 "road" WHERE  ST_Contains(ST_GeomFromText('POLYGON ((2 -1, 2 5, 4 5, 4 -1, 2 -1))', 4326), "geom") AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 2.0, 4.0, -1.0, 5.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testContainsFilter(JDBCSpatialFiltersOnlineTest.java:157)
	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)

testGeometryCollection(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 3.576 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testGeometryCollection(JDBCSpatialFiltersOnlineTest.java:233)
	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.JDBCSpatialFiltersOnlineTest.testGeometryCollection(JDBCSpatialFiltersOnlineTest.java:233)
	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 "road" WHERE  ST_Distance("geom", ST_GeomFromText('GEOMETRYCOLLECTION (LINESTRING (30 40, 50 60), LINESTRING (40 30, 70 40))', 4326))<5.1350823507750884E-5 AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 29.999948649176492, 70.00005135082351, 29.999948649176492, 60.000051350823504)) [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.JDBCSpatialFiltersOnlineTest.testGeometryCollection(JDBCSpatialFiltersOnlineTest.java:233)
	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)

testWithinFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 2.792 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testWithinFilter(JDBCSpatialFiltersOnlineTest.java:175)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testWithinFilter(JDBCSpatialFiltersOnlineTest.java:175)
	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 "road" WHERE  ST_Within("geom", ST_GeomFromText('POLYGON ((2 -1, 2 5, 4 5, 4 -1, 2 -1))', 4326)) AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 2.0, 4.0, -1.0, 5.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testWithinFilter(JDBCSpatialFiltersOnlineTest.java:175)
	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)

testIntersectsFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.557 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testIntersectsFilter(JDBCSpatialFiltersOnlineTest.java:122)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testIntersectsFilter(JDBCSpatialFiltersOnlineTest.java:122)
	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 "road" WHERE  ST_Intersects("geom", ST_GeomFromText('LINESTRING (2 1, 2 3)', 4326)) AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 2.0, 2.0, 1.0, 3.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testIntersectsFilter(JDBCSpatialFiltersOnlineTest.java:122)
	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)

testTouchesFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.706 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testTouchesFilter(JDBCSpatialFiltersOnlineTest.java:144)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testTouchesFilter(JDBCSpatialFiltersOnlineTest.java:144)
	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 "road" WHERE  ST_Touches("geom", ST_GeomFromText('LINESTRING (1 1, 1 3)', 4326)) AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 1.0, 1.0, 1.0, 3.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testTouchesFilter(JDBCSpatialFiltersOnlineTest.java:144)
	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)

testEqualsFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.825 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testEqualsFilter(JDBCSpatialFiltersOnlineTest.java:198)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testEqualsFilter(JDBCSpatialFiltersOnlineTest.java:198)
	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 "road" WHERE  ST_Equals(ST_GeomFromText('LINESTRING (3 2, 4 2, 5 3)', 4326), "geom") AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 3.0, 5.0, 2.0, 3.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testEqualsFilter(JDBCSpatialFiltersOnlineTest.java:198)
	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)

testBboxFilterDefault(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.632 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testBboxFilterDefault(JDBCSpatialFiltersOnlineTest.java:100)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testBboxFilterDefault(JDBCSpatialFiltersOnlineTest.java:100)
	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 "road" WHERE  ST_Intersects("geom",ST_GeomFromText('POLYGON ((2 3, 2 5, 4 5, 4 3, 2 3))', 4326)) AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 2.0, 4.0, 3.0, 5.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testBboxFilterDefault(JDBCSpatialFiltersOnlineTest.java:100)
	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)

testIntersectsRingFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.653 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testIntersectsRingFilter(JDBCSpatialFiltersOnlineTest.java:133)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testIntersectsRingFilter(JDBCSpatialFiltersOnlineTest.java:133)
	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 "road" WHERE  ST_Intersects("geom", ST_GeomFromText('LINESTRING (2 1, 2 3, 0 3, 2 1)', 4326)) AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 0.0, 2.0, 1.0, 3.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testIntersectsRingFilter(JDBCSpatialFiltersOnlineTest.java:133)
	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)

testCrossesFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.669 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testCrossesFilter(JDBCSpatialFiltersOnlineTest.java:111)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testCrossesFilter(JDBCSpatialFiltersOnlineTest.java:111)
	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 "road" WHERE  ST_Crosses("geom", ST_GeomFromText('LINESTRING (2 3, 4 3)', 4326)) AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 2.0, 4.0, 3.0, 3.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testCrossesFilter(JDBCSpatialFiltersOnlineTest.java:111)
	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)

testBboxFilter(org.geotools.data.h2.H2SpatialFiltersTest)  Time elapsed: 0.663 sec  <<< ERROR!
java.lang.RuntimeException: java.io.IOException
	at org.geotools.data.store.ContentFeatureCollection.size(ContentFeatureCollection.java:259)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testBboxFilter(JDBCSpatialFiltersOnlineTest.java:92)
	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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testBboxFilter(JDBCSpatialFiltersOnlineTest.java:92)
	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 "road" WHERE  ST_Intersects("geom",ST_GeomFromText('POLYGON ((2 3, 2 5, 4 5, 4 3, 2 3))', 4326)) AND "fid" IN (SELECT CAST(HATBOX_JOIN_ID AS INT) FROM HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'road', 2.0, 4.0, 3.0, 5.0)) [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.JDBCSpatialFiltersOnlineTest.checkSingleResult(JDBCSpatialFiltersOnlineTest.java:202)
	at org.geotools.jdbc.JDBCSpatialFiltersOnlineTest.testBboxFilter(JDBCSpatialFiltersOnlineTest.java:92)
	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)

Running org.geotools.data.h2.H2TemporalFilterTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.756 sec - in org.geotools.data.h2.H2TemporalFilterTest
Running org.geotools.data.h2.H2ThreeValuedLogicTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.984 sec - in org.geotools.data.h2.H2ThreeValuedLogicTest
Running org.geotools.data.h2.H2TypeNamesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 sec - in org.geotools.data.h2.H2TypeNamesTest
Running org.geotools.data.h2.H2UDTTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.023 sec - in org.geotools.data.h2.H2UDTTest
Running org.geotools.data.h2.H2UuidTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.733 sec - in org.geotools.data.h2.H2UuidTest
Running org.geotools.data.h2.H2ViewTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.077 sec - in org.geotools.data.h2.H2ViewTest
Running org.geotools.data.h2.H2VirtualTableTest
2018-06-28T18:37:45.880-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:46.471-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:47.068-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:47.382-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:47.918-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:48.342-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:48.348-0400  SEVERE  Invalid value for parameter mul
java.lang.IllegalArgumentException: Value abc does not match [\d\.e\+-]+
	at org.geotools.jdbc.RegexpValidator.validate(RegexpValidator.java:45)
	at org.geotools.jdbc.VirtualTable.expandParameters(VirtualTable.java:201)
	at org.geotools.jdbc.JDBCDataStore.encodeAliasedTableName(JDBCDataStore.java:4442)
	at org.geotools.jdbc.JDBCDataStore.encodeTableName(JDBCDataStore.java:4431)
	at org.geotools.jdbc.JDBCDataStore.selectSQL(JDBCDataStore.java:3271)
	at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:614)
	at org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:647)
	at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:173)
	at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:58)
	at org.geotools.jdbc.JDBCVirtualTableOnlineTest.testMulParamInvalid(JDBCVirtualTableOnlineTest.java:265)
	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)

2018-06-28T18:37:49.236-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:49.769-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:50.222-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:50.651-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:51.083-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:52.012-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
2018-06-28T18:37:52.576-0400  WARNING  Could not find mapping for 'geom', ignoring the column and setting the feature type read only
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7 sec - in org.geotools.data.h2.H2VirtualTableTest
Running org.geotools.data.h2.jndi.H2DataStoreTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.104 sec - in org.geotools.data.h2.jndi.H2DataStoreTest

Results :

Tests in error: 
  H2DistanceFiltersTest>OnlineTestCase.run:123->JDBCDistanceFiltersTest.testDWithinGeographicFeet:61->JDBCDistanceFiltersTest.assertDWithinFilter:121 » Runtime
  H2DistanceFiltersTest>OnlineTestCase.run:123->JDBCDistanceFiltersTest.testDWithinGeographicMile:52->JDBCDistanceFiltersTest.assertDWithinFilter:121 » Runtime
  H2DistanceFiltersTest>OnlineTestCase.run:123->JDBCDistanceFiltersTest.testDWithinGeographicMeter:43->JDBCDistanceFiltersTest.assertDWithinFilter:121 » Runtime
  H2DistanceFiltersTest>OnlineTestCase.run:123->JDBCDistanceFiltersTest.testDWithinGeographicKm:34->JDBCDistanceFiltersTest.assertDWithinFilter:121 » Runtime
  H2FeatureSourceExposePkTest>OnlineTestCase.run:123->JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter:169 » Runtime
  H2FeatureSourceTest>OnlineTestCase.run:123->JDBCFeatureSourceOnlineTest.testGetFeaturesWithLogicFilter:169 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testContainsFilter:157->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testGeometryCollection:233 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testWithinFilter:175->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testIntersectsFilter:122->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testTouchesFilter:144->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testEqualsFilter:198->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testBboxFilterDefault:100->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testIntersectsRingFilter:133->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testCrossesFilter:111->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime
  H2SpatialFiltersTest>OnlineTestCase.run:123->JDBCSpatialFiltersOnlineTest.testBboxFilter:92->JDBCSpatialFiltersOnlineTest.checkSingleResult:202 » Runtime

Tests run: 335, Failures: 0, Errors: 16, Skipped: 0

[JENKINS] Recording test results