IDEMPIERE-596 Report hangs if column for "next line" does not exist
This commit is contained in:
parent
62e2b95508
commit
6efdf383dc
|
@ -528,7 +528,10 @@ public class TableElement extends PrintElement
|
||||||
if (col != dataCol)
|
if (col != dataCol)
|
||||||
{
|
{
|
||||||
m_columnWidths.add(new Float(0.0)); // for the data column
|
m_columnWidths.add(new Float(0.0)); // for the data column
|
||||||
Float origWidth = (Float)m_columnWidths.get(col);
|
Float origWidth=null;
|
||||||
|
try{
|
||||||
|
origWidth = (Float)m_columnWidths.get(col);
|
||||||
|
}catch(IndexOutOfBoundsException e){}
|
||||||
if (origWidth == null)
|
if (origWidth == null)
|
||||||
log.log(Level.SEVERE, "Column " + dataCol + " below " + col + " - no value for orig width");
|
log.log(Level.SEVERE, "Column " + dataCol + " below " + col + " - no value for orig width");
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue