diff --git a/modules/web/src/main/java/org/torquebox/web/servlet/RackFilter.java b/modules/web/src/main/java/org/torquebox/web/servlet/RackFilter.java
index <HASH>..<HASH> 100644
--- a/modules/web/src/main/java/org/torquebox/web/servlet/RackFilter.java
+++ b/modules/web/src/main/java/org/torquebox/web/servlet/RackFilter.java
@@ -88,7 +88,14 @@ public class RackFilter implements Filter {
             return;
         }
 
-        String servletName = ((ApplicationFilterChain) chain).getServlet().getServletConfig().getServletName();
+        String servletName = "";
+
+        try {
+            servletName = ((ApplicationFilterChain) chain).getServlet().getServletConfig().getServletName();
+        } catch (Exception e) {
+            log.error(e);
+        }
+
         if (servletName == RackWebApplicationInstaller.FIVE_HUNDRED_SERVLET_NAME ||
                 servletName == RackWebApplicationInstaller.STATIC_RESROUCE_SERVLET_NAME) {
             // Only hand off requests to Rack if they're handled by one of the
Log if we can't fetch a servlet name, but don't error out.