Jump to content
We've recently updated our Privacy Statement, available here ×

pioppogatto

Members
  • Posts

    37
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by pioppogatto

  1. Great Lucian! Yes you're right that was the case. I've changed the data source origin for the report with the new one and then I have been able to deleta the wrog data source. Thank you again. Is it possible to report this case to jasperserver developers so that they can improve a better error message? If this is the case how can I do? Antonio
  2. Hello, I have this error when I'm trying to delete a Data Sources of JasperSerever from the repository navigater in iReport Error: 1 -could not delete: [com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.datasources.RepoJdbcDataSource#92]; nested exeption is org.hibernate.exception ....... See the attachment jpg How can I solve it?
  3. Hello, I have this error when I'm trying to delete a Data Sources of JasperSerever from the repository navigater in iReport Error: 1 -could not delete: [com.jaspersoft.jasperserver.api.metadata.jasperreports.domain.impl.datasources.RepoJdbcDataSource#92]; nested exeption is org.hibernate.exception ....... See the attachment jpg
  4. Hi, I've tried to do my report as th JS example, I think it's like yours but I did not solved the problem When I put instead of "null" a know value my report works good so it means that the problem is not there. I've understood that the defaullt value expression is the value that you want in your list box (by the way you can change from "USA" to "Mexico"). In my report if I put the null value as default I aspect that the parametrs passed in the where of the query will be the result of the query in the input control ... but it's not like that ... :((( Let's start again: 1) is your report provided with a parameter with the same same of the input control 2) wich is the Class parameter? In my report and in the examples is java.util.Collection 3) is there a where clause in your query ? In my report the query is like that SELECT ul.* from ul WHERE $X{IN, field_provincia, provincia_multi_select} It appears that the result of the where clause is null and so the report it has no value ....
  5. I have a similar problem and I didn't solve it. Didi you look at the examples in JasperServer Repository? There's a report called "cascading multi select example report" that does what you want. Looking at the parameter the default value expression is new ArrayList(Arrays.asList(new String[] {"USA"})) maybe can it be your "null" value that is not right? How can you pass to that null value the result of your multi select query? Antonio
  6. Hi everybody, I'm looking for a step by step help to create a report with a multi select input control based on a Sql query. What I have is a report based on a query like that select name, address, city from table_name What I would like to do is to insert an input control with a multi select list of city in order to filter my report, the multi select input controls should take the result of a query like that select distinct city from table_name How can do? I've put a parameter into my report but I can't pass to the input control and to the query of the report the list of values. Can you please help me? Tahnk you very much Antonio
  7. Hallo, how can you increase th JVM memory? Thank you
  8. I've solved my problem. The field of the materialized view that stored the path string to the image must be written without double slash and without " The wrong string was like this: "C:\documents\image\1.jpg" the correct one must be a simple path like this: C:documentsimage1.jpg
  9. I'm a newby. I'm using ireport 3.1 and I'm trying to print a report composed of one page for eache record in my tab. The source for the report is a materialized view on oracle and it's like this id (primary key) name (varchar) field_image (varchar) The field_image in the materialized view as a string link this: "C:\dati\immagine_1.jpg" In my report the image properties are: Expression class like: java.lang.string Expression Image like $F{field_image} When I try to print the report I get this error: Error filling print ... Byte data not found at location Code:ErrorÂfillingÂprint...ÂByteÂdataÂnotÂfoundÂatÂlocationÂ:Â"T:\GESTIONE_IMPIANTI\DATABASE_GESTIONE_RIFIUTI\PROGETTO_D15\immagini_ctr\3804.jpg" net.sf.jasperreports.engine.JRException:ÂByteÂdataÂnotÂfoundÂatÂlocationÂ:Â"T:\GESTIONE_IMPIANTI\DATABASE_GESTIONE_RIFIUTI\PROGETTO_D15\immagini_ctr\3804.jpg"Â ÂÂÂÂatÂnet.sf.jasperreports.engine.util.JRLoader.loadBytesFromLocation(JRLoader.java:486)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.JRImageRenderer.getInstance(JRImageRenderer.java:180)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:943)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRFillImage.evaluate(JRFillImage.java:890)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:275)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:426)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1380)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:692)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:255)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:888)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:791)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)Â ÂÂÂÂatÂnet.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:234)Â ÂÂÂÂatÂcom.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:895)Â ÂÂÂÂatÂorg.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)Â ÂÂÂÂatÂorg.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)Â Print not filled. Try to use an EmptyDataSource...
×
×
  • Create New...