Free Support Forum - aspose.com

Cell.setValue( String ) throws Null error

SetValue used to accept null values without throwing an error. Could you modify these functions to accept and silently ignore null values? It lets me a little more lazy...

cell.setValue( linesRS.getString(pos) );


Exception in thread "main" java.lang.IllegalArgumentException: Invalid value: null
at com.aspose.cells.Cell.setValue(Unknown Source)
at mil.fmsuite.fundscontrol.Callouts.generateCallout(Callouts.java:229)

Hi,

Please try the fix in http://www.aspose.com/Community/forums/60196/ShowThread.aspx#60196.