tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47505] New: Http Session Null issue
Date Fri, 10 Jul 2009 05:48:10 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47505

           Summary: Http Session Null issue
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: gkiran1980@gmail.com


Hi, 

I am facing strange issue with Tomcat 6 Jsp deployment. 
I have JSP pages deployed which internally performs operations and generates 
XML response which will be parsed using XSL and then finally displayed on 
the UI. 
Now when I invoke JSP pages from UI, session is getting null between the 
requests and this works perfectly fine on other Weblogic/Websphere App 
servers. 
We do use taglibs in xsl and JSPs. 

JDK version : 1.5.13 
Tomcat Ver: 6.0.18 

This error is again random but comes frequently even for the same page 2 
times out of 5 clicks. 
Any help on this will be useful, thanks. 

Posting the error message here for more info: 

org.apache.jasper.JasperException: java.lang.NullPointerException 
       
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)

       
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416) 

       
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) 
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) 
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 

*root cause* 

java.lang.NullPointerException 
        com.teradata.x2.context.Settings.getSettings(Settings.java:102) 
       
com.teradata.x2.context.ServletProcessContext.getSettings(ServletProcessContext.java:38) 

       
com.teradata.ui.web.common.HTMLComponent.getSettings(HTMLComponent.java:76) 
       
com.teradata.ui.web.common.StyleSheetLink.doInline(StyleSheetLink.java:237) 
       
com.teradata.ui.web.common.StyleSheetLink.prepareHTMLString(StyleSheetLink.java:170) 

       
com.teradata.ui.web.common.HTMLComponent.toHTMLString(HTMLComponent.java:91) 
        com.teradata.ui.web.taglib.BodyTagBase.doEndTag(BodyTagBase.java:65) 
       
org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspx_meth_td_005fstylesheet_005f0(tableeditor_jsp.java:201)


       
org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspService(tableeditor_jsp.java:99)

        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 

       
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) 
       
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) 
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) 

        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message