# iReport problem

**URL:** <https://forum.servoy.com/t/ireport-problem/13172>\
**Category:** Classic Servoy\
**Created:** [November 11, 2010, 12:19pm UTC](https://forum.servoy.com/t/ireport-problem/13172 "2010-11-11T12:19:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manolo\_Etec](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Manolo\_Etec](https://forum.servoy.com/u/Manolo_Etec)\
**Post date:** [November 11, 2010, 12:19pm UTC](https://forum.servoy.com/t/ireport-problem/13172/1 "2010-11-11T12:19:02Z")

</div>

Hi  
I tried to run Servoy with iReport, but it’s impossible to me.

I run this function : plugins.jasperPluginRMI.runReport(‘iuris’,‘agenda.jrxml’,false,‘view’)

and I get this error:

org.mozilla.javascript.WrappedException: Wrapped java.lang.Exception: Unknown hyperlink target 0 (C:\Documents and Settings\manuellopez\servoy\_workspace\iuris\Iuris\forms\agenda\_lst.js#24)  
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1828)  
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:199)  
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:353)  
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3666)  
at script.imp\_agend\_vertical(C:\Documents and Settings\manuellopez\servoy\_workspace\iuris\Iuris\forms\agenda\_lst.js:24)  
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)  
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)  
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)  
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3127)  
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:165)  
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:458)  
at com.servoy.j2db.debug.RemoteDebugScriptEngine.executeFunction(RemoteDebugScriptEngine.java:382)  
at com.servoy.j2db.FormController.executeFunction(FormController.java:3970)  
at com.servoy.j2db.FormController.executeFunction(FormController.java:3851)  
at com.servoy.j2db.plugins.ClientPluginAccessProvider$MethodExecutor.run(ClientPluginAccessProvider.java:528)  
at java.awt.event.InvocationEvent.dispatch(Unknown Source)  
at java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.run(Unknown Source)  
Caused by: java.lang.Exception: Unknown hyperlink target 0  
at com.servoy.plugins.jasperreports.JasperReportsProvider.runReport(JasperReportsProvider.java:522)  
at com.servoy.plugins.jasperreports.JasperReportsProvider.js\_runReport(JasperReportsProvider.java:305)  
at com.servoy.plugins.jasperreports.JasperReportsProvider.js\_runReport(JasperReportsProvider.java:302)  
at com.servoy.plugins.jasperreports.JasperReportsProvider.js\_runReport(JasperReportsProvider.java:298)  
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 org.mozilla.javascript.MemberBox.invoke(MemberBox.java:179)  
… 20 more

I have placed all files in corresponding directories.

This function work fine.

plugins.jasperPluginRMI.extraDirectories  
plugins.jasperPluginRMI.pluginVersion  
plugins.jasperPluginRMI.getReports(filter)

Servoy developer 5.2.1  
ireport 3.7.3  
plugins 3.0.1

A little help is appreciated.

Manuel Lopez

---

<div class="post-metadata">

**Author:** ![victor.rojo](https://avatars.discourse-cdn.com/v4/letter/v/57b2e6/32.png) [@victor.rojo](https://forum.servoy.com/u/victor.rojo)\
**Post date:** [November 11, 2010, 12:46pm UTC](https://forum.servoy.com/t/ireport-problem/13172/2 "2010-11-11T12:46:41Z")

</div>

Hi Manuel,

I think that the jasper report plugin verion 3.0.1 isn´t compatible with the 3.7.3 version of iReports.  
Try to update the plugin or use a previous iReport version supported by the plugin.

---

<div class="post-metadata">

**Author:** ![Thomas\_Parry](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@Thomas\_Parry](https://forum.servoy.com/u/Thomas_Parry)\
**Post date:** [November 11, 2010, 1:12pm UTC](https://forum.servoy.com/t/ireport-problem/13172/3 "2010-11-11T13:12:24Z")

</div>

Since you specify a jrxml file as input this has to be compiled by the JasperReport. Ensure that the iReport language is set to Java unless you are sure that you have Groovy support files loaded.

---

<div class="post-metadata">

**Author:** ![Manolo\_Etec](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Manolo\_Etec](https://forum.servoy.com/u/Manolo_Etec)\
**Post date:** [November 15, 2010, 11:48am UTC](https://forum.servoy.com/t/ireport-problem/13172/4 "2010-11-15T11:48:02Z")

</div>

@Victor . Now I install iReport versión 3.7.1, that are compatible (someone said me)

@Thomas The language is set to Java in iReport

but now I have another problem.

'Exception calling form method ‘imp\_bancos’ with arguments [-1, -1, false, null, Imprimir] on form 'bancos\_lst’in async mode on solution Icarus  
Wrapped java.lang.SecurityException: class “net.sf.jasperreports.engine.export.JRXhtmlExporter”'s signer information does not match signer information of other classes in the same package (C:\Documents and Settings\manuellopez\servoy\_workspace\iuris\maestro\forms\bancos\_lst.js#6)

I signed th plugins with ‘-overwrite’, but still gives me the same error.

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [November 15, 2010, 1:19pm UTC](https://forum.servoy.com/t/ireport-problem/13172/5 "2010-11-15T13:19:58Z")

</div>

> Manolo\_Etec:  
> I signed th plugins with ‘-overwrite’, but still gives me the same error.

If you are referring to the signtester tool from ServoyForge  
[https://www.servoyforge.net/projects/signtester/files](https://www.servoyforge.net/projects/signtester/files)

Then the option is “overwrite” not “-overwrite”.  
Check the log to see if the jars were successfully signed.

---

<div class="post-metadata">

**Author:** ![Manolo\_Etec](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Manolo\_Etec](https://forum.servoy.com/u/Manolo_Etec)\
**Post date:** [November 15, 2010, 4:27pm UTC](https://forum.servoy.com/t/ireport-problem/13172/6 "2010-11-15T16:27:03Z")

</div>

@ptalbot, I update the singtester.jar and the option ‘overwrite’ and work fine. Thanks a lot ![:)]( "Smile")

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [November 15, 2010, 8:10pm UTC](https://forum.servoy.com/t/ireport-problem/13172/7 "2010-11-15T20:10:14Z")

</div>

singtester! ![:lol:]( "Laughing") gotta hear that!

sorry, just kidd’n ![:wink:]( "Wink")

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [November 15, 2010, 8:38pm UTC](https://forum.servoy.com/t/ireport-problem/13172/8 "2010-11-15T20:38:12Z")

</div>

Yes Harjo, that’s the new name of it: it can make your jars SING! ![;)]( "Wink")

---

<div class="post-metadata">

**Author:** ![Manolo\_Etec](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Manolo\_Etec](https://forum.servoy.com/u/Manolo_Etec)\
**Post date:** [November 16, 2010, 1:41pm UTC](https://forum.servoy.com/t/ireport-problem/13172/9 "2010-11-16T13:41:38Z")

</div>

![:oops:]( "Embarassed") I must to improve my english or use google translator.
