[jboss-user] [JBoss Portal] - Null pointer exception from Portlet tag.
febaportal
do-not-reply at jboss.com
Mon Jun 6 09:47:53 EDT 2011
febaportal [http://community.jboss.org/people/febaportal] created the discussion
"Null pointer exception from Portlet tag."
To view the discussion, visit: http://community.jboss.org/message/608759#608759
--------------------------------------------------------------
Hi,
I am getting following exception when i use <portlet:defineObjects /> tag in my jsp. This exception occurs only once i.e. during rendering of jsp for first time, but again when i just refresh the browser page the jsp is displayed correctly.Then the next jsps in the flow are displayed without any error.
Exception throwm:
java.lang.NullPointerException
at org.jboss.portal.portlet.impl.jsr168.taglib.PortletTag.getDispatchedRequest(PortletTag.java:67)
at org.jboss.portal.portlet.impl.jsr168.taglib.PortletTag.getPortletRequest(PortletTag.java:72)
at org.jboss.portal.portlet.impl.jsr168.taglib.PortletTag.getRenderRequest(PortletTag.java:90)
at org.jboss.portal.portlet.impl.jsr286.taglib.DefineObjects286Tag.doEndTag(DefineObjects286Tag.java:57)
at org.apache.jsp.jsp.mails.MailFG.MailHomePage_jsp._jspService(MailHomePage_jsp.java:322)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:227)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:656)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:556)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:477)
at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:142)
at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:79)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608759#608759]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110606/b94a7b9b/attachment.html
More information about the jboss-user
mailing list