Issue Details (XML | Word | Printable)

Key: GEOT-922
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Cory Horner
Reporter: Clint Lewis
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GeoTools

java.util.MissingResourceException

Created: 14/Aug/06 07:56 AM   Updated: 14/Aug/06 10:32 AM
Component/s: core main
Affects Version/s: 2.2.0
Fix Version/s: None


 Description  « Hide
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.

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)



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.