Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help with Debugging An Error 500

 
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
Sheriff
Posts: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 https://coderanch.com/t/589491/Servlets/java/HTTP-Status).
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic