Intermittent build failure in gt-feature-pregeneralized ShapeFilePreGeneralizedFeatureSourceTest ------------------------------------------------------------------------------------------------
Key: GEOT-3268 URL: http://jira.codehaus.org/browse/GEOT-3268 Project: GeoTools Issue Type: Bug Components: data shapefile Affects Versions: 2.7-M4 Environment: Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800) Java version: 1.5.0_22 Java home: /home/car605/junk/java/jdk1.5.0_22.i586/jre Default locale: en_GB, platform encoding: UTF-8 OS name: "linux" version: "2.6.32.21-166.fc12.x86_64" arch: "i386" Family: "unix" Reporter: Ben Caradoc-Davies Assignee: Andrea Aime Priority: Blocker I am seeing intermittent build failures in gt-feature-pregeneralized (where by intermittent I mean it fails most of the time, but sometimes succeeds). I strongly suspect a shapefile handling race condition. At the other tests with the same abstract base class succeed. This does not affect stable, does not affect Hudson, not my buildbot. Just my desktop. This looks like another Affects-Only-Ben bug. (Did we ever set that as a priority option?) {code} Failed tests: testFeatureReader(org.geotools.data.gen.ShapeFilePreGeneralizedFeatureSourceTest) testFeatureReaderWithoutGeom(org.geotools.data.gen.ShapeFilePreGeneralizedFeatureSourceTest) testGetFeatures(org.geotools.data.gen.ShapeFilePreGeneralizedFeatureSourceTest) testGetFeatures3(org.geotools.data.gen.ShapeFilePreGeneralizedFeatureSourceTest) testGetSchema(org.geotools.data.gen.ShapeFilePreGeneralizedFeatureSourceTest) Tests run: 52, Failures: 5, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. {code} The common symptom is an NPE thrown at ComplexTypeImpl:73: {code} throw new NullPointerException("PropertyDescriptor is null - did you request a property that does not exist?"); {code} At this point the local variable properties is: {code} [GeometryDescriptorImpl the_geom <MultiLineString:MultiLineString> nillable 0:1, null] {code} So the type is being constructed with a null property. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel