Bom Dia Pessoal!
Seguinte, estou tentando exportar alguns dados para excel, nos testes ele funciona legal eu fiz assim nos testes:
ArquivoDAO arquivoDAO = new ArquivoDAO();
createXls("C:/Documents and Settings/WinXP/Desktop/ola", arquivoDAO.valor());
e pra valer eu fiz isso:
ArquivoDAO arquivoDAO = new ArquivoDAO();
util.Exportar.exportarXLS(Arquivo.getSelectedFile().toString(), arquivoDAO.valor());
mas dá esse erro:
erro:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c90100b, pid=2972, tid=892
JRE version: 7.0_03-b05
Java VM: Java HotSpot™ Client VM (22.1-b02 mixed mode, sharing windows-x86 )
Problematic frame:
C [ntdll.dll+0x100b]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
C:\Documents and Settings\WinXP\Desktop\www\access\hs_err_pid2972.log
If you would like to submit a bug report, please visit:
http://bugreport.sun.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Java Result: 1
Isso acontece quando tento passar a List do meu banco, será que tem ha ver com a questão de eu estar usando arquivoDAO.valor(); para mostrar no meu grid e a virtual ficar cheia e morrer?