Issue 209: NPE in PdfViewExporter
Status:  Fixed
Owner: ----
Closed:  Jul 2009
Reported by carlos.c...@gmail.com, Jul 23, 2009
PdfViewExporter:

private String getBaseUrl() {
    return request.getRequestURL().toString();
}

NPE returning the requestURL because the request is null.

This happens in the cases where the TableFacadeImpl is created using an 
WebContext, in which case the request isn't initialized.

This patch only covers the case where the WebContext contains a 
HttpServletRequest backing object.

NPE_in_PfvViewExporter.patch
1.3 KB   View   Download
Jul 26, 2009
Project Member #1 jeff.johnston.mn@gmail.com
Thank you! I have this patch applied on the trunk.

https://code.google.com/p/jmesa/wiki/JMesa_2_4_4
Status: Fixed