connection = new MongoConnection(uri);
DB mongoDB = connection.getDB();
DocumentMK.Builder builder = new DocumentMK.Builder();
if(blobStore != null){
builder.setBlobStore(blobStore);
<BUG>}
builder.setMongoDB(mongoDB);</BUG>
return builder.getNodeStore();
} catch (Exception e) {
return null;

connection = new MongoConnection(uri);
DB mongoDB = connection.getDB();
DocumentMK.Builder builder = new DocumentMK.Builder();
if(blobStore != null){
builder.setBlobStore(blobStore);
}
builder.setPersistentCache("target/persistentCache,time");
builder.setMongoDB(mongoDB);
return builder.getNodeStore();
} catch (Exception e) {
return null;
