Datatable: Exporter issue with NULL DisplayPriority
See original GitHub issue@melloware with the revision 572eaeee2c75fa901fb450c503b88d5912aa1ff6 from April 22, 17:39 the datatable exporter is not working anymore. the following NPE is thrown:
java.lang.NullPointerException
at java.util.Comparator.lambda$comparingInt$7b0bb60$1(Comparator.java:490)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:348)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.primefaces.component.export.TableExporter.getExportableColumns(TableExporter.java:98)
at org.primefaces.component.datatable.export.DataTableCSVExporter.addColumnFacets(DataTableCSVExporter.java:111)
at org.primefaces.component.datatable.export.DataTableCSVExporter.doExport(DataTableCSVExporter.java:73)
at org.primefaces.component.datatable.export.DataTableExporter$DataTableVisitCallBack.visit(DataTableExporter.java:250)
at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:127)
at org.primefaces.component.api.UIData.visitTree(UIData.java:691)
at org.primefaces.component.datatable.export.DataTableExporter$DataTableVisitCallBack.lambda$invoke$0(DataTableExporter.java:269)
at org.primefaces.util.ComponentUtils.invokeOnClosestIteratorParent(ComponentUtils.java:546)
at org.primefaces.component.datatable.export.DataTableExporter$DataTableVisitCallBack.invoke(DataTableExporter.java:267)
at org.primefaces.component.datatable.export.DataTableExporter.export(DataTableExporter.java:211)
at org.primefaces.component.export.DataExporter.processAction(DataExporter.java:159)
i hope that you have an idea what has been broken here. many thanks in advance for fixing.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Null cells values when exporting to Excel — DataTables forums
Hi, this is my first question here, i hope you could help me. When exporting to excel cells starting with 9E goes to...
Read more >DataExporter: columnToggler breaks export ordering #8031
here i need to provide a reproducer since the show case which invokes the exporter with a commandButton outside of the datatable seems...
Read more >Datatables: Export Excel Formatting - Stack Overflow
One of my columns contain a decimal point and displays OK when viewed in the browser as a table. When I export the...
Read more >SQLite Order By - Sorting Result Set in Various Orders
However, both of these values do not clearly show that the birthday is unknown. NULL was invented to resolve this issue. Instead of...
Read more >Setting a GlideRecord variable to null - ServiceNow Docs
The object displays the initial value until it is called again from the record. Note: Functionality described here requires the Admin role.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
many thanks. it now works again.
Excellent thanks for testing.