[udig-devel] getGeoResources() Exception and Problem exporting MemoryLayer to Shapefile

Jesse Eichar jeichar at refractions.net
Tue Jan 2 09:52:34 PST 2007


Hi,

This is a warning to the uDig developers that the getGeoResources  
should not be called in the display thread.   Doing this has caused  
problems in the past and we are trying to remove such calls where  
possible.  For the next version I have this setup so it will only be  
displayed if uDig is run with assertions enabled so that the logs of  
the released versions won't have this message cluttering up the log.

Jesse


On 21-Dec-06, at 3:36 AM, Javier Cámara wrote:

> Hi list!
>
> Before of all, please, sorry if someone asked the next, but I don't  
> find it at list...
>
> 1. Whats the meaning of this warning?
>
> !ENTRY net.refractions.udig.project 1 0 2006-12-21 12:27:58.687
> !MESSAGE getGeoResources was called in display Thread
> !STACK 0
> java.lang.Exception
>     at  
> net.refractions.udig.project.internal.impl.LayerImpl.getGeoResources 
> (LayerImpl.java:524)
>     at  
> net.refractions.udig.project.internal.impl.LayerImpl.getGeoResource  
> (LayerImpl.java:634)
>     ............
>
> 2. We have being testing exporting layers to shape when application  
> workbench is closing (ExportLayerSelectionPage)and:
>     a) it checks all the map layers, although not all of them were  
> modified
>     b) it saves the layers at active map but they are empty of  
> features! Anybody has the same issue?
>    NOTE: Exporting really works in RC5 with the same kind of memory  
> layers
>
> Regards
>
> -- 
> Javier Cámara
> Subdirección de Integración de Sistemas
> E.P. Desarrollo Agrario y Pesquero
> c/Bergantín, 39 - 41012 Sevilla.  España
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list