aaron.marquet

iReport - copy a report

Discussion created by aaron.marquet on Jan 16, 2013
Latest reply on Jan 18, 2013 by ntimm

Hi,

 

I've spent a bit of time creating a report in iReport and now i'd like to copy it to use for other clients. I only need to make minor changes to the sql query etc but this doesn't appear to be a simple task.

 

When i do tweak the copied report and run it i get the follwoing errors:

 

Query executer factory for sql cannot be created.    net.sf.jasperreports.engine.design.JRDesignQuery@d843e0

 

and

 

net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 
     1. Query executer factory for sql cannot be created.
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258)
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:212)
    at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:128)
    at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:516)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Compilation running time: 63

 

Help please

Outcomes