Merged in tbayen/idempiere (pull request #59)
IDEMPIERE-596 Report hangs if column for "next line" does not exist
This commit is contained in:
commit
d84f3a77c6
|
|
@ -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