You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by es...@apache.org on 2006/09/13 23:29:05 UTC

svn commit: r443130 - /portals/pluto/trunk/pluto-portal-driver/src/main/java/org/apache/pluto/driver/TCKDriverServlet.java

Author: esm
Date: Wed Sep 13 14:29:05 2006
New Revision: 443130

URL: http://svn.apache.org/viewvc?view=rev&rev=443130
Log:
[PLUTO-233]: Fixed an NPE related to PLUTO-233.  initSupportedModesService() threw an NPE because the ServletContext hasn't been initalized.

Modified:
    portals/pluto/trunk/pluto-portal-driver/src/main/java/org/apache/pluto/driver/TCKDriverServlet.java

Modified: portals/pluto/trunk/pluto-portal-driver/src/main/java/org/apache/pluto/driver/TCKDriverServlet.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal-driver/src/main/java/org/apache/pluto/driver/TCKDriverServlet.java?view=diff&rev=443130&r1=443129&r2=443130
==============================================================================
--- portals/pluto/trunk/pluto-portal-driver/src/main/java/org/apache/pluto/driver/TCKDriverServlet.java (original)
+++ portals/pluto/trunk/pluto-portal-driver/src/main/java/org/apache/pluto/driver/TCKDriverServlet.java Wed Sep 13 14:29:05 2006
@@ -48,6 +48,7 @@
     }
 
     public void init() {
+        super.init();
         ServletContext servletContext = getServletContext();
         container = (PortletContainer) servletContext.getAttribute(
                 AttributeKeys.PORTLET_CONTAINER);