Mmhhhh, the problem is getting bigger... I have a application
(basically a wms server) that was working on 2.4.1 code, this weekend
i upgraded it to 2.4.4, and now i'm also getting the NoSuchFieldError:
FEATURE_2D error...

This is part of the stacktrace:

java.lang.NoSuchFieldError: FEATURE_2D
        at 
org.geotools.renderer.lite.StreamingRenderer.queryLayer(StreamingRenderer.java:897)
        at 
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1577)
        at 
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:649)
        at 
org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1441)
        at 
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1313)
        at 
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:262)

Are there other users with the same problem, or using the 2.4.4
binaries, and using hints?

grtz, Wouter Schaubroeck

On Sat, Aug 2, 2008 at 6:10 PM, Wouter Schaubroeck
<[EMAIL PROTECTED]> wrote:
> No, i took all the jars from the binary download... Oh, and to answer
> on your question regarding the Caused By line: there wasn't such a
> line...
> I was wondering: are there any things you have to do, before you can
> use Hints? Perhaps initialize them, or something. Are there a set of
> default hints?
> I've got the same feeling, i guess the problem isn't specific in
> loading the shapefiles, or writing to postgis, but would surface on
> other places to...
>
> Is there any roadmap for the next release of the 2.4 branch?
>
> grtz, Wouter Schaubroeck
>
>
>
>
> On Fri, Aug 1, 2008 at 8:42 PM, Jody Garnett <[EMAIL PROTECTED]> wrote:
>> Wouter Schaubroeck wrote:
>>>
>>> I've noticed something strange... When I'm in debug-mode: If i want to see
>>> the properties of Hints.FEATURE_2D, I also get a NoSuchFieldError, and when
>>> i look into the javadoc
>>> (http://javadoc.geotools.fr/2.4/org/geotools/factory/Hints.html):
>>> there's no mention on Hints.FEATURE_2D (This could be by coincidence).
>>> So now i'm wondering, couldn't it be that these Hints somewhere in my
>>> program loses the FEATURE_2D field?
>>>
>>> thx! Wouter
>>>
>>
>> Strange; a new release of 2.4 looks to be on its way; it really feels like
>> you are running some code (say from maven?) and looking at something else.
>> Jody
>>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to