On 6 March 2010 03:15, FaustVs wrote:
>
> Hi Jody / all,
>
> I think this posting may be the same issue I raised under this thread:
> http://n2.nabble.com/NullPointerException-in-WMSLab-example-td4535371.html#a4535371
>
> mbedward initially suggested this may be a bug, but I haven't heard anything 
> else on
> this.

Ah, yes... mbedward did say that, thinking the problem might be in the
swing module (as often happens), but then mbedward got distracted by
other things and wandered off (as often happens).  Sorry about that.

I've just tried running the WMSLab app with the
URL"http://wms.jpl.nasa.gov/wms.cgi?request=GetCapabilities"; and then
requesting the bluemarble modis layer.  The crashes consistently.

The problem seems to be caused by StreamingRenderer.createBBoxFilters
method which is passed an array of attribute names containing "raster"
and "grid".  It tries to retrieve the "raster" attribute from the
feature type, fails (because it's not there), throws an Exception,
gets called again to do the same thing (!), fails again...  Basically
it's all downhill from there.

The "raster" attribute name appears to come from the Style associated
with the layer - but I'm afraid that I have trouble following
StreamingRenderer's steps in the debugger - it's scary in there :)

I'm sorry that this isn't a solution for you, but maybe provides a bit
more info for Jody, Andrea or others to diagnose the problem.

Michael

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to