Results 1 to 2 of 2
Thread: Tomcat5.5 error report
- 07-18-2008, 02:36 PM #1Member
- Join Date
- Jun 2008
- Rep Power
Tomcat5.5 error report
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.....
- 07-18-2008, 05: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.
- By fred in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 12-17-2008, 09:27 PM
- By Heather in forum JDBCReplies: 4Last Post: 12-03-2008, 12:31 PM
- By cecily in forum JDBCReplies: 2Last Post: 12-03-2008, 12:14 PM
- By sanduta in forum NetBeansReplies: 1Last Post: 06-26-2008, 03:14 PM
- By bbq in forum New To JavaReplies: 2Last Post: 07-04-2007, 08:51 AM