AbstractFeatureFactoryImpl forces attribute id not to be null (and fails 
otherwise) even though the interface contract states id can be null
--------------------------------------------------------------------------------------------------------------------------------------------

                 Key: GEOT-3726
                 URL: https://jira.codehaus.org/browse/GEOT-3726
             Project: GeoTools
          Issue Type: Bug
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán


The contract for FeatureFactory.createAttribute, createGeometryAttribute, and 
createComplexAttribute says the id argument can be null, yet 
AbstractFeatureFactoryImpl produces a NPE if given a null id as argument as it 
calls FilterFactory.gmlObjectId(id) without checking.

Surprisingly there seems to be not a single call to any of these methods in the 
code base.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to