wokier / gwt-table-to-excel

Automatically exported from code.google.com/p/gwt-table-to-excel
2 stars 2 forks source link

NullPointerException when trying to export a very large amount of data #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a very very very large datagrid
2. try to download it
3.

What is the expected output? What do you see instead?

The export of the excel file. See screenshot

What version of the product are you using? On what operating system?

0.0.4 on linux

Please provide any additional information below.

PFA the stacktrace from tomcat. I think the fileName is lost during the process 
when the table is too big.

GRAVE: "Servlet.service()" pour la servlet gwtTableToExcelServlet a généré 
une exception
java.lang.NullPointerException
        at com.googlecode.gwtTableToExcel.server.TableToExcelServlet.export(TableToExcelServlet.java:72)
        at com.googlecode.gwtTableToExcel.server.TableToExcelServlet.doPost(TableToExcelServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)

Original issue reported on code.google.com by Dubois....@gmail.com on 2 Dec 2013 at 3:45

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

The issue probably comes from my Server. Indeed request does not pass the html 
parameter.

Sorry to have disturbed you.

Kind Regards,
Arnaud

Original comment by Dubois....@gmail.com on 2 Dec 2013 at 5:23