/*******************************************************************************
- * Copyright (c) 2013, 2014 Ericsson
+ * Copyright (c) 2013, 2016 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
private void accept(long nodeOffset, IBTreeVisitor visitor) {
- if (nodeOffset == BTreeNode.NULL_CHILD) {
+ if (nodeOffset == BTreeNode.NULL_CHILD || getRandomAccessFile() == null) {
return;
}