# Servoy JasperReports Plugin version 3.2.0 has been released

**URL:** <https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876>\
**Category:** Classic Servoy\
**Created:** [April 19, 2011, 2:10pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876 "2011-04-19T14:10:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrei\_Costache](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Andrei\_Costache](https://forum.servoy.com/u/Andrei_Costache)\
**Post date:** [April 19, 2011, 2:10pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/1 "2011-04-19T14:10:34Z")

</div>

Hi to all,

We have just released version 3.2.0 of the plugin.  
Please refer to the corresponding ServoyForge Wiki page [Servoy JasperReports Plugin v320 - Release Notes - Servoy JasperReports Plugin - ServoyForge](https://www.servoyforge.net/projects/servoy-jasperreports/wiki/Servoy_JasperReports_Plugin_v320_-_Release_Notes) for details.

Best regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![Hans\_Nieuwenhuis](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@Hans\_Nieuwenhuis](https://forum.servoy.com/u/Hans_Nieuwenhuis)\
**Post date:** [April 19, 2011, 2:35pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/2 "2011-04-19T14:35:37Z")

</div>

Great Job !!

---

<div class="post-metadata">

**Author:** ![kwpsd](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kwpsd](https://forum.servoy.com/u/kwpsd)\
**Post date:** [April 19, 2011, 8:20pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/3 "2011-04-19T20:20:27Z")

</div>

Good news! Thank you, Andrei, for all your efforts on this project!

---

<div class="post-metadata">

**Author:** ![rodneysieb](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@rodneysieb](https://forum.servoy.com/u/rodneysieb)\
**Post date:** [April 19, 2011, 9:38pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/4 "2011-04-19T21:38:32Z")

</div>

Hi Andre

Well done, thanks for the new release.

Is the plugin compatible with the latest version of ireports, 4.02?

---

<div class="post-metadata">

**Author:** ![schoby](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@schoby](https://forum.servoy.com/u/schoby)\
**Post date:** [April 19, 2011, 11:25pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/5 "2011-04-19T23:25:17Z")

</div>

Hi Andre,

thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.  
Unfortunately I run into a problem when using the jrbean together with a TabPanel based navigation (like the crm sample).  
I tried to find the error and somehow it looks like the following line is not working anymore:

```auto
forms.frmMain.elements.tabMainView.tabIndex = index;

```

The idea of this line is to set the tab which is show in the main form. Before using the new jrbean it worked perfectly. Also when loading a solution which includes the bean switching tabs works fine. But after first time showing a tab containing the jrbean it is not working anymore …

Any idea on this weird behavior ?

Best regards

Schoby

---

<div class="post-metadata">

**Author:** ![Hans\_Nieuwenhuis](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@Hans\_Nieuwenhuis](https://forum.servoy.com/u/Hans_Nieuwenhuis)\
**Post date:** [April 20, 2011, 9:52am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/6 "2011-04-20T09:52:30Z")

</div>

Hi,

Installed it on my laptop and runs fine in developer and server.

Installed it on my testserver and I get the folowing error when starting my solution in Servoy Server

```auto
JNLPException[category: Launch File Error : Exception: null : LaunchDesc: 
<jnlp spec="1.0+" codebase="http://localhost:8080/" href="http://localhost:8080/servoy-client/plugins/servoy_jasperreports.jar.jnlp">
  <information>
    <title>Servoy Client Plugins</title>
    <vendor>Servoy and Others</vendor>
    <homepage href="null"/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <jar href="http://localhost:8080/plugins/servoy_jasperreports.jar" version="1303221390000" download="eager" main="false"/>
    <jar href="http://localhost:8080/lib/commons-collections.jar" version="1270212958189" part="commons-collections" download="eager" main="false"/>
    <package name="org.apache.commons.collections." part="commons-collections" recursive="true"/>
    <jar href="http://localhost:8080/lib/commons-logging.jar" version="1270212963305" part="commons-logging" download="eager" main="false"/>
    <package name="org.apache.commons.logging." part="commons-logging" recursive="true"/>
    <jar href="http://localhost:8080/lib/commons-dbcp.jar" version="1295355322301" part="commons-dbcp" download="eager" main="false"/>
    <package name="org.apache.commons.dbcp." part="commons-dbcp" recursive="true"/>
    <package name="org.apache.commons.jocl." part="commons-dbcp" recursive="true"/>
    <jar href="http://localhost:8080/plugins/servoy_jasperreports/jasperreports-4.0.0.jar" version="1303221408000" download="eager" main="false"/>
    <jar href="http://localhost:8080/plugins/servoy_jasperreports/commons-beanutils-1.8.0.jar" version="1303221402000" part="commons-beanutils" download="eager" main="false"/>
    <package name="org.apache.commons.beanutils." part="commons-beanutils" recursive="true"/>
    <jar href="http://localhost:8080/plugins/servoy_jasperreports/commons-digester-1.7.jar" version="1303221404000" part="commons-digester" download="eager" main="false"/>
    <package name="org.apache.commons.digester." part="commons-digester" recursive="true"/>
    <jar href="http://localhost:8080/plugins/servoy_jasperreports/iText-2.1.7.jar" version="1303221406000" part="itext" download="eager" main="false"/>
    <package name="com.lowagie." part="itext" recursive="true"/>
    <jar href="http://localhost:8080/plugins/servoy_jasperreports/jdt-compiler-3.1.1.jar" version="1303221410000" part="jdt-compiler" download="eager" main="false"/>
    <package name="org.eclipse.jdt." part="jdt-compiler" recursive="true"/>
    <jar href="http://localhost:8080/plugins/servoy_jasperreports/poi-3.6.jar" version="1303221412000" part="poi" download="eager" main="false"/>
    <package name="org.apache.poi." part="poi" recursive="true"/>
  </resources>
  <component-desc/>
</jnlp> ]
	at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
	at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
	at com.sun.javaws.Launcher.launch(Unknown Source)
	at com.sun.javaws.Main.launchApp(Unknown Source)
	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
	at com.sun.javaws.Main$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

```

When I run signtester everything is verified.  
My laptop runs servoy 5.2.7 and the testserver runs 5.2.4  
What could be the issue here ?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [April 20, 2011, 2:44pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/7 "2011-04-20T14:44:49Z")

</div>

This new plugin is signed with a new certificate just like servoy 5.2.5 or 5.2.6.  
So this plugin will not mix with 5.2.4 and lower. If you want that then you need to resign everything with your own certificate

---

<div class="post-metadata">

**Author:** ![Andrei\_Costache](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Andrei\_Costache](https://forum.servoy.com/u/Andrei_Costache)\
**Post date:** [April 22, 2011, 7:13am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/8 "2011-04-22T07:13:33Z")

</div>

> rodneysieb:  
> Hi Andre
> 
> Well done, thanks for the new release.
> 
> Is the plugin compatible with the latest version of ireports, 4.02?

Rodney, we would advise you use the version of iReport, corresponding to the version of JasperReports that the plugin was build against, i.e. JasperReports 4.0.0 here. This is to make sure you don’t run into library clash issues.

Regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![Andrei\_Costache](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Andrei\_Costache](https://forum.servoy.com/u/Andrei_Costache)\
**Post date:** [April 22, 2011, 7:35am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/9 "2011-04-22T07:35:38Z")

</div>

> schoby:  
> Hi Andre,
> 
> thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.  
> Unfortunately I run into a problem when using the jrbean together with a TabPanel based navigation (like the crm sample).  
> I tried to find the error and somehow it looks like the following line is not working anymore:
> 
> ```auto
> forms.frmMain.elements.tabMainView.tabIndex = index;
> 
> ```
> 
> The idea of this line is to set the tab which is show in the main form. Before using the new jrbean it worked perfectly. Also when loading a solution which includes the bean switching tabs works fine. But after first time showing a tab containing the jrbean it is not working anymore …
> 
> Any idea on this weird behavior ?
> 
> Best regards
> 
> Schoby

Hi Schoby,

Have you changed anything in your code after/before you added the jrbean?  
Also, do the logs report anything, any errors/exceptions?

Regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![Andrei\_Costache](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Andrei\_Costache](https://forum.servoy.com/u/Andrei_Costache)\
**Post date:** [April 22, 2011, 8:53am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/10 "2011-04-22T08:53:41Z")

</div>

> Andrei Costache:
> 
> > schoby:  
> > Hi Andre,
> > 
> > thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.  
> > Unfortunately I run into a problem when using the jrbean together with a TabPanel based navigation (like the crm sample).  
> > I tried to find the error and somehow it looks like the following line is not working anymore:
> > 
> > ```auto
> > forms.frmMain.elements.tabMainView.tabIndex = index;
> > 
> > ```
> > 
> > The idea of this line is to set the tab which is show in the main form. Before using the new jrbean it worked perfectly. Also when loading a solution which includes the bean switching tabs works fine. But after first time showing a tab containing the jrbean it is not working anymore …
> > 
> > Any idea on this weird behavior ?
> > 
> > Best regards
> > 
> > Schoby
> 
> Hi Schoby,
> 
> Have you changed anything in your code after/before you added the jrbean?  
> Also, do the logs report anything, any errors/exceptions?
> 
> Regards,  
> Andrei

There was a problem regarding the way the bean handled/validated data, that’s why switching between tabs did not happen.  
It is fixed now and a new (fixed) bean jar is on the ServoyForge plugin site ([Files - Servoy JasperReports Plugin - ServoyForge](https://www.servoyforge.net/projects/servoy-jasperreports/files)).

Regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![jasantana](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jasantana](https://forum.servoy.com/u/jasantana)\
**Post date:** [April 22, 2011, 9:17am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/11 "2011-04-22T09:17:58Z")

</div>

Hi Andrei,

I’m ttying with Servoy 6b1 and as soon as the form containing the bean is shown I can not go to any other and that happens without printing the report.

After printing the report it is not shown. The only way i got it in the screen is clicking a button that shows a modal form to search records. Of course the not going to another form behaviour is still there.

Any clue?

Thanks

I did download the new bean version you uploaded this morning

---

<div class="post-metadata">

**Author:** ![kwpsd](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kwpsd](https://forum.servoy.com/u/kwpsd)\
**Post date:** [April 26, 2011, 4:54am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/12 "2011-04-26T04:54:09Z")

</div>

> thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.

Where are the instructions on how to use the JasperReport bean viewer? I couldn’t find anything on this forum or on ServoyForge.

Thanks!

---

<div class="post-metadata">

**Author:** ![Andrei\_Costache](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Andrei\_Costache](https://forum.servoy.com/u/Andrei_Costache)\
**Post date:** [April 26, 2011, 6:51am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/13 "2011-04-26T06:51:20Z")

</div>

> kwpsd:
> 
> > thanks a lot for your work - tried it out immediately and the bean for showing a jasper report inside a form was working out of the box and looks quite nice.
> 
> Where are the instructions on how to use the JasperReport bean viewer? I couldn’t find anything on this forum or on ServoyForge.
> 
> Thanks!

For now they are contained in the [release notes](https://www.servoyforge.net/projects/servoy-jasperreports/wiki/Servoy_JasperReports_Plugin_v320_-_Release_Notes).

Regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![kwpsd](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kwpsd](https://forum.servoy.com/u/kwpsd)\
**Post date:** [April 26, 2011, 5:05pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/14 "2011-04-26T17:05:36Z")

</div>

Thanks, Andrei…I found it!

---

<div class="post-metadata">

**Author:** ![kwpsd](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kwpsd](https://forum.servoy.com/u/kwpsd)\
**Post date:** [April 27, 2011, 9:24pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/15 "2011-04-27T21:24:40Z")

</div>

JasperReport Preview Bean v3.2.0

I started out using the JasperReport output format specifier ‘OUTPUT\_FORMAT.VIEW’ that pops up a print preview window:

```auto
plugins.jasperPluginRMI.runReport( fs, reportName, null, OUTPUT_FORMAT.VIEW, reportArguments )

```

It works as expected for all my reports.

Then, I decided to use the JasperReport bean on a generic print preview form (a simple form containing the bean and a button that is displayed in a tabpanel):

```auto
elements.bean_jasper_preview.showReport( fs, reportName, reportArguments )

```

The first report displayed in the bean is displayed as expected, however, subsequent reports are not being displayed, and the bean always shows the first report. Using the debugger, I verified that the showReport() arguments ( fs, reportName, reportArguments ) are changing for each report. It’s as if the bean is remembering the first report arguments and ignoring any new arguments. If I restart the solution, and select a different report to preview, it becomes the ‘first report’.

Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![schoby](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@schoby](https://forum.servoy.com/u/schoby)\
**Post date:** [April 27, 2011, 10:30pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/16 "2011-04-27T22:30:06Z")

</div>

Hi Andrei,

thanks a lot for the new version of the Viewer bean ! I really appreciate your work. As you said the bug with switching tab panels is now fixed.

Unfortunatelly I can confirm the bug reported by kwpsd. Loading a report into the viewer bean is only working the first time. Afterwards with different parameters the report is not updated altough I am calling the showReport() method again.

If you need more details to reproduce the bug or any other help - let me know

Schoby

---

<div class="post-metadata">

**Author:** ![Andrei\_Costache](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Andrei\_Costache](https://forum.servoy.com/u/Andrei_Costache)\
**Post date:** [May 6, 2011, 9:50am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/17 "2011-05-06T09:50:33Z")

</div>

> schoby:  
> Hi Andrei,
> 
> thanks a lot for the new version of the Viewer bean ! I really appreciate your work. As you said the bug with switching tab panels is now fixed.
> 
> Unfortunatelly I can confirm the bug reported by kwpsd. Loading a report into the viewer bean is only working the first time. Afterwards with different parameters the report is not updated altough I am calling the showReport() method again.
> 
> If you need more details to reproduce the bug or any other help - let me know
> 
> Schoby

Hi Schoby,

We just fixed this and uploaded a new bean jar.  
Please try it out!

Regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![Andrei\_Costache](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@Andrei\_Costache](https://forum.servoy.com/u/Andrei_Costache)\
**Post date:** [May 6, 2011, 9:52am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/18 "2011-05-06T09:52:06Z")

</div>

> jasantana:  
> Hi Andrei,
> 
> I’m ttying with Servoy 6b1 and as soon as the form containing the bean is shown I can not go to any other and that happens without printing the report.
> 
> After printing the report it is not shown. The only way i got it in the screen is clicking a button that shows a modal form to search records. Of course the not going to another form behaviour is still there.
> 
> Any clue?
> 
> Thanks
> 
> I did download the new bean version you uploaded this morning

Hi,

Could you please try with the latest bean jar (just uploaded a new one today)?

Regards,  
Andrei

---

<div class="post-metadata">

**Author:** ![kwpsd](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kwpsd](https://forum.servoy.com/u/kwpsd)\
**Post date:** [May 6, 2011, 8:24pm UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/19 "2011-05-06T20:24:14Z")

</div>

Hi, Andrei.

I downloaded the new jrbean.jar file and tested it. The problem of showing only the first report generated has been fixed. Thanks for all your efforts and the timely manner in which you got the fix out! Great job!

---

<div class="post-metadata">

**Author:** ![schoby](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@schoby](https://forum.servoy.com/u/schoby)\
**Post date:** [May 7, 2011, 10:14am UTC](https://forum.servoy.com/t/servoy-jasperreports-plugin-version-3-2-0-has-been-released/13876/20 "2011-05-07T10:14:38Z")

</div>

Hi Andrei,

perfect work - works like a charm. Very good work. I really appreciate the work you have done for the jasper report integration for servoy. I think this plugin is one of the most useful plugins for Servoy.

Regards

Schoby
