diff --git a/core/src/main/java/org/apache/accumulo/core/clientImpl/ScannerImpl.java b/core/src/main/java/org/apache/accumulo/core/clientImpl/ScannerImpl.java
index 40ebc1cdafc..a1f77184ba8 100644
--- a/core/src/main/java/org/apache/accumulo/core/clientImpl/ScannerImpl.java
+++ b/core/src/main/java/org/apache/accumulo/core/clientImpl/ScannerImpl.java
@@ -126,6 +126,7 @@ public ClientContext getClientContext() {
   }
 
   public TableId getTableId() {
+    ensureOpen();
     return tableId;
   }