From 18fc2e8cd2f20c7f7d13ba9db5d49d850e482d38 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 8 Nov 2002 14:19:57 +0000 Subject: [PATCH] Check if scriptingEngine is not null in abort(). --- src/helma/framework/core/RequestEvaluator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index 900c9076..4270a1d0 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -647,7 +647,8 @@ public final class RequestEvaluator implements Runnable { Transactor t = rtx; // let the scripting engine know that the // current transaction is being aborted. - scriptingEngine.abort (); + if (scriptingEngine != null) + scriptingEngine.abort (); rtx = null; if (t != null) { if (reqtype != NONE) {