Note this bug only shows up as fatal when a DefaultFeatureCollection is 
used to store several kinds of features, for the moment use a 
java.util.List.

Jody
> Hi,
>
> I found a bug that caused some problems. Apparently the Logger is 
> calling the incorrect method, it should call getLogger(String name) 
> instead of getAnonymousLogger(String resourceBundleName) since the 
> resouceBundle of "org.geotools.feature.collections" does not exists. I 
> create a JIRA issue for this bug, GEOT-922
>
> SourceCode --> DefaultFeatureCollection:220::
> if( !feature.getFeatureType().equals(childType) )
>                 
> Logger.getAnonymousLogger("org.geotools.feature.collections").warning("Feature
>  
> Collection contains a heterogeneous" +
>                         " mix of features");
>    
>
>
> StackTrace::
> java.util.MissingResourceException: Can't find 
> org.geotools.feature.collections bundle
>     at java.util.logging.Logger.setupResourceInfo(Unknown Source)
>     at java.util.logging.Logger.<init>(Unknown Source)
>     at java.util.logging.Logger.getAnonymousLogger(Unknown Source)
>     at 
> org.geotools.feature.DefaultFeatureCollection.add(DefaultFeatureCollection.java:220)
>     at 
> org.geotools.feature.DefaultFeatureCollection.add(DefaultFeatureCollection.java:206)
>     at 
> za.co.bluesphere.sens.punt.reciever.LabelPlacementReciever.toFeatures(LabelPlacementReciever.java:126)
>     at 
> za.co.bluesphere.sens.punt.reciever.LabelPlacementReciever.process(LabelPlacementReciever.java:53)
>     at 
> za.co.bluesphere.sens.swp.service.dispatcher.Dispatcher.dispatchRequest(Dispatcher.java:51)
>     at 
> za.co.bluesphere.sens.swp.service.dispatcher.SmallworldDispacher.listen(SmallworldDispacher.java:94)
>     at za.co.bluesphere.sens.punt.PuntGenerator.main(PuntGenerator.java:66)
>
>   



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to