This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149588

Summary: ServletException is thrown when general tag lib is used the portlet
Product: contrib Reporter: bharani <bharani>
Component: PortalpackAssignee: Satyaranjan D <satyaranjan>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description bharani 2008-10-09 06:02:46 UTC
Steps to reproduce
----------------

1) Create a portletapp 
2) Drap and drop a tag lib say "articleSearch" 
3) build the portlet and deploy in the websynergy portal

Issue
----

A servletException is thrown with the following trace:



[#|2008-10-09T10:14:23.297+0530|SEVERE|sun-
appserver9.1|debug.com.sun.portal.portletcontainer.impl|_ThreadID=24;_ThreadName=httpSSLWorkerThread-8080-
0;Tag|Tag|Tag_WAR_Tag_INSTANCE_oNw3;javax.portlet.PortletException: RequestDispatcher.include: A ServletException was thrown in the target servlet or 
JSP.;_RequestID=c74c9886-2949-482e-aeab-ef7b6be61ceb;|PSPL_PCCSPCPCI0001 : Exception thrown from EntityID: 
Tag|Tag|Tag_WAR_Tag_INSTANCE_oNw3, cause: javax.portlet.PortletException: RequestDispatcher.include: A ServletException was thrown in the target 
servlet or JSP.|#]

[#|2008-10-09T10:14:23.300+0530|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=24;_ThreadName=httpSSLWorkerThread-
8080-0;|10:14:23,299 ERROR [jsp:52] com.sun.portal.container.ContentException: PortletContainer.getMarkup(): Exception thrown from render() of 
Tag|Tag|Tag_WAR_Tag_INSTANCE_oNw3 with errorcode MISC_ERRORjavax.portlet.PortletException: RequestDispatcher.include: A ServletException was 
thrown in the target servlet or JSP.
        at com.sun.portal.portletcontainer.impl.PortletContainer.getMarkup(PortletContainer.java:245)
        at com.liferay.portal.portletcontainer.WindowInvoker.invokeRender(WindowInvoker.java:329)
        at com.liferay.portlet.InvokerPortlet.render(InvokerPortlet.java:377)
        at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1367)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:578)
        at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2533)
        at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2483)
        at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:799)
        at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:96)
        at com.liferay.portal.action.UpdateLayoutAction.addPortlet(UpdateLayoutAction.java:260)
javax.portlet.PortletException: RequestDispatcher.include: A ServletException was thrown in the target servlet or JSP.
        at com.sun.portal.portletcontainer.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:236)
        at com.sun.portal.portletcontainer.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:178)
        at com.test.Tag.doView(Tag.java:24)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
        at com.sun.portal.portletcontainer.appengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:381)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at com.sun.portal.portletcontainer.appengine.PortletAppEngineFilter.doFilter(PortletAppEngineFilter.java:105)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:853)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:578)

Note: The scenario is tried with old websynergy build. With the latest websynergy build and with the latest portalpack none of the portlets are deployed  
through Netbeans for which Issue 149365 has been raised
Comment 1 Satyaranjan D 2008-11-13 06:25:05 UTC
Please check this with latest PP 3.0 M2 and latest websynergy build.