aspose file tools*
The moose likes Servlets and the fly likes Help with Debugging An Error 500 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Help with Debugging An Error 500

Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 421
Hello I received this error:

java.lang.NullPointerException
bcc.lib.Context.getDisplayLifeReviewForUser(Context.java:932)
bcc.lib.NavBar._generateHTML(NavBar.java:145)
bcc.lib.NavBar.getHTML(NavBar.java:114)
bcc.lib.Context.getNavBarHTML(Context.java:1098)
bcc.lib.BasePageJQuery.getNavBar(BasePageJQuery.java:312)
bcc.lib.BasePageJQuery.buildPage(BasePageJQuery.java:84)
bcc.lib.BasePageJQuery.doServletFunction(BasePageJQuery.java:42)
bcc.lib.BaseBccServlet.doPost(BaseBccServlet.java:102)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



I have read the server log and it says that the servlet

SelectReporting.java has thrown an exception.

The code for the SelectReporting.java file is as follows:



For what it is worth, this file is identical to another file which is being used.

Thanks,
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19762
    
  20

No offense, but shouldn't you be able to read an exception stack trace by now? I'm pretty sure you've been told how to before (like in http://www.coderanch.com/t/589491/Servlets/java/HTTP-Status).


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61662
    
  67

In fact, this seems to be that same question. Please continue the discussion in that topic and please do not post the same question twice.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with Debugging An Error 500