you should wrap only when you need to. So this should be wrapper probably after superstepNo:

giraphScenarioWrapper = ServerUtils.readScenarioFromTrace(jobId, superstepNo,
  vertexId.trim());