Log.out.debug("InvoiceThumbnail getThumbnail("+getId()+")");
if (thumbnail==null) {
try {
connect(getSessionAttribute("nickname"), getSessionAttribute("password"));
Invoice oInv = new Invoice(getSession().getDms(), getId());
thumbnail = oInv.thumbnail(getSession());
} catch (Exception xcpt) {
Log.out.error(xcpt.getMessage(), xcpt);
} finally {
close();
}