Jody,
actually, it is not an error. It just shows up at console and does not affect 
the normal use....
This log appears at Layer.java:
public void dispose() {
        if (!preDispose) {
            LOGGER.severe("Layer preDispose was not called prior to calling 
dispose");
        }
        
        if (listenerList != null) {
            listenerList.clear();
            listenerList = null;
        }
     }
And this log does not show up when using older version







在 2015-04-03 00:46:11,"Jody Garnett" <jody.garn...@gmail.com> 写道:

Not sure, do you have a stack trace?


--
Jody Garnett


On 31 March 2015 at 21:40, wbh <wangbaohua2...@163.com> wrote:

Dears,
after I changed to GeoTools 13.0. I found the error as the topic when 
initialize my map.
This error does not occur before.
-------------my code-----------------
                Runnable r = () -> {
try {
initRoadLayer();
initVehicleLayer();
initEventLayer();
initPointLayer();
// buildGraphbyGeotools();
// buildWarehouseandCustomer();
initWarehouseLayer();
initCustomerLayer();
showMap(mainMap);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
};


SwingUtilities.invokeLater(r);
-----------------my code----------------------
How does it happen? Should I pay attention to it?
Thx.



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to