Value val = domDb.get(p.getInternalAddress()); if (val == null) { LOG.debug("Node " + p.getNodeId() + " not found in document " + p.getDocument().getName() + "; docId = " + p.getDocument().getDocId());   return objectWith(p.getDocument(), p.getNodeId()); } StoredNode node = StoredNode.deserialize(val.getData(), 0, val.getLength(), (DocumentImpl) p.getDocument()); node.setOwnerDocument(p.getDocument()); node.setInternalAddress(p.getInternalAddress()); return node; }
try { domDb.flush(); } catch (DBException e) { LOG.warn("error while flushing dom.dbx", e); } return null; }
			public Object start() {				Value val = domDb.get(p.getInternalAddress());				if (val == null) {					LOG.debug("Node " + p.getNodeId() + " not found in document " + p.getDocument().getName() +							"; docId = " + p.getDocument().getDocId());//					LOG.debug(domDb.debugPages(p.doc, true));//					return null;					return objectWith(p.getDocument(), p.getNodeId()); // retry?				}				StoredNode node = StoredNode.deserialize(val.getData(), 0, val.getLength(),                         (DocumentImpl) p.getDocument());				node.setOwnerDocument(p.getDocument());				node.setInternalAddress(p.getInternalAddress());				return node;			}