Revision: 13695
http://gate.svn.sourceforge.net/gate/?rev=13695&view=rev
Author: markagreenwood
Date: 2011-04-19 06:00:51 +0000 (Tue, 19 Apr 2011)
Log Message:
-----------
added a guard for a NPE although I don't understand why it is happening now
Modified Paths:
--------------
gate/trunk/plugins/Ontology_BDM_Computation/src/gate/bdmComp/BDMCompMain.java
Modified:
gate/trunk/plugins/Ontology_BDM_Computation/src/gate/bdmComp/BDMCompMain.java
===================================================================
---
gate/trunk/plugins/Ontology_BDM_Computation/src/gate/bdmComp/BDMCompMain.java
2011-04-19 01:25:28 UTC (rev 13694)
+++
gate/trunk/plugins/Ontology_BDM_Computation/src/gate/bdmComp/BDMCompMain.java
2011-04-19 06:00:51 UTC (rev 13695)
@@ -357,7 +357,7 @@
}
}
// unload the ontology
- Factory.deleteResource(ontologyUsed);
+ if (ontologyUsed != null) Factory.deleteResource(ontologyUsed);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs