db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r675918 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/services/reflect/UpdateLoader.java
Date Fri, 11 Jul 2008 11:01:35 GMT
Author: kahatlen
Date: Fri Jul 11 04:01:35 2008
New Revision: 675918

URL: http://svn.apache.org/viewvc?rev=675918&view=rev
Log:
DERBY-2164 (partial) Fixed NullPointerException when loading storeless engine

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/reflect/UpdateLoader.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/reflect/UpdateLoader.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/reflect/UpdateLoader.java?rev=675918&r1=675917&r2=675918&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/reflect/UpdateLoader.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/reflect/UpdateLoader.java
Fri Jul 11 04:01:35 2008
@@ -101,7 +101,7 @@
         this.normalizeToUpper = normalizeToUpper;
 		this.parent = parent;
 		lf = (LockFactory) Monitor.getServiceModule(parent, Module.LockFactory);
-		compat = lf.createCompatibilitySpace(this);
+		compat = (lf != null) ? lf.createCompatibilitySpace(this) : null;
 
 		if (verbose) {
 			vs = Monitor.getStream();



Mime
View raw message