Print often fails

On many forms we get an error when trying to print....

E.g. just added a table to a test form and now it throws an error when trying to print

But we also see this in the app we are designing...

How can we troubleshoot this? - and fix it! ;-)

The first thing to do is to open the logs and search for that reference code, there you will find specific details about what is failing. The logs should be in <DominoServer>\data\domino\workspace\logs

Ok, here is something:

For input string: "54.0" (aec927b3-ec0d-4a1a-9b62-811189b05574)
java.lang.NumberFormatException: For input string: "54.0"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.parseLong(Long.java:631)
at com.ibm.hrl.groovybase.print.HtmlGenerator.printNumber(HtmlGenerator.java:1232)
at com.ibm.hrl.groovybase.print.HtmlGenerator.getNumberOutput(HtmlGenerator.java:1036)
at com.ibm.hrl.groovybase.print.HtmlGenerator.getFieldOutput(HtmlGenerator.java:990)
at com.ibm.hrl.groovybase.print.HtmlGenerator.emitField(HtmlGenerator.java:577)
at com.ibm.hrl.groovybase.print.HtmlGenerator.emitListOfHandlers(HtmlGenerator.java:479)
at com.ibm.hrl.groovybase.print.HtmlGenerator.emitFields(HtmlGenerator.java:355)
at com.ibm.hrl.groovybase.print.HtmlGenerator.generateHtml(HtmlGenerator.java:190)
at com.ibm.hrl.groovybase.print.HtmlGenerator.

Not sure what exactly is the problem and where to find it? It doesn't throw up when looking at it on the web ;-)

Hmmmm.... Found the value in a simple Number field... What could be wrong with that?

It is marked as an "Integer" and "Show in View data" - but nothing else.... no formulas, events, ...???

Ya this looks like a defect. If the field is marked as an integer then it should not be shown as a value"54.0". Can you please send me your .volt or provide steps to reproduce this and then I can file a defect and get it fixed. Thanks.

Here you go. I tried to include the data - if that succeeded then no. 19 has the problem...

Poc2.volt.zip

Data import was successful. I am testing with the proposed Volt 1.0.2 and I am able to print record 19 without any issues. I also do not see any field with the value of "54", so I am not sure that this record was the source of the first error you posted.

If you are able to reproduce the print issue with the app you provided here, then it looks like the issue is resolved in the upcoming Volt 1.0.2

Ok, I can still reproduce the problem....

And for that specific record the value is "125.0"

For input string: "125.0" (17a9f6b2-a0bc-40c4-8004-cb19ab62db02)

which seems to be the value of the "F_Ordrenr1" field.

When do you think that version 1.0.2 is going to be released?

The expected target release is Dec 2020. Please note that this is subject to change and is in no way an official release commitment :P