Results 1 to 2 of 2
Thread: Tomcat5.5 error report
- 07-18-2008, 01:36 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 39
- Rep Power
- 0
Tomcat5.5 error report
hello friends,
I am using a following code. it is working fine in development. but it didnt work. it gives the error report. what will be the problem.... its very urgent........ please help me.....
code: session = httpRequest.getSession();
ValidUser user = ( ValidUser )session.getAttribute(sess_id);
it is working fine in tomcat5.0..... but 5.5 raises this exception.....
org.apache.catalina.session.StandardSessionFacade@ 1c7980c
: null
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:334)
at
org.apache.catalina.session.StandardSession.getAtt ribute(StandardSession.java:1024)
at
org.apache.catalina.session.StandardSessionFacade. getAttribute(StandardSessionFacade.java:110)
at
- 07-18-2008, 04:58 PM #2
The error message lists several class names and gives source line numbers in those classes where the error occured. Are any of the listed classes yours? If so please locate the listed line numbers and copy and paste those lines of code here.
Add a println() statement before the topmost/last executed line number in the list that displays the contents of ALL the objects referenced in the line with the error. Be sure to include any objects that my be returned by methods. That should show you which object is null. Then you need to back track to see why that object is null.
Similar Threads
-
Crystal report with JSP
By fred in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 12-17-2008, 08:27 PM -
Error With Sql And Jasper Report
By Heather in forum JDBCReplies: 4Last Post: 12-03-2008, 11:31 AM -
Error loading object from file : C:\Date.jrxml Jass Report
By cecily in forum JDBCReplies: 2Last Post: 12-03-2008, 11:14 AM -
Problem with a report
By sanduta in forum NetBeansReplies: 1Last Post: 06-26-2008, 02:14 PM -
Report manager to Java
By bbq in forum New To JavaReplies: 2Last Post: 07-04-2007, 07:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks