See http://hudson.opengeo.org/hudson/job/geotools-2.5.x/566/changes
Changes: [aaime] GEOT-2635, PostgisNG and Oracle NG are using access by name instead of positional access [aaime] Whoops, adding a test I forgot to commit when dealing with column skipping patch ------------------------------------------ [...truncated 5855 lines...] [INFO] Installing http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imagemosaic-jdbc/target/gt-imagemosaic-jdbc-2.5-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geotools/gt-imagemosaic-jdbc/2.5-SNAPSHOT/gt-imagemosaic-jdbc-2.5-SNAPSHOT.jar [INFO] Installing http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/imagemosaic-jdbc/target/gt-imagemosaic-jdbc-2.5-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geotools/gt-imagemosaic-jdbc/2.5-SNAPSHOT/gt-imagemosaic-jdbc-2.5-SNAPSHOT-sources.jar [INFO] ------------------------------------------------------------------------ [INFO] Building JDBC DataStore Plugins [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/target [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] [jar-collector:collect {execution: default}] [INFO] [install:install] [INFO] Installing http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/target/pom-transformed.xml to /home/tomcat/.m2/repository/org/geotools/jdbc/gt-jdbc/2.5-SNAPSHOT/gt-jdbc-2.5-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Building H2 DataStore [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target [INFO] [resources:resources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [compiler:compile] [INFO] Compiling 6 source files to http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target/classes [INFO] [resources:testResources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [compiler:testCompile] [INFO] Compiling 30 source files to http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- 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:759) at org.geotools.filter.AttributeExpressionImpl.accept(AttributeExpressionImpl.java:280) at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visitBinaryComparisonOperator(PostPreProcessFilterSplittingVisitor.java:426) at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visit(PostPreProcessFilterSplittingVisitor.java:384) at org.geotools.filter.IsEqualsToImpl.accept(IsEqualsToImpl.java:149) at org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:352) at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:508) at org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:206) at org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:508) at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:226) at org.geotools.jdbc.JDBCFeatureSourceTest.testGetFeaturesWithInvalidFilter(JDBCFeatureSourceTest.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at org.geotools.jdbc.JDBCTestSupport.run(JDBCTestSupport.java:102) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) java.lang.IllegalArgumentException: Property 'invalidAttribute' could not be found in ft1 at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visit(PostPreProcessFilterSplittingVisitor.java:759) at org.geotools.filter.AttributeExpressionImpl.accept(AttributeExpressionImpl.java:280) at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visitBinaryComparisonOperator(PostPreProcessFilterSplittingVisitor.java:426) at org.geotools.filter.visitor.PostPreProcessFilterSplittingVisitor.visit(PostPreProcessFilterSplittingVisitor.java:384) at org.geotools.filter.IsEqualsToImpl.accept(IsEqualsToImpl.java:149) at org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:352) at org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:508) at org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:206) at org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:508) at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:226) at org.geotools.jdbc.JDBCFeatureSourceTest.testGetFeaturesWithInvalidQuery(JDBCFeatureSourceTest.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at org.geotools.jdbc.JDBCTestSupport.run(JDBCTestSupport.java:102) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.868 sec Running org.geotools.data.h2.H2DataStoreTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.596 sec Running org.geotools.data.h2.H2PrimaryKeyTest Aug 6, 2009 10:28:25 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for nokey Aug 6, 2009 10:28:25 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for nokey. Aug 6, 2009 10:28:26 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for uniq Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.267 sec Running org.geotools.data.h2.H2BooleanTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.351 sec Running org.geotools.data.h2.H2GeometrylessTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.641 sec Running org.geotools.data.h2.H2ViewTest Aug 6, 2009 10:28:27 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lakesview Aug 6, 2009 10:28:27 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lakesview. Aug 6, 2009 10:28:27 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lakesview Aug 6, 2009 10:28:27 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lakesview. Aug 6, 2009 10:28:27 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lakesview Aug 6, 2009 10:28:27 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lakesview. Aug 6, 2009 10:28:28 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lakesview Aug 6, 2009 10:28:28 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lakesview. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.908 sec Running org.geotools.data.h2.H2JNDIDataSourceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec Running org.geotools.data.h2.H2FeatureCollectionTest Aug 6, 2009 10:28:28 AM org.geotools.jdbc.JDBCDataStore finalize 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: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.695 sec Running org.geotools.data.h2.H2DataStoreAPITest Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.97 sec Running org.geotools.data.h2.H2SpatialFiltersTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.588 sec Running org.geotools.data.h2.jndi.H2DataStoreTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.061 sec Running org.geotools.data.h2.H2SkipColumnTest Aug 6, 2009 10:28:38 AM org.geotools.jdbc.JDBCFeatureSource buildFeatureType WARNING: Could not find mapping for 'weird', ignoring the column and setting the feature type read only Aug 6, 2009 10:28:38 AM org.geotools.jdbc.JDBCFeatureSource buildFeatureType WARNING: Could not find mapping for 'weird', ignoring the column and setting the feature type read only Aug 6, 2009 10:28:39 AM org.geotools.jdbc.JDBCFeatureSource buildFeatureType 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: 0.444 sec Running org.geotools.data.h2.H2FeatureStoreTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.564 sec Running org.geotools.data.h2.H2FeatureLockingTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec Running org.geotools.data.h2.H2FeatureReaderTest Aug 6, 2009 10:28:39 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for empty Aug 6, 2009 10:28:39 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for empty. Aug 6, 2009 10:28:39 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for empty Aug 6, 2009 10:28:39 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for empty. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec Running org.geotools.data.h2.H2DataStoreFactoryTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running org.geotools.data.h2.H2EmptyTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running org.geotools.data.h2.H2JDBCTransactionTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec Running org.geotools.data.h2.H2GeometryAssociationTest Aug 6, 2009 10:28:39 AM org.geotools.jdbc.JDBCDataStore finalize 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: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 sec Running org.geotools.data.h2.H2NoPrimaryKeyTest Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lake Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lake. Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lake Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lake. Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lake Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lake. Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey INFO: No primary key found for lake Aug 6, 2009 10:28:40 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey WARNING: No primary key or unique index found for lake. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec Running org.geotools.data.h2.H2ForeignKeyTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec Results : Tests run: 157, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target/gt-jdbc-h2-2.5-SNAPSHOT.jar [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] Building jar: http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target/gt-jdbc-h2-2.5-SNAPSHOT-sources.jar [INFO] [jar-collector:collect {execution: default}] [INFO] [install:install] [INFO] Installing http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target/gt-jdbc-h2-2.5-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geotools/jdbc/gt-jdbc-h2/2.5-SNAPSHOT/gt-jdbc-h2-2.5-SNAPSHOT.jar [INFO] Installing http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-h2/target/gt-jdbc-h2-2.5-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geotools/jdbc/gt-jdbc-h2/2.5-SNAPSHOT/gt-jdbc-h2-2.5-SNAPSHOT-sources.jar [INFO] ------------------------------------------------------------------------ [INFO] Building Oracle DataStore [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-oracle/target [INFO] [resources:resources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [compiler:compile] [INFO] Compiling 18 source files to http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-oracle/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure http://hudson.opengeo.org/hudson/job/geotools-2.5.x/ws/gt_2.5.x/modules/plugin/jdbc/jdbc-oracle/src/main/java/org/geotools/data/oracle/OracleDialect.java :[325,20] decodeGeometryValue(org.opengis.feature.type.GeometryDescriptor,java.sql.ResultSet,int,com.vividsolutions.jts.geom.GeometryFactory,java.sql.Connection) in org.geotools.data.oracle.OracleDialect cannot override decodeGeometryValue(org.opengis.feature.type.GeometryDescriptor,java.sql.ResultSet,int,com.vividsolutions.jts.geom.GeometryFactory,java.sql.Connection) in org.geotools.jdbc.SQLDialect; overridden method is final [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 minutes 51 seconds [INFO] Finished at: Thu Aug 06 10:28:42 EDT 2009 [INFO] Final Memory: 51M/131M [INFO] ------------------------------------------------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel