Questions tagged as 'jasper-reports'

1
answer

Create pdf report with ireport in netbeans with JSON as datasource

I am new programming in java and I have encountered a small problem, I am generating a pdf report taking as datasource a JSON file, but I have not managed to pass the JSON to JasperFillManager.fillReport to generate the pdf, if I c...
asked by 14.10.2016 / 21:49
1
answer

Jasperreports chart: Error evaluating expression for source text: $ F {answers}

I'm using Jaspersoft Studio 6.2. to print graphics from a Class List and give me this error: Error evaluating expression for source text: $F{answers} This is the class that represents the data for a graph: public class GraphicP {// Gráfic...
asked by 25.03.2016 / 11:35
1
answer

JRLoader.loadObject error of JasperReport

I'm new to this jasper report , I do not know if I'm missing something or why I get this error: My Code line with error: JasperReport reporte = (JasperReport) JRLoader.loadObject("ReporteComisiones.jasper"); It's a maven project,...
asked by 23.11.2018 / 21:44
2
answers

Error generating and downloading report (JasperReports)

I am making a list to download invoices, but when I generate a report with many concepts or that it grows too much, it is throwing me an exception, which I copy below    java.lang.NoSuchMethodError: org.apache.commons.javaflow.Continuation.su...
asked by 30.06.2016 / 18:55
1
answer

java.net.MalformedURLException

I'm having a horrible problem and worst of all is that on the web I find almost nothing about this! I'm doing a report in java with jaspersoft studio. I made the template already (it has two parameters) and followed the guide of the following p...
asked by 01.11.2016 / 19:14
1
answer

How to generate report in Jasper if the WHERE condition is not met

Hello community, I commented to you the problem that I have, I am generating a report of debts of clients with the following query: SELECT COALESCE(sum(F.total),0) AS Compra, CC.saldo - sum(F.total) AS deuda, C."razon_social" AS...
asked by 26.09.2017 / 18:22
1
answer

Problem with JRLoader

I am trying to run a report in Jasper Report with the following code: Class.forName("org.postgresql.Driver"); Connection conexion = DriverManager.getConnection("jdbc:postgresql://localhost:5432/reportes", usuario, contraseña; File repor...
asked by 24.01.2017 / 22:57
2
answers

How can I pass mysql query fields to ireport?

When making an sql query the fields vary and I do not know how I can do so that ireport shows me those fields with their data when I run it. Axis: Query 1: SELECT col1, col2, col3 FROM table; but the report can also receive this other query SELE...
asked by 13.07.2017 / 19:19
1
answer

Join multiple PDF's with jasperReports

I hope someone can help me, I am trying to merge several PDFs into a single file but I only upload the files to an existing file. I would like to have it printed on a new website of my application. I have been using this line of code JasperEx...
asked by 02.06.2016 / 01:26
0
answers

Pass php parameter to JasperReports

I have a parameter java.util.Collection called parameters and my example query would be like this: SELECT nombre FROM persona WHERE $X{IN, id, parametros} . My question is how do I pass the parameter from php? I used this function t...
asked by 04.12.2018 / 15:54