Bookmark Topic Watch Topic
  • New Topic

Help with Debugging An Error 500

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 20665
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
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).
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65217
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
    Bookmark Topic Watch Topic
  • New Topic