Hey guys, I'm just back from vacation. Gertjan, do you have a full stack trace that you could send me? Is your postgis database internet-accessible? It'd be great to be able to try and cause the exception on my end. If not, can you give me a (sample?) pgdump of the dataset? --saul
________________________________ From: Gertjan van Oosten [mailto:[EMAIL PROTECTED] Sent: Fri 7/20/2007 7:40 AM To: Andrea Aime Cc: Geotools-Devel list; Saul Farber Subject: Re: [Geotools-devel] IllegalArgumentException on FeatureCollection As quoted from Andrea Aime <[EMAIL PROTECTED]>: > Gertjan van Oosten ha scritto: > > I did some more investigating, and it also fails if I use a simple > > filter on a text field like: > > > > final Expression left = ff.property("name"); > > final Expression right = ff.literal("test"); > > final Filter filter = ff.equals(left, right); > > > > final FeatureCollection fc = source.getFeatures(filter); > > final boolean empty = fc.isEmpty(); > > > > It still throws > > java.lang.IllegalArgumentException: Property 'name' could not be found in > > features > [...] > In your case the filter splitter is chocking, but I don't know > why, that's the issue... > The only person left that knows about the magic of the filter splitter > is Saul, which I've cc'ed. I'm hoping for an answer from him then, because I'm stumped. :-( > > Is there a way to get some debug logging out of gt2 to > > see what goes on? > > Unfortunately gt2 uses java logging, and the way to alter log settings > are between the stupid and the arcane (imho). [...] I've set the logging for it, but unfortunately even at FINEST level nothing of value gets logged. So please Saul, could you help me out here? Regards, -- -- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600 ------------------------------------------------------------------------- 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
