[ 
http://jira.codehaus.org/browse/GEOT-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jody Garnett reopened GEOT-1620:
--------------------------------


> FactoryFinder.getGeometryFactory( null ) fails to find JTS GeometryFactory
> --------------------------------------------------------------------------
>
>                 Key: GEOT-1620
>                 URL: http://jira.codehaus.org/browse/GEOT-1620
>             Project: GeoTools
>          Issue Type: Bug
>    Affects Versions: 2.5-M1
>            Reporter: Jody Garnett
>             Fix For: 2.5-M1
>
>
> The following code is expected to work:
> {code}
> GeometryFactory factory = FactoryFinder.getGeometryFactory( null );
> {code}
> The idea is to use our FactoryRegistry to avoid creating lots and lots of JTS 
> GeometryFactory instances; allowing threads to share a single instance etc....
> However the implementation on trunk seems broken when run from uDig:
> {panel}
> org.geotools.factory.FactoryNotFoundException: No factory of kind 
> "GeometryFactory" found.
>       at 
> org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:347)
>       at 
> org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:119)
>       at 
> org.geotools.geometry.jts.FactoryFinder.getGeometryFactory(FactoryFinder.java:87)
>     
> {panel}
> It could be that whatever classloader trick is usually played has not been 
> applied yet for this FactoryFinder implementation?

-- 
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

        

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to