awecz / indic-jasper

Automatically exported from code.google.com/p/indic-jasper
0 stars 0 forks source link

ErrorCodeIOException #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Stack Trace :

ODT creation time : 63
com.sun.star.task.ErrorCodeIOException: 
    at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
    at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
    at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
    at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
    at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
    at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
    at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
    at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
    at $Proxy5.storeToURL(Unknown Source)
    at in.cdac.ilcg.jasperreports.pdfexporter.JRPdfExporter.exportReportToStream(JRPdfExporter.java:517)
    at in.cdac.ilcg.jasperreports.pdfexporter.JRPdfExporter.exportReport(JRPdfExporter.java:395)
    at com.ipr.reports.SampleReport.runReport(SampleReport.java:42)
    at com.ipr.reports.SampleReport.main(SampleReport.java:49)

code:

public static void runReport() {
        try {
            JasperReport jasperReport = JasperCompileManager
                    .compileReport("C://report1.jrxml");
            Connection jdbcConnection = getConnection();
            JasperPrint jasperPrint = JasperFillManager.fillReport(
                    jasperReport, null, jdbcConnection);
            JRPdfExporter jp = new JRPdfExporter();
            jp.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
            jp.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "C://REPORT1.pdf");
            jp.exportReport();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

Im new to Jasper . Couldn figure out the problem. I have all libraries in my 
eclipse projects build path. help would be greatly appreciated. Even open 
office program folder is in system path.

-avinash

Original issue reported on code.google.com by avilanc...@gmail.com on 14 Sep 2010 at 7:00

GoogleCodeExporter commented 8 years ago
Mr Avinash 

Did you get any soluction for that issue?
Me also having same issue if you had any soluction Please let me know.

Chandan

Original comment by chandan1...@gmail.com on 25 Oct 2010 at 9:47

GoogleCodeExporter commented 8 years ago
Have anyone get any solution of that? Please let me know.

Abdur Rokib

Original comment by rakib.fr...@gmail.com on 19 May 2011 at 6:03