Establecer hipervínculo en iReport

solía Jaspersoft iReport Designer 5.1.0 in ubntu 12.04

I want create hiperenlace.

Two Report :- Report 1 Report 2

In Report 1 set Hyperlink To called Report 2

Step :-

      Take on text element ex : ${ID}

      Right Click Hyperlink 

      Target : self       type : Report Execution

      Link Parameter :-    _report         "/path Report2"

In Preview Click Id than nothing happen and Report 2 not called

And Following Error Occurred:-


Compiling to file... /home/mansi/Tweet_Report/report5.jasper Compilation running time: 174!

 Filling report...

 Locale: English (India)  Time zone: Default Report fill running time: 44! (pages generated: 1)  Exporting Text (iReport) to file... /home/abc/R1_Report/Report1.txt!

Error exporting print... net.sf.jasperreports.engine.JRPrintText.getTextAlignment()B

java.lang.NoSuchMethodError: net.sf.jasperreports.engine.JRPrintText.getTextAlignment()B

    at com.jaspersoft.jrx.export.JRTxtExporter.layoutGrid(     at com.jaspersoft.jrx.export.JRTxtExporter.exportPage(     at com.jaspersoft.jrx.export.JRTxtExporter.exportReportToWriter(     at com.jaspersoft.jrx.export.JRTxtExporter.exportReport(     at     at org.openide.util.RequestProcessor$     at org.openide.util.RequestProcessor$

Export running time: 9! No external viewer specified for this type of print. Set it in the options frame!

Please help me to solved this Error.

preguntado el 27 de noviembre de 13 a las 05:11

Does report 2 run OK by itself? - 2 run OK -

Does this error occur in iReport? -

yes this error occur in iReport -

Do you get the same error when you generate the report outside of iReport? For example, in JasperReports Server or another interface? -

1 Respuestas

It looks like you have to set the character height and width. From the page I have linked to:

Go to Tools-->Options

Select Export Options tab --> Select Text from left pane

Set values for Character Width, Character Height, (The values I have set 7 and 13.9) Page width and Height.

Now try generating the report and it will work. Try setting different values to make it fit properly.

Respondido el 20 de junio de 20 a las 10:06

I also set different hight and width for both page and character but still same error occurred. - user2865749

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.