Re: IKVM.NET and a JasperReport 5.6

Jeroen Frijters <[email protected]> Tue, 14 Apr 2015 15:56:39 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi Michael,

Unfortunately, this is almost certainly a NotImplementedException in the font code.

Regards,
Jeroen

> -----Original Message-----
> From: Michael Kolowicz [mailto:[email protected]]
> Sent: Monday, April 13, 2015 22:43
> To: [email protected]
> Subject: [Ikvm-developers] IKVM.NET and a JasperReport 5.6
> 
> 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(JRAbstractExpor
> ter.java:471)
> 
>                 at
> net.sf.jasperreports.engine.JRAbstractExporter.setOffset(JRAbstractExpor
> ter.java:460)
> 
>                 at
> net.sf.jasperreports.engine.JRAbstractExporter.initReport(JRAbstractExpo
> rter.java:721)
> 
>                 at
> net.sf.jasperreports.engine.export.JRPdfExporter.initReport(JRPdfExporte
> r.java:545)
> 
>                 at
> net.sf.jasperreports.engine.JRAbstractExporter.setCurrentExporterInputIt
> em(JRAbstractExporter.java:567)
> 
>                 at
> net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JR
> PdfExporter.java:735)
> 
>                 at
> net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExpor
> ter.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