IKVM.NET and a JasperReport 5.6
"Michael Kolowicz" <[email protected]> Mon, 13 Apr 2015 22:43:08 +0200
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I´m new on using IKVM.NET. And my goal is near ;-) I want to use Jasper Server Reports in my .NET application. I have write a small java application in Eclipse to test the using of Jasper Server. It works fine. Now I want to implement it this big java jar (include my own class and all referenced Jasper Server Jars) I have run ikvmc and signed the dll with .NET Assembly Strong-Name Signer. Then I set a reference in my VS2013 via NuGet to IKVM.NET 8.0 and the resulted .dll Now follow a StackTrace of the problem java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy2.getOffsetX(Unknown Source) at net.sf.jasperreports.engine.JRAbstractExporter.setOffset(JRAbstractExporter. java:471) at net.sf.jasperreports.engine.JRAbstractExporter.setOffset(JRAbstractExporter. java:460) at net.sf.jasperreports.engine.JRAbstractExporter.initReport(JRAbstractExporter .java:721) at net.sf.jasperreports.engine.export.JRPdfExporter.initReport(JRPdfExporter.ja va:545) at net.sf.jasperreports.engine.JRAbstractExporter.setCurrentExporterInputItem(J RAbstractExporter.java:567) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfE xporter.java:735) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter. java:513) at mykeysoft.jasper4net.runServerReport.runReport(runServerReport.java:289) Can some give me a hint what I can do? If I run the java application in eclipse then it works fine and the PDF will created Freundliche Grüße / Best regards Michael Kolowicz Systementwickler ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers