Ref.: Erro compilando dinamicamente JaperReport

0 respostas
P

Boa tarde,

Estou recebendo esse erro quando tento copilar dinamicamente um JaspeReport.
Alguem pode e ajudar?

try { jd = JRXmlLoader.load(resourceBundle.getString("caminho.ordem.servico.original") + "/" + resourceBundle.getString("nome.arquivo.anexo.jrxml")); jr = JasperCompileManager.compileReport(jd); jp = JasperFillManager.fillReport(jr, lhmParametros, new JREmptyDataSource()); JasperExportManager.exportReportToPdfFile(jp, resourceBundle.getString("caminho.ordem.servico.original") + "/" + resourceBundle.getString("nome.arquivo.anexo.pdf")); } catch (JRException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); }

Criado 17 de junho de 2008
Respostas 0
Participantes 1