Dashbuilder throws NullPointerException while exporting data containing null to MS Excel
Issue
- Exporting data to MS Excel when data contains null;
-
Dasbuilder throws NullPointerException while exporting data containing null to MS Excel:
10:25:04,559 ERROR [org.jboss.dashboard.error.ErrorManager] (ajp-/10.10.10.10:8080-10) UNEXPECTED ERROR. Thread id=ajp-/10.10.10.10:8080-10 Thread begin date=Sun Oct 26 10:25:04 IST 2014 Thread group=main Request URL=/dashbuilder/Controller?idPanel=4677&_fb=default_table_viewer&_fp=0&pAction=_factory&dataExportFormat=xlsx&csrf=45576226 Request IP=20.20.20.20 Request date=Sun Oct 26 10:25:04 IST 2014 Request header:user-agent=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0) Request header:referer=https://localhost:8080/dashbuilder/workspace/en_GB/0/4007?csrf=70298554 Request header:cookie=JSESSIONID=jTSEVMrI6v-BlbeN80nJEXn4.cc0dd918-7686-348f-b8a8-827b4747abfc; dashbuilderNavigationPoint=en_GB-33b-0; region_left_web_2_0_cookie=1 Request param:csrf=45576226 Request param:idPanel=4677 Request param:_fb=default_table_viewer Request param:_fp=0 Request param:pAction=_factory Request param:dataExportFormat=xlsx Tx id=128679088 Tx Isolation=2 Tx Auto commit=false Error id=1411718732555 Error date=Sun Oct 26 10:25:04 IST 2014 Error stack trace=java.lang.NullPointerException at org.jboss.dashboard.displayer.table.ExportTool.exportExcel(ExportTool.java:150) at org.jboss.dashboard.ui.components.table.TableHandler.actionExportData(TableHandler.java:338) at org.jboss.dashboard.ui.components.table.TableViewer.actionExportData(TableViewer.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.dashboard.ui.components.BeanHandler.handle(BeanHandler.java:152) ...
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.2
- 6.1.0
- A
Data TableKey Performance Indicator is shown in the Dashbuilder;
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
