Saul Farber a écrit :
> I parsed a heterogeneous featurecollection today.  This caused line 220
> of DefaultFeatureCollection.java to be run (...snip...)
> When 'Logger.getAnonymousLogger(...)' on line 220 ran, it caused the
> following exception:
> 
> (...snip...) java.util.MissingResourceException: Can't find
> org.geotools.feature.collections bundle

Replaced 'Logger.getAnonymousLogger(...)' by 'Logging.getLogger(...)' on 2.4
branch as of revision 27905. The trunk seems to not have this call to
getAnonymousLogger.

This bug was unrelated to recent logging work. Its look like a case of someone
relying on method signature without reading javadoc...

- In 'Logger.getLogger(String)', the String argument is a package name.
- In 'Logger.getAnonymousLogger(String)', the String argument is a resource
bundle name.

The code was giving a package name to 'getAnonymousLogger', and of course the
later complained that this resource bundle doesn't exist.

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to