Index: src/main/java/org/apache/jackrabbit/spi2davex/QValueFactoryImpl.java
===================================================================
--- src/main/java/org/apache/jackrabbit/spi2davex/QValueFactoryImpl.java	(revision 836248)
+++ src/main/java/org/apache/jackrabbit/spi2davex/QValueFactoryImpl.java	(working copy)
@@ -352,7 +352,7 @@
                 // for both the value has not been loaded yet
                 if (!initialized) {
                     if (other.uri != null) {
-                        return uri.equals(uri);
+                        return other.uri.equals(uri);
                     } else {
                         // need to load the binary value in order to be able
                         // to compare the 2 values.
