Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2015-08-03 12:54:22 +0000
committerThomas Watson2015-08-03 12:54:22 +0000
commit873220b4e2036c6a232753117a41413a6df4d083 (patch)
tree797c7f45d45d6a5b56cadfe0389a4d96eb2a488b /bundles/org.eclipse.equinox.http.servlet
parent893f80e6dce701b7329372d975e81e5c7d68566d (diff)
downloadrt.equinox.bundles-873220b4e2036c6a232753117a41413a6df4d083.tar.gz
rt.equinox.bundles-873220b4e2036c6a232753117a41413a6df4d083.tar.xz
rt.equinox.bundles-873220b4e2036c6a232753117a41413a6df4d083.zip
Bug 472479 - [http whiteboard] Proxy servlet not properly initialized.I20150805-2000I20150805-0800I20150804-2000I20150804-0800I20150803-2000
httpServiceRuntimeImpl is null
Diffstat (limited to 'bundles/org.eclipse.equinox.http.servlet')
-rw-r--r--bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/Activator.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/Activator.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/Activator.java
index a0fe1f4c..e4ecd058 100644
--- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/Activator.java
+++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/Activator.java
@@ -201,8 +201,12 @@ public class Activator
String contextPath = servletContext.getContextPath();
- ServletRegistration servletRegistration =
- servletContext.getServletRegistration(servletName);
+ ServletRegistration servletRegistration = null;
+ try {
+ servletRegistration = servletContext.getServletRegistration(servletName);
+ } catch (UnsupportedOperationException e) {
+ servletContext.log("Could not find the servlet registration for the servlet: " + servletName, e); //$NON-NLS-1$
+ }
if (servletRegistration == null) {
return new String[0];

Back to the top