You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use setPrintFormatter(NumberFormat format, String missingValueIndicator) function in NumberColumn class, I get a NPE when the table is written to file. The problem is that formatter.setColumnType(this.type()); is not called in this function variant.
Fix is to change the function definition to
public void setPrintFormatter(NumberFormat format, String missingValueIndicator) {
setPrintFormatter(new NumberColumnFormatter(format, missingValueIndicator));
}
The text was updated successfully, but these errors were encountered:
When I use
setPrintFormatter(NumberFormat format, String missingValueIndicator)
function inNumberColumn
class, I get a NPE when the table is written to file. The problem is thatformatter.setColumnType(this.type());
is not called in this function variant.Fix is to change the function definition to
The text was updated successfully, but these errors were encountered: