Objects.requireNonNull(edgeIdProvider, "edgeIdProvider cannot be null");
Objects.requireNonNull(propertyIdProvider, "propertyIdProvider cannot be null");
if (logger.isDebugEnabled())
logger.debug("Creating session [{}]", session.hashCode());
this.graph = graph;
<BUG>this.partition = new HashSet<>(Arrays.asList(graph.getPartition()));
this.session = session;</BUG>
this.vertexIdProvider = vertexIdProvider;
this.edgeIdProvider = edgeIdProvider;
this.propertyIdProvider = propertyIdProvider;

Objects.requireNonNull(edgeIdProvider, "edgeIdProvider cannot be null");
Objects.requireNonNull(propertyIdProvider, "propertyIdProvider cannot be null");
if (logger.isDebugEnabled())
logger.debug("Creating session [{}]", session.hashCode());
this.graph = graph;
this.partition = graph.getPartition();
this.session = session;
this.vertexIdProvider = vertexIdProvider;
this.edgeIdProvider = edgeIdProvider;
this.propertyIdProvider = propertyIdProvider;
