Thanks Piotr:  

I added some extra checks to see if we are trying to clean up after things 
twice (after running into some problems with PostGIS. Apparently it has found a 
similar problem for Oracle.

Although looking more closely has me a bit confused about what is going on… 
this is the code that is trying to save any notes we have about the oracle 
layers (such as their title). This lets us search faster next time. We only try 
and grab this list if we are connected to the database.

And somebody has snuck in and called "dispose()" on our DataStore.

If you are running in a development environment perhaps you could put a 
breakpoint in and see if we can find out who.

There is not too much to be done for this shutdown code, it correctly is 
catching the mistaking and continuing.

--  
Jody Garnett


On Tuesday, 9 October 2012 at 12:18 AM, Piotr Zduńczyk wrote:

> Caused by: java.lang.NullPointerException: JDBC DataSource not available 
> after dispose() has been called
>     at 
> org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1650)  

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to