# JasperReport and NG client appication

**URL:** <https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769>\
**Category:** Classic Servoy\
**Created:** [March 11, 2016, 10:48am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769 "2016-03-11T10:48:35Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 11, 2016, 10:48am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/1 "2016-03-11T10:48:35Z")

</div>

Hi All,

I am figuring out what version of Jasper Studio and plugin is best suited to use in NG client.  
I would like to create ‘simple’ pdf’s like invoice/quotations, etc

Latest Studio version is 6.20  
Latest Plugin on ServoyForge is 502a2

There are 2 types of plugins basic and advanced.

Can someone please tell me what version are most compatable and best suited to use.

Tnx for any advice

Derk

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [March 11, 2016, 1:01pm UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/2 "2016-03-11T13:01:00Z")

</div>

Latest version of the plugin is 6.0 and that is compatible with Jasper 6.2.0. For simple PDFs the Basic version of the plugin should do.

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 14, 2016, 10:29am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/3 "2016-03-14T10:29:51Z")

</div>

Tnx for the upload of the version 6.0 plugin

What advanced stuff can I do with the advanced plugin ?  
What is the difference between basic and advanced?

tnx

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 14, 2016, 2:25pm UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/4 "2016-03-14T14:25:09Z")

</div>

Maybe I am missing something

But using standard plugin v6

Created a simple report in Jasper Studio 6.2

calling:  
plugins.jasperPluginRMI.runReport(\_server, \_report, null, ‘view’, \_params, \_locale );

result:  
2016-03-14 15:22 Executor,uuid:8fc7ae57-095b-4129-958c-221edfef23ec ERROR org.sablo.eventthread.EventDispatcher Exception in dispatch()  
java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.design.JRJavacCompiler  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)  
at java.lang.reflect.Constructor.newInstance(Unknown Source)  
at net.sf.jasperreports.engine.JasperCompileManager.getCompiler(JasperCompileManager.java:823)  
at net.sf.jasperreports.engine.JasperCompileManager.getEvaluator(JasperCompileManager.java:380)  
at net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:467)  
at net.sf.jasperreports.engine.fill.BaseReportFiller.(BaseReportFiller.java:152)  
at net.sf.jasperreports.engine.fill.JRBaseFiller.(JRBaseFiller.java:239)  
at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:69)  
at net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:57)  
at net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:201)  
at net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:216)  
at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:85)  
at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:456)  
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:863)  
at com.servoy.plugins.jasperreports.JasperReportRunner.getJasperPrint(JasperReportRunner.java:584)  
at com.servoy.plugins.jasperreports.JasperReportsServer.getJasperPrint(JasperReportsServer.java:1007)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at com.servoy.j2db.util.AbstractRemoteInvocationHandler.invokeMethod(AbstractRemoteInvocationHandler.java:77)  
at com.servoy.j2db.util.ThreadingRemoteInvocationHandler$1.run(ThreadingRemoteInvocationHandler.java:79)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 22, 2016, 7:52am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/5 "2016-03-22T07:52:43Z")

</div>

Am I the only one facing this error?

---

<div class="post-metadata">

**Author:** ![sbutler](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sbutler/32/4393_2.png) [@sbutler](https://forum.servoy.com/u/sbutler)\
**Post date:** [March 23, 2016, 9:20pm UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/6 "2016-03-23T21:20:32Z")

</div>

Same issue here. There is another topic: [https://www.servoy.com/forum/viewtopic.php?f=15&t=21226](https://www.servoy.com/forum/viewtopic.php?f=15&t=21226) And also a ticket created on the Servoy Forge project: [https://www.servoyforge.net/issues/1000](https://www.servoyforge.net/issues/1000)

At this point, it seems that you can’t use Jasper Reports with the ngClient in Servoy 8.

---

<div class="post-metadata">

**Author:** ![Gordon\_McLean](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@Gordon\_McLean](https://forum.servoy.com/u/Gordon_McLean)\
**Post date:** [March 24, 2016, 7:12am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/7 "2016-03-24T07:12:38Z")

</div>

Hi Derk

Have you considered the Velocity Reports plugin ? this should work, is really easy to use and provides lots of features including PDFs and Charts ??

Best  
Gordon

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 24, 2016, 8:14am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/8 "2016-03-24T08:14:49Z")

</div>

Thank you for your replies.

I only have seen Velocity shown by Patrick in a servoycamp.  
Never used it in development or test/production.

What more options are there beside Velocity, beside writing my own plugin?

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [March 24, 2016, 8:17am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/9 "2016-03-24T08:17:06Z")

</div>

Another option is our Word Plug-in.

It offers plenty of methods to create invoices and very nice reports.  
Export to PDF is also possible.

I will talk about the Word Plug-in @ ServoyCamp and show off a very nice report made with the Plug-in.

---

<div class="post-metadata">

**Author:** ![mnaeimi](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mnaeimi/32/5027_2.png) [@mnaeimi](https://forum.servoy.com/u/mnaeimi)\
**Post date:** [March 24, 2016, 9:04am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/10 "2016-03-24T09:04:35Z")

</div>

Hi Derk,

ChartNScript\_Servoy\_JasperReports\_Plugin\_v.5.0.0 and Advanced\_Servoy\_JasperReports\_Plugin\_v.5.0.0 work fine with NG client. Our clients are using them without any problem.  
Please let me know if you have any question.

Regards,  
Mina

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 24, 2016, 9:34am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/11 "2016-03-24T09:34:38Z")

</div>

> IT2Be:  
> Another option is our Word Plug-in.
> 
> It offers plenty of methods to create invoices and very nice reports.  
> Export to PDF is also possible.
> 
> I will talk about the Word Plug-in @ ServoyCamp and show off a very nice report made with the Plug-in.

Looking forward to your presentation

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 24, 2016, 9:37am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/12 "2016-03-24T09:37:29Z")

</div>

> mnaeimi:  
> Hi Derk,
> 
> ChartNScript\_Servoy\_JasperReports\_Plugin\_v.5.0.0 and Advanced\_Servoy\_JasperReports\_Plugin\_v.5.0.0 work fine with NG client. Our clients are using them without any problem.  
> Please let me know if you have any question.
> 
> Regards,  
> Mina

Hi Mina,  
What version of Jasper Studio are you using to create your reports?  
Latets is Studio version 6.2.0

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [March 24, 2016, 9:41am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/13 "2016-03-24T09:41:33Z")

</div>

I have created a case for this (SVY-9633) and we’ll investigate it. It sounds like there is some class conflict.

---

<div class="post-metadata">

**Author:** ![mnaeimi](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mnaeimi/32/5027_2.png) [@mnaeimi](https://forum.servoy.com/u/mnaeimi)\
**Post date:** [March 24, 2016, 10:07am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/14 "2016-03-24T10:07:26Z")

</div>

I would suggest jasper studio 5.6.

> derk.hulshof:  
> Hi Mina,  
> What version of Jasper Studio are you using to create your reports?  
> Latets is Studio version 6.2.0

[/quote]

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 24, 2016, 10:12am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/15 "2016-03-24T10:12:05Z")

</div>

> mnaeimi:  
> Hi Derk,
> 
> ChartNScript\_Servoy\_JasperReports\_Plugin\_v.5.0.0 and Advanced\_Servoy\_JasperReports\_Plugin\_v.5.0.0 work fine with NG client. Our clients are using them without any problem.  
> Please let me know if you have any question.
> 
> Regards,  
> Mina

Hi Mira,  
I did a little very simple test and it works… ![:D]( "Very Happy")  
thank you

Used and tested in:  
Servoy 802 and 803  
Basic\_Servoy\_JasperReports\_Plugin\_v.5.0.0  
Jasper Studio version 6.2.0

---

<div class="post-metadata">

**Author:** ![mnaeimi](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mnaeimi/32/5027_2.png) [@mnaeimi](https://forum.servoy.com/u/mnaeimi)\
**Post date:** [March 24, 2016, 10:18am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/16 "2016-03-24T10:18:19Z")

</div>

Great ![:)]( "Smile")

let me know if you have any other questions.

Best,  
Mina

---

<div class="post-metadata">

**Author:** ![Gabi\_Boros](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@Gabi\_Boros](https://forum.servoy.com/u/Gabi_Boros)\
**Post date:** [March 24, 2016, 10:38am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/17 "2016-03-24T10:38:24Z")

</div>

Hi Derk,

I just did a quick test with a simple report, using Servoy 8.0.3 & Servoy JasperReports plugin v 6.0.0 and it worked for me.  
Did it also worked for you using these latest versions ?

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [March 24, 2016, 10:48am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/18 "2016-03-24T10:48:18Z")

</div>

Or maybe: what plugins do you ship with your solution? Maybe a conflict arise from that.

---

<div class="post-metadata">

**Author:** ![derk.hulshof](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@derk.hulshof](https://forum.servoy.com/u/derk.hulshof)\
**Post date:** [March 29, 2016, 7:27am UTC](https://forum.servoy.com/t/jasperreport-and-ng-client-appication/18769/19 "2016-03-29T07:27:03Z")

</div>

Plugin 6.0.0 is raising errors.

The only 3rd party plugin installed in Servoy are IT2BE plugins.
