Hi,

When I close application with map with layer from oracle database this exception is thrown

!ENTRY net.refractions.udig.catalog 4 0 2012-10-08 16:13:51.123
!MESSAGE Error storing: jdbc:oracle:thin:@192.168.1.1:1521:xe#WIND_TURBINE
!STACK 0
java.lang.RuntimeException
at net.refractions.udig.catalog.ServiceParameterPersister.store(ServiceParameterPersister.java:495) at net.refractions.udig.project.internal.CatalogRef.marshalConnectionParameters(CatalogRef.java:114) at net.refractions.udig.project.internal.impl.ProjectFactoryImpl.convertCatalogRefToString(ProjectFactoryImpl.java:811) at net.refractions.udig.project.internal.impl.ProjectFactoryImpl.convertToString(ProjectFactoryImpl.java:293) at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.convertToString(XMLHelperImpl.java:1616) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.getDatatypeValue(XMLSaveImpl.java:3104) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveDataTypeSingle(XMLSaveImpl.java:1694) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1276) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1220) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2712) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1177) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1038) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2413) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1549) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1220) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2712) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1177) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1038) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedSingle(XMLSaveImpl.java:2399) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1543) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1220) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2712) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.writeTopObject(XMLSaveImpl.java:683) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveImpl.java:591) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl.java:257) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLResourceImpl.java:333) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1423) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:992) at net.refractions.udig.project.internal.ProjectPlugin$Implementation$1.postShutdown(ProjectPlugin.java:179) at net.refractions.udig.ui.ShutdownTaskList$1.run(ShutdownTaskList.java:72) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NullPointerException: JDBC DataSource not available after dispose() has been called at org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1650) at org.geotools.jdbc.JDBCDataStore.createTypeNames(JDBCDataStore.java:833) at org.geotools.data.store.ContentDataStore.getTypeNames(ContentDataStore.java:300) at net.refractions.udig.catalog.internal.oracle.OracleServiceImpl.resources(OracleServiceImpl.java:128) at net.refractions.udig.catalog.ServiceParameterPersister.store(ServiceParameterPersister.java:464)
    ... 30 more

*Piotr Zduńczyk***

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

Reply via email to