Hello I am working on this servlet, it is a Context.java servlet in the /lib folder of my project, which I inherited from another developer. We have been making a lot of changes to the .xsl and .xml, however, it appears to be throwing an exception right here:
void getDisplayLifeReviewForHome() {
System.err.println ("Can't Find Display Life Review for Home !!! " );
}
void getDisplayLifeReviewForUser() {
System.err.println ("Can't Find Display Life Review for User !!! " );
}
public String getDisplayLifeReviewForUser( BcSQLAgent agt ) throws Exception
{
if (getDisplayLifeReviewForHome( agt ).equals( TRUE ))
{
if (_displayLifeReviewForUser == null)
{
_loadUserValues( agt );
}
return _displayLifeReviewForUser;
}
else
{
return FALSE;
}
} // getDisplayLifeReviewForUser()
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++It is breaking here:
if (getDisplayLifeReviewForHome( agt ).equals( TRUE ))
Also it does not matter if I set this line to TRUE or FALSE, it always gives the NullPointerException.
Thanks,