See <http://hudson.opengeo.org/hudson/job/geotools-trunk/2235/changes>

Changes:

[aaime] GEOT-2829, All ContentDataStore subclasses fail with NPE on 
transactions that have both inserts and attached feature listeners

[mbedward] GEOT-2831 refactored InfoTool so that it no longer directly 
references grid coverage classes; these are now loaded lazily via a helper 
class. Simplified MapLayerUtils. A few minor tweaks.

------------------------------------------
[...truncated 5992 lines...]
INFO: Mosaic Reader needs : 0 millisecs
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.611 sec
Running org.geotools.gce.imagemosaic.jdbc.ImageMosaicJDBCServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Tests run: 26, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/imagemosaic-jdbc/target/gt-imagemosaic-jdbc-2.7-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-trunk/ws/gt_trunk/modules/plugin/imagemosaic-jdbc/target/gt-imagemosaic-jdbc-2.7-SNAPSHOT-sources.jar>
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/imagemosaic-jdbc/target/gt-imagemosaic-jdbc-2.7-SNAPSHOT.jar>
 to 
/home/tomcat/.m2/repository/org/geotools/gt-imagemosaic-jdbc/2.7-SNAPSHOT/gt-imagemosaic-jdbc-2.7-SNAPSHOT.jar
[INFO] Installing 
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/imagemosaic-jdbc/target/gt-imagemosaic-jdbc-2.7-SNAPSHOT-sources.jar>
 to 
/home/tomcat/.m2/repository/org/geotools/gt-imagemosaic-jdbc/2.7-SNAPSHOT/gt-imagemosaic-jdbc-2.7-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-trunk/ws/gt_trunk/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-trunk/ws/gt_trunk/modules/plugin/jdbc/target/pom-transformed.xml>
 to 
/home/tomcat/.m2/repository/org/geotools/jdbc/gt-jdbc/2.7-SNAPSHOT/gt-jdbc-2.7-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-trunk/ws/gt_trunk/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-trunk/ws/gt_trunk/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 31 source files to 
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/jdbc/jdbc-h2/target/test-classes>
[INFO] [surefire:test]
[INFO] Surefire report directory: 
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/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:283)
        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:151)
        at 
org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:353)
        at 
org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:509)
        at 
org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:209)
        at 
org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:481)
        at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:207)
        at 
org.geotools.jdbc.JDBCFeatureSourceTest.testGetFeaturesWithInvalidFilter(JDBCFeatureSourceTest.java:137)
        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:104)
        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:283)
        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:151)
        at 
org.geotools.jdbc.JDBCFeatureSource.splitFilter(JDBCFeatureSource.java:353)
        at 
org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeatureSource.java:509)
        at 
org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatureStore.java:209)
        at 
org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:481)
        at 
org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:207)
        at 
org.geotools.jdbc.JDBCFeatureSourceTest.testGetFeaturesWithInvalidQuery(JDBCFeatureSourceTest.java:201)
        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:104)
        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: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.099 sec
Running org.geotools.data.h2.H2DataStoreTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.693 sec
Running org.geotools.data.h2.H2PrimaryKeyTest
Nov 12, 2009 9:51:47 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for nokey
Nov 12, 2009 9:51:47 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for nokey.
Nov 12, 2009 9:51:47 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.38 sec
Running org.geotools.data.h2.H2BooleanTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec
Running org.geotools.data.h2.H2GeometrylessTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.859 sec
Running org.geotools.data.h2.H2ViewTest
Nov 12, 2009 9:51:49 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lakesview
Nov 12, 2009 9:51:49 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lakesview.
Nov 12, 2009 9:51:49 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lakesview
Nov 12, 2009 9:51:49 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lakesview.
Nov 12, 2009 9:51:49 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lakesview
Nov 12, 2009 9:51:49 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lakesview.
Nov 12, 2009 9:51:50 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lakesview
Nov 12, 2009 9:51:50 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.916 sec
Running org.geotools.data.h2.H2JNDIDataSourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec
Running org.geotools.data.h2.H2FeatureCollectionTest
Nov 12, 2009 9:51:50 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.773 sec
Running org.geotools.data.h2.H2DataStoreAPITest
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.289 sec
Running org.geotools.data.h2.H2SpatialFiltersTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.544 sec
Running org.geotools.data.h2.jndi.H2DataStoreTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.08 sec
Running org.geotools.data.h2.H2SkipColumnTest
Nov 12, 2009 9:52:00 AM org.geotools.jdbc.JDBCFeatureSource buildFeatureType
WARNING: Could not find mapping for 'weird', ignoring the column and setting 
the feature type read only
Nov 12, 2009 9:52:00 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.426 sec
Running org.geotools.data.h2.H2FeatureStoreTest
Nov 12, 2009 9:52:00 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: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.469 sec <<< 
FAILURE!
Running org.geotools.data.h2.H2FeatureLockingTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec
Running org.geotools.data.h2.H2FeatureReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 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
Nov 12, 2009 9:52:04 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for empty
Nov 12, 2009 9:52:04 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for empty.
Nov 12, 2009 9:52:04 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for empty
Nov 12, 2009 9:52:04 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for empty.
Nov 12, 2009 9:52:05 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
Nov 12, 2009 9:52:05 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lake
Nov 12, 2009 9:52:05 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.053 sec
Running org.geotools.data.h2.H2GeometryAssociationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec
Running org.geotools.data.h2.H2NoPrimaryKeyTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running org.geotools.data.h2.H2ForeignKeyTest
Nov 12, 2009 9:52:05 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lake
Nov 12, 2009 9:52:05 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lake.
Nov 12, 2009 9:52:05 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lake
Nov 12, 2009 9:52:05 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lake.
Nov 12, 2009 9:52:05 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
INFO: No primary key found for lake
Nov 12, 2009 9:52:05 AM org.geotools.jdbc.JDBCDataStore getPrimaryKey
WARNING: No primary key or unique index found for lake.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec
Running org.geotools.data.h2.H2AggregateFunctionTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec

Results :

Tests in error: 
  testAddInTransaction(org.geotools.data.h2.H2FeatureStoreTest)

Tests run: 170, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to 
<http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/plugin/jdbc/jdbc-h2/target/surefire-reports>
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 minutes 15 seconds
[INFO] Finished at: Thu Nov 12 09:52:05 EST 2009
[INFO] Final Memory: 47M/136M
[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

Reply via email to