throw new NullPointerException("either reader or context is null");
}
String filename = Utils.getFilename(context);
try {
Utils.preEval(container, context);
EmbedEvalUnit unit = container.parse(reader, filename, Utils.getLineNumber(context));
IRubyObject ret = unit.run();
return JavaEmbedUtils.rubyToJava(ret);
} catch (Exception e) {
throw wrapException(e);
} finally {
Utils.postEval(container, context);