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

2005 IR Help

Members
  • Posts

    2,830
  • 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

Posts posted by 2005 IR Help

  1. By: Gunny99 - gunny99

    Setting a chart's range??

    2005-10-07 07:00

    My report has several charts based upon a dataset of server performance monitors and each chart (e.g.: CPU utilization) has it's own range. I need to be able to set these to a fixed 0-100.

     

    Is it possible to manually set the range on a chart?

     

     

     

     

     

    By: bill - rx7haze

    RE: Setting a chart's range??

    2006-05-25 09:52

    I too am trying to adjust the range on the value axis. If you do a search on this topic you'll notice there is never an answer for this question. Someone out there must know how to set this as I've seen plenty of samples that appear to have been modified. I'm assuming it can't be done in the GUI but there must be a way to modify the jrxml file. I don't know much about java programming but if you look at the JFreeChart API it looks possible.

     

     

     

     

    By: bill - rx7haze

    RE: Setting a chart's range??

    2006-05-26 14:17

    I've lost track of how many hours I've spent trying to figure this out. It looks like setting the range is possible by using the Customizer class in the chart properties. I've seen it stated that this can open up the entire JFreeChart API to iReport. I found a sample of a customizer class located in the jasper reports download in the location jasperreports-1.2.2demosampleschartsbarchartcustomizer.java. This all makes sense to me but now I can't figure out how to reference the customizer class. I tried setting the classpath to reference the directory...that didn't work. I tried putting it in the lib directory of iReport...that didn't work. Finally I tried putting it in the same directory as the report...that didn't work. This is the only thing holding me back from using iReport as my total reporting solution.

    Thanks.

     

     

     

     

    By: bill - rx7haze

    RE: Setting a chart's range??

    2006-05-26 15:16

    Forgot to post in previous message. Here's the error I get.

    Error filling print...

    java.lang.ClassNotFoundException: BarChartCustomizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:90) at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:260) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getChart(JRFillObjectFactory.java:551) at net.sf.jasperreports.engine.base.JRBaseChart.getCopy(JRBaseChart.java:470) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88) at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374) at net.sf.jasperreports.engine.fill.JRFillGroup.<init>(JRFillGroup.java:76) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getGroup(JRFillObjectFactory.java:353) at net.sf.jasperreports.engine.fill.JRFillVariable.<init>(JRFillVariable.java:83) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getVariable(JRFillObjectFactory.java:333) at net.sf.jasperreports.engine.fill.JRFillDataset.addVariable(JRFillDataset.java:275) at net.sf.jasperreports.engine.fill.JRFillDataset.setVariables(JRFillDataset.java:265) at net.sf.jasperreports.engine.fill.JRFillDataset.<init>(JRFillDataset.java:219) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getDataset(JRFillObjectFactory.java:1032) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:374) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:653) at java.lang.Thread.run(Unknown Source) NESTED BY : java.lang.ClassNotFoundException: BarChartCustomizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:90) at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:260) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getChart(JRFillObjectFactory.java:551) at net.sf.jasperreports.engine.base.JRBaseChart.getCopy(JRBaseChart.java:470) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88) at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374) at net.sf.jasperreports.engine.fill.JRFillGroup.<init>(JRFillGroup.java:76) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getGroup(JRFillObjectFactory.java:353) at net.sf.jasperreports.engine.fill.JRFillVariable.<init>(JRFillVariable.java:83) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getVariable(JRFillObjectFactory.java:333) at net.sf.jasperreports.engine.fill.JRFillDataset.addVariable(JRFillDataset.java:275) at net.sf.jasperreports.engine.fill.JRFillDataset.setVariables(JRFillDataset.java:265) at net.sf.jasperreports.engine.fill.JRFillDataset.<init>(JRFillDataset.java:219) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getDataset(JRFillObjectFactory.java:1032) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:374) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:653) at java.lang.Thread.run(Unknown Source) NESTED BY : net.sf.jasperreports.engine.JRRuntimeException: Could not create chart customizer instance. at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:263) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getChart(JRFillObjectFactory.java:551) at net.sf.jasperreports.engine.base.JRBaseChart.getCopy(JRBaseChart.java:470) at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88) at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374) at net.sf.jasperreports.engine.fill.JRFillGroup.<init>(JRFillGroup.java:76) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getGroup(JRFillObjectFactory.java:353) at net.sf.jasperreports.engine.fill.JRFillVariable.<init>(JRFillVariable.java:83) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getVariable(JRFillObjectFactory.java:333) at net.sf.jasperreports.engine.fill.JRFillDataset.addVariable(JRFillDataset.java:275) at net.sf.jasperreports.engine.fill.JRFillDataset.setVariables(JRFillDataset.java:265) at net.sf.jasperreports.engine.fill.JRFillDataset.<init>(JRFillDataset.java:219) at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getDataset(JRFillObjectFactory.java:1032) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:374) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:653) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: BarChartCustomizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:90) at net.sf.jasperreports.engine.fill.JRFillChart.<init>(JRFillChart.java:260) ... 23 more

    Print not filled. Try to use an EmptyDataSource...!

     

     

     

     

    By: Fek - fekmfg

    RE: Setting a chart's range??

    2006-05-12 07:03

    Hi,

     

    I have the same problem I need to set the x axis from 0 to 24. Is there no possibility to configure the axis?

     

    Greetings Fek

     

     

     

     

    By: Marcelo Fernandes - mcf-rocha

    RE: Setting a chart's range??

    2006-05-29 08:46

    Hi all!

     

    I want to do the same thing. Have you found the solution?

     

    I know how to do it in JasperReport but not in iReport:

     

    final JFreeChart chart = ChartFactory.createBarChart3D(

    "Graph name", // chart title

    "Domain name", // domain axis label

    "Range name", // range axis label

    dataset, // data

    PlotOrientation.HORIZONTAL, // orientation

    true, // include legend

    true, // tooltips

    false // urls

    );

     

    final CategoryPlot plot = chart.getCategoryPlot();

    NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();

    rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());

    //Now we set the range, for exemple: from 0 to 5

    rangeAxis.setRangeWithMargins(0,5);

     

    Thanks in advance,

     

    Marcelo

     

     

     

     

     

    By: bill - rx7haze

    RE: Setting a chart's range??

    2006-05-30 06:17

    Someone out there must know how to use the customizer class.

    Please help.

    Thanks.

  2. By: Paul - pxp777

    How to design and run report that contain 2 p

    2005-10-17 01:52

    Hi!

     

    How to design report template that contains two or more different pages in JasperReport. Those pages can contain plain text

    (as an example some contract) with a few parameters on any page.

     

    Can I use something like iReport?

     

    Sincerely, Paul

     

     

     

     

     

    By: mjp - mjplaine

    RE: How to design and run report that contain 2 p

    2006-05-24 01:49

    Paul,

     

    Did you find a solution to this question?

     

    Thanks

     

    Marie-Jo

     

     

     

     

    By: Martyn - martyn-hi-ss-nl

    RE: How to design and run report that contain

    2006-05-24 13:06

    What do you mean by two different pages. If you want 2 different pages you need to design 2 different reports. If you are more specific what you want I can indicate if iReport is something for you.

  3. By: Daniel Gaspary - dgaspary

    TextField + Parameter + Style - Howto ??

    2005-09-25 20:10

    Hi, I have the following problem:

     

    I have a TextField and I need to show a text with a Param. The problem is ... the param need to have the bold style.

     

    Textfield Expression is something like:

     

    "Normal text" + <style isBold="true">$P{param1}</style>

     

    How can I do that ?

     

     

     

     

    By: Daniel Gaspary - dgaspary

    RE: TextField + Parameter + Style - SOLVE

    2005-09-26 18:05

    The solution was in the jasperReports StyledText sample:

     

    "Normal text <style isBold="true">" + $P{param1} + "</style> normal text again."

     

     

     

     

     

     

    By: Diogo Oliveira - diogosales

    RE: TextField + Parameter + Style

    2006-05-22 10:42

    Thanks, that saved me a lot of precious time ;)

  4. By: Scott Carr - kevinscarr

    Compiling Report... Never completes

    2005-01-25 14:22

    I have a message in the Active Threads that states Compiling Report, but it never does anything. I don't see any output show in the directory.

     

    Is there something I am missing?

     

    PS This occurs after I press the Compile Report button... ;-)

     

     

     

     

    By: Giulio Toffoli - gt78

    RE: Compiling Report... Never completes

    2005-01-26 11:13

     

    iR 0.4.1 supports all kind of java compilers and can solve the problem.

     

    iR 0.4.1 will be out in 2/3 days.

     

    Please note that you can have a loop. Check that bands are not too height.

     

    giulio

     

     

     

     

    By: N Olding - oldingn

    RE: Compiling Report... Never completes

    2006-04-17 15:20

    I am using iReport 1.2.1 on Sun Java 1.5.0_06 and I have this problem too.

     

    What does 'check that bands are not too high' mean?

    Are there specific maximum values for each band?

     

    Thanks,

     

     

     

     

    By: N Olding - oldingn

    RE: Compiling Report... Never completes

    2006-04-17 21:30

    Oops, Windows 2000 w/latest patches, I forgot to mention.

     

     

     

     

    By: N Olding - oldingn

    RE: Compiling Report... Never completes

    2006-04-19 09:16

    ... and the word 'Solid' appears three times, on separate lines, on the MS-DOS window running iReport.

     

    It turns out that the comiple does finish, with a compilation time of 2,880,000.

     

     

     

     

    By: N Olding - oldingn

    RE: Compiling Report... Never completes

    2006-04-19 10:20

    A fix!

     

    Delete all versions of Java runtime and JDK, and reinstall Java and iReport.

     

    The same report now has a compilation time of 281. This is 10,000 times better.

  5. By: andersons - andersons

    Barcode Full ASCII character set

    2005-12-23 09:30

    I am producing 3of9 barcodes that need the full ascii character set. I receive the error of java.lang.RuntimeException: Illegal character - try using extended mode if you need to encode the full ASCII character set at it.businesslogic.ireport.barcode.BcImage.getBarcodeImage().I know that there is an option to do so with barbecue. I was wondering if anyone knew how to set this with iReport or even within the XML code. Thanks in advance.

     

    Susan

     

     

     

     

     

    By: Rob Karatzas - tutor

    RE: Barcode Full ASCII character set

    2006-04-18 07:47

    having the same issue (with v1.2) Susan

     

    did you ever find a solution for this?

     

    thanks rob

     

     

     

     

    By: Rob Karatzas - tutor

    RE: Barcode Full ASCII character set

    2006-04-18 07:57

    the 'real' issue is having unsupported characters (in my case, these were lowercase characters).

     

    my solution was just to uppercase the inbound data field.

     

    rob

  6. By: Lars Hammer - thegrudge

    Time Series Chart -a little help needed

    2005-12-05 02:55

    Hello

     

    I am struggling to get a TimeSeries Chart running in iReport.

    I have an SQL-query which returns a long list of timestamps in milis (long).

    Now, the problems is, when i look at the Chart Data Details page in iReport, I'm requested to fill out "Series expression", "Time Period expression" and "Value expression" and I can't figure out what to put in these fields.

    I've read the devx.com article on ireport/jasperreport and I have successfully created both pie and bar charts, but the TimeSeries chart is killing me.

    The manual says nothing hereof :-(

    I've been messing around with Report Series, but I cannot seem to get it quite right.

     

    If anyone could provide some hints on creating TimeSeries charts, that would be really helpful.

     

    Thanks in advance!

     

    /Lars Hammer

     

     

     

     

     

    By: Alan O'Leary - aloleary

    RE: Time Series Chart -a little help needed

    2006-04-11 04:33

    Here here... cannot find any help on this either... a little frustrated... one example of this would help a lot of people !! (including those of us who have paid for the manual !)

     

     

     

     

    By: MaGaM - maganz

    RE: Time Series Chart -a little help needed

    2006-04-17 03:34

    Hello fellow iReport users. Last week I started using the Time Series Charts in iReport. At first I was baffled at how to get data into these charts. But after playing around for a while I finally got to it.

    I'm sorry, I don't have the time to write a detailed description of my actions as to get these charts 'running'. I actually figured it out by looking at the time series chart examples which are in the jasperreports 1.2.0 package, if my memory is correct.

    Hope this will be of help to both of you!

     

    Bye,

    Mario

  7. By: MussMan - mussman

    variable field in a barcode?

    2005-12-28 10:32

    I'm relatively new to iReport and Jasper.

     

    I'm creating a document that needs to convert an integer field to a barcode and print out on the report. When I design the report without the barcode, everything works just fine. But I can't figure out how to add the barcode in a way that will let me use a variable field for the barcode.

     

    It will put a fixed numerical value in the barcode, but that doesn't do me any good. Is it possible to use a field to generate the barcode in iReport? Or will I have to code it in XML?

     

    Thanks.

     

     

     

     

    By: Hendry - hendrykho

    RE: variable field in a barcode?

    2006-04-12 04:31

    Hi,

     

    Could you tell me what is application identifier for?

  8. By: antobuccia - antobuccia

    show problem in pdf

    2005-07-29 06:04

    why the pdf preview in IReport does work ok, but when I use the same report and show it in pdf in another server, pdf cut some fields?

    It depends on the system set-up or exists some parameters in IReport to use for avoid these kind of probles?

    thank-u

     

     

     

     

    By: -JE- - julegner

    RE: show problem in pdf

    2006-04-03 08:26

    We have the same problem, and i think it happens when there is no arial font on the server. Then the server uses the font given as pdf-font, which can be bigger, if so, the text is sometimes to big for the textfield.

    So try and put arial on the server.

  9. By: roshansalvi - roshansalvi

    How to pass a collection of Java object.

    2005-03-27 23:30

    I am using iReport. i want to pass collection of Java object to iReport so that it can print all the data. how should i pass the collection of java object and how should i print them..

    Please help me out...

    thanks in advance

     

     

     

     

    By: xpert - jcox00

    RE: How to pass a collection of Java object.

    2005-03-28 12:40

    As in the object that you're passing to the report is of the type java.util.Collection? Are you passing it in as a parameter or field from a custom data source?

     

     

     

     

    By: Diogo Oliveira - diogosales

    RE: How to pass a collection of Java object.

    2006-04-03 04:32

    Hi

    I have exacly the same issue so I'll post it here. And yes, as for me, I'm passing a java.util.Collection from my own CustomDataSource. Inside the collection I have a small number of object of a custom type I developed. This object has something like a string and two integer fields. How can I generate a variable-size list of all the objects in my collection?

     

    Thanks.

     

     

     

     

    By: Diogo Oliveira - diogosales

    RE: How to pass a collection of Java object.

    2006-04-03 06:18

    Also I have a getter for it (it's in a java bean) but it's not static and the collection varies with a given argument (actually, a bean attrribute). So this is impossible using bean data source, right?

  10. By: Alceu Rodrigues de Freitas Jr. - glasswalk3r

    using variables to calculate subtotals

    2005-05-30 08:27

    Hello,

     

    I have a report that should show data like the example

    below:

     

    Group 1

    ----

    Amount Unit value Total Value

    -------------------------------

    3 10 30

    4 10 40

    Subtotal: 70

     

    Group 2

    Amount Unit value Total Value

    -------------------------------

    4 10 40

    5 10 50

    Subtotal: 90

     

    The problem is that I inserted all the data in the

    "Detail" group, including the "Subtotal" line. I used

    a variable to calculate the subtotal:

     

    Variable name: subtotal

    Reset Type: Report

    Calculation Type: Sum

    Variable Expression: $F{total_value}

    Initial Value Expression: new Double(0)

     

    The variable is not being "reseted" to zero as I would

    like. I tried to use another types of "Reset Type" but

    it is not working.

     

    Everytime I execute the report, I get the first

    "Subtotal" ok, but the next one will be the previous

    value plus the next values. The final result is this:

     

    Group 1

    ----

    Amount Unit value Total Value

    -------------------------------

    3 10 30

    4 10 40

    Subtotal: 70

     

    Group 2

    ----

    Amount Unit value Total Value

    -------------------------------

    4 10 40

    5 10 50

    Subtotal: 160

     

     

    There is any way to implement that in iReport? How

    should I do it?

     

    Thanks in advance

     

     

     

     

    By: Giulio Toffoli - gt78

    RE: using variables to calculate subtotals

    2005-05-31 00:43

     

    ResetType: Group

    ResetGroup: Your group name

     

    Giulio

     

     

     

     

    By: GSantos - gureba

    RE: using variables to calculate subtotals

    2006-03-28 13:15

    How to calculate a percentage of each detail in a subtotal, and the similar of each subtotal, example:

     

    Product Qty Part%

    A 25 83,3%

    B 5 16,7%

    SubTotal 30 33,3%

     

    C 30 50,0%

    D 30 50,0%

    SubTotal 60 66,7%

     

    Total 90

     

    How can we implement this calculation? We tried to use different variables, with different evaluation times, but it didn´t works.

     

    Thanks,

    Gustavo Santos

  11. By: CHL2004 - chl2004

    Does the Option in iReport work?

    2005-02-08 12:31

    When I make changes to the options (under Option menu) that are supposed to affect new documents, like defaulting values to pixel instead of cm, it doesn't seem make any difference. Same thing happen when I set a default template to be used in a new document. Does anybody have this problem?

     

     

     

     

    By: frblusso - frblusso

    RE: Does the Option in iReport work?

    2006-03-24 08:23

    Nobody has replied to that question, and today, i discover the same problem with the option 'default template', with ireport1.2.0.

     

    is anyone has an idea?

  12. By: Ionut Nedelcu - ionutned

    Deleting a report band in iReport

    2005-03-28 05:09

    I tried to delete a band using iReport, but it is impossible. I also tried to delete it manually from the xml file, but when I load the design in iReport, it just adds it back.

     

    Is it a bug or a feature?:)

     

     

     

     

    By: Remo Fritzsche - remofritzsche

    RE: Deleting a report band in iReport

    2006-03-23 01:06

    simply set the band hight (right-click -> band properties) to 0 and after changing the height of the band click into the textbox to confirm it...otherwise it won't be saved.

     

    good luck

  13. By: Theodore Watson - tedw_esc

    Barcodes not appearing in JSP, no exceptions

    2005-11-23 12:29

    I'm using JasperReports 1.1.0 with iReports 0.5.2 to render html reports using a servlet. The ImageServlet from JasperReports is not returning barcode images. I included it.businesslogic.ireport.barcode.BcImage and barbeque-1.1.jar. Unfortuantely, no exceptions are being thrown. The only image coming out of ImageServlet is the px image.

     

    Barcodes are rendering correctly in PDFs.

     

    Does anyone know what I'm missing?

     

    Thanks,

    Ted Watson

     

     

     

     

    By: Hendry - hendrykho

    RE: Barcodes not appearing in JSP, no exceptions

    2006-02-28 04:03

    Hi,

     

    I am sorry because i am not answering your question.

    I have problem in rendering barcode in PDF's.

    I have got exception below

     

    net.sf.jasperreports.engine.fill.JRExpressionEval

    Exception: Error evaluating expression : image_2

    Source text : it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(2

    ,$P{IMEI},true,false)

     

    Could you tell me what do I miss?

    I have included the iReport.jar.

     

    Please help me. Thanks.

  14. By: Shammi Hettiarachchi - shammif2

    how to print a report

    2005-12-16 04:21

    how to print report directly without previewing it..

     

     

     

     

    By: Remo Fritzsche - remofritzsche

    RE: how to print a report

    2006-02-16 06:04

    you can turn the output directly into a directory without viewing it. if you start the report with a servlet, you can print the saved pdf directly with the servlet. after that you could remove it.

  15. By: tolga gucuk - e111982

    subreport screen shots.

    2005-11-15 03:52

    hi my friends.

    can anyone who can manage subreport send me screen shots for the steps in main report and subreport. i only want to write subreport with a simple query. and a main one with no query and show the results of subreport in main report. main report is fully empty. all the times it says "the document has no pages" .

     

    please help . in really confusion..

    thanks.

     

     

     

     

    By: Remo Fritzsche - remofritzsche

    RE: subreport screen shots.

    2006-02-16 00:51

    Here a little example:

     

    http://www.redbit.ch/public/screens.ireport/help/

     

    The subreport.doc File. It's a little bit corupt but I had not much time to create this tutorial;)

     

    Regards

    Remo

     

     

     

     

    By: Remo Fritzsche - remofritzsche

    RE: subreport screen shots.

    2006-02-16 01:38

    arm...why you want to place a subreport in a empty main report?

  16. By: tomuno - tomuno

    I want make a table! Can I?

    2005-03-21 22:24

    table :

     

    name | id | price ...

    sex xx xx xxx

    age xx xx xxx

    use xx xx xxx

    .

    .

    .

     

    but the row and the line number both variable

    !!!!!!!!!!!!!!!!SOSOSOSOSOSOSOSOSOSOS

     

     

     

     

     

    By: Remo Fritzsche - remofritzsche

    RE: I want make a table! Can I?

    2006-02-15 01:47

    place the variable data into the detail band. and for a dynamc number of colums try to use crosstabs.

     

    crosstabs are supported sience iReport 1.1.0 and documented in the manual V 1.2

     

    regards

    Remo

  17. By: Abhi - abgore

    Configuring JRDataSourceProvider

    2005-06-16 09:23

    I am trying to configure the JRDataSourceProvider as my datasource but I keep on getting the "Chec your classpath" error.

     

    I have configured the classpath and specified the JAR whcih has my datasource class.

     

    Is there anything I am overlooking ?

     

     

     

     

    By: Giulio Toffoli - gt78

    RE: Configuring JRDataSourceProvider

    2005-06-22 14:47

    This problem is fixed in repository.

    A workaround is put your classes in classes iReport directory.

     

    Giulio

     

     

     

     

    By: dhiller - dhiller

    RE: Configuring JRDataSourceProvider

    2006-02-07 04:25

    We are facing the same problem with iReport 1.1.0.

     

    Putting classes in iReport directory is unacceptable.

     

    Can anyone point us to a patch or to a different solution?

  18. By: jem11 - gigio11

    Summary not alone in last page

    2005-11-11 12:53

    Hi everybody:

     

    I have a report and sometimes the summary band is printed alone in the last page, how can i avoid that this happen? i want that if the summary is alone the elements in the past page "jumps" with the summary.

     

    Gigio11

     

     

     

     

    By: Andreas M?- amuelle1

    RE: Summary not alone in last page

    2006-02-06 05:28

    Hello,

    I've the same problem. If no detail has to be printet on last page the summary is printed alone without pageheader and pagefooter.

    But I need the pageheader and pagefooter printet because every page has to look the same.

     

    Anybody an idea what to do?

     

    Thanks,

    Andreas

  19. By: Francisco - kjava2

    I Need Help in this Exception

    2005-07-13 04:01

    Why I try to compile my report in iReport I am getting this exception:

     

    Compiling to file... C:ProjetosSikGetXMLREP_RELACAO_COLETAS.jasper

    -> C:ProjetosSikGetXMLREP_RELACAO_COLETAS.java

    Error compiling the report java source!

    java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment

    at java.lang.Class.forName0(Native Method)

    at java.lang.Class.forName(Unknown Source)

    at it.businesslogic.ireport.IReportCompiler.class$(IReportCompiler.java:1178)

    at it.businesslogic.ireport.IReportCompiler.getClassLoader(IReportCompiler.java:1178)

    at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:412)

    at java.lang.Thread.run(Unknown Source)

     

    What is this?

     

    Is it supposed to have the jdt-compiler.jar file in CLASSPATH? But in iReport I have the compiler option set to "JasperReport defaults".

     

    Even though I put it there but sitll no success.

     

    So, I beg you guys, does anyone know what should I do to compile my reports again? (It is very very important)

     

    JDK 1.5

    iReport 0.5.0

    JasperReport 0.6.8

     

    Thanks a lot

     

     

     

     

    By: Andrey - andfedotov

    RE: I Need Help in this Exception

    2005-07-25 03:00

    Well, seems that JasperReport defaults uses jdt-compiler.jar.

    In IReport Options set 'Java Compiler' as Compiler for your reports.

    In this case don't forget to put tools.jar from your jdk to IReport's folder.

     

    Good luck!

    Andrey

     

     

     

     

    By: Susan - susancai

    RE: I Need Help in this Exception

    2006-01-19 21:14

    I encountered same problem also in iReport0.5.3 and Java 1.5, JsperReport1.1.1.

     

    Felt like "classpath" problem. the jdt-compiler.jar was in iReport/lib, and I copied tool.jar to iReport/lib also, but the problem still same.

     

    same error msg as following:

    Compiling to file... C:javaiReport-0.5.3worktest_1.jasper -> C:javaiReport-0.5.3worktest_1.java

    Error compiling the report java source!

    java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment

    at java.lang.Class.forName0(Native Method)

    at java.lang.Class.forName (Unknown Source)

    at it.businesslogic.ireport.IReportCompiler.class$(IReportCompiler.java:1326)

    at it.businesslogic.ireport.IReportCompiler.getClassLoader (IReportCompiler.java:1326)

    at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:461)

    at java.lang.Thread.run(Unknown Source) Compilation running time : 4

     

     

     

     

     

    By: Susan - susancai

    RE: I Need Help in this Exception

    2006-01-24 00:09

    Dear Giulio Toffoli,

     

    I had tried to put tools.jar file into lib, the exception was still thrown when I compiled the report in iReport. (iReport0.5.3 and Java 1.5, JsperReport1.1.1. )

     

    If we take a close look at the trail of startup.bat (by set echo on) , we can find that startup.bat add the jar files used into classpath and then call it.businesslogic.ireport.gui.MainFrame to run iReport.

     

    The path I traced in startup.bat as following, which shown .libjr-bsh-compiler.jar was add in classpath, What's the cause of the exception being thown? (tools.jar is in c:javajdklib that was included in classpath)

     

    Could you please delight me? I really could not be able to figure it out. Your help are great appreciated.

     

    Thanks & Best Regards,

     

    susan

    ----------------------------------------

    java -cp "c:javajdkbin;c:javajdklib*.jar; c:javaiReportbin;c:javaiReportlib*.jar;

    .classes;.libbarbecue-1.1.jar;.libbsh-1.3.0.jar; .libcommons-beanutils-1.5.jar; .libcommons-collections-2.1.jar;

    .libcommons-digester-1.7.jar; .libcommons-logging-1.0.2.jar; .libcommons-logging-api-1.0.2.jar;.libgroovy-all-1.0-beta-10.jar;

    .libhsqldb-1.61.jar;.libiReport.jar;

    .libitext-1.3.1.jar;.libjasperreports-1.1.1.jar;.libjcmdline-1.0.2.jar;.libjcommon-1.0.0-rc1.jar;.libjdt-compiler.jar;

    .libjfreechart-1.0.0-rc1.jar;

    .libjr-bsh-compiler.jar;

    .libjr-groovy-compiler.jar;.liblog4j-1.2.8.jar;.liblooks-1.2.2.jar;.libmysql-connector-java-3.1.11-bin.jar;

    .libpngencoder.jar; .libpoi-2.0-final-20040126.jar;.libtinylaf.jar;.libxalan.jar;.libxercesImpl.jar;.libxml-apis.jar" -Xms24m -Xmx512m it.businesslogic.ireport.gui.MainFrame

     

     

     

     

     

    By: Susan - susancai

    RE: I Need Help in this Exception

    2006-02-02 16:00

    JDK and JRE were requested to be put at same folder (such as "c:program filesjava" by iReport. If put JDK and JRE under different directory, for example, jdk in c:javajdk while jre in c:program filesjava", the above exception will be thrown.

  20. By: hanyou - hanyou

    iReport 0.5.0 startup error message

    2005-05-26 05:59

    jdk1.5.0_03

    iReport-0.5.0

     

    run ireport.bat, but error message below

     

    Exception in thread "main" java.lang.NoSuchMethodError

    at it.businesslogic.ireport.gui.SplashDialog.initComponents(SplashDialog

    .java:43)

    at it.businesslogic.ireport.gui.SplashDialog.<init>(SplashDialog.java:18

    )

    at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6642)

     

     

     

     

    By: cbrandt - dascjb

    RE: iReport 0.5.0 startup error message

    2005-05-26 06:46

    I had the same issue after I installed oracle and it added the path to jdk1.3. It worked fine once I make sure my defualt java binary was jdk1.4. Make sure your java version you are using is NOT jdk1.3

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-05-30 04:02

    I checked classpath,path,java_home.

    This is OK. I have only SDK 1.4.2 and for all that iReport doesn't work.

    thanks

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-05-30 05:38

    this is result:

     

    java version "1.4.2_08"

    Java 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)

    Java HotSpot Client VM (build 1.4.2_08-b03, mixed mode)

     

     

     

     

    By: Giulio Toffoli - gt78

    RE: iReport 0.5.0 startup error message

    2005-05-30 12:27

    janek, are you sure that the exception is the same ?

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-06-03 00:14

    you're right, exuse me. Full error message is:

     

    Exception in thread "main" java.lang.ExceptionInInitializerError

    at jcmdline.FileParam.<clinit>(FileParam.java:147)

    at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6560)

    Caused by: java.util.MissingResourceException: Can't find bundle for base name j

    cmdline.strings, locale cs_CZ

    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source

    )

    at java.util.ResourceBundle.getBundleImpl(Unknown Source)

    at java.util.ResourceBundle.getBundle(Unknown Source)

    at jcmdline.Strings.<clinit>(Strings.java:53)

    ... 2 more

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-06-03 04:07

    Agrr,

     

    I found error (or bug?). I put files into directory starting with "!" and this is error.

     

    thanks

     

     

     

     

    By: Giulio Toffoli - gt78

    RE: iReport 0.5.0 startup error message

    2005-05-30 05:00

    try to open a command prompt and type:

     

    java -version

     

    Giulio

     

     

     

     

    By: Taimur - taimoor

    RE: iReport 0.5.0 startup error message

    2006-01-30 03:59

    I am using windows 2000, ireport 0.5.3, J2SDK 1.4.1_03 and JRE 1.4.2.

    Open reports is already installed along with tomcat and both are running smoothly. When ever i click to run ireport.bat i get the following error.

    Exception in thread "main" java.lang.NoSuchMethodError at it.businesslogic.ireport.gui.SplashDialog.initComponents(SplashDialog.java:44)

    at it.businesslogic.ireport.gui.SplashDialog.<init>(SplashDialog.java:18)

    at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6580)

     

    Can some body guide me how to run succesfully ireport.

    Regards,

    Taimur.

  21. By: hanyou - hanyou

    iReport 0.5.0 startup error message

    2005-05-26 05:59

    jdk1.5.0_03

    iReport-0.5.0

     

    run ireport.bat, but error message below

     

    Exception in thread "main" java.lang.NoSuchMethodError

    at it.businesslogic.ireport.gui.SplashDialog.initComponents(SplashDialog

    .java:43)

    at it.businesslogic.ireport.gui.SplashDialog.<init>(SplashDialog.java:18

    )

    at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6642)

     

     

     

     

    By: cbrandt - dascjb

    RE: iReport 0.5.0 startup error message

    2005-05-26 06:46

    I had the same issue after I installed oracle and it added the path to jdk1.3. It worked fine once I make sure my defualt java binary was jdk1.4. Make sure your java version you are using is NOT jdk1.3

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-05-30 04:02

    I checked classpath,path,java_home.

    This is OK. I have only SDK 1.4.2 and for all that iReport doesn't work.

    thanks

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-05-30 05:38

    this is result:

     

    java version "1.4.2_08"

    Java 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)

    Java HotSpot Client VM (build 1.4.2_08-b03, mixed mode)

     

     

     

     

    By: Giulio Toffoli - gt78

    RE: iReport 0.5.0 startup error message

    2005-05-30 12:27

    janek, are you sure that the exception is the same ?

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-06-03 00:14

    you're right, exuse me. Full error message is:

     

    Exception in thread "main" java.lang.ExceptionInInitializerError

    at jcmdline.FileParam.<clinit>(FileParam.java:147)

    at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6560)

    Caused by: java.util.MissingResourceException: Can't find bundle for base name j

    cmdline.strings, locale cs_CZ

    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source

    )

    at java.util.ResourceBundle.getBundleImpl(Unknown Source)

    at java.util.ResourceBundle.getBundle(Unknown Source)

    at jcmdline.Strings.<clinit>(Strings.java:53)

    ... 2 more

     

     

     

     

    By: janek - janekda

    RE: iReport 0.5.0 startup error message

    2005-06-03 04:07

    Agrr,

     

    I found error (or bug?). I put files into directory starting with "!" and this is error.

     

    thanks

     

     

     

     

    By: Giulio Toffoli - gt78

    RE: iReport 0.5.0 startup error message

    2005-05-30 05:00

    try to open a command prompt and type:

     

    java -version

     

    Giulio

     

     

     

     

    By: Taimur - taimoor

    RE: iReport 0.5.0 startup error message

    2006-01-30 03:59

    I am using windows 2000, ireport 0.5.3, J2SDK 1.4.1_03 and JRE 1.4.2.

    Open reports is already installed along with tomcat and both are running smoothly. When ever i click to run ireport.bat i get the following error.

    Exception in thread "main" java.lang.NoSuchMethodError at it.businesslogic.ireport.gui.SplashDialog.initComponents(SplashDialog.java:44)

    at it.businesslogic.ireport.gui.SplashDialog.<init>(SplashDialog.java:18)

    at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6580)

     

    Can some body guide me how to run succesfully ireport.

    Regards,

    Taimur.

  22. By: Uli - ukrebs

    Page numbering new for each group

    2005-12-22 00:52

    Hi there,

     

    look like i have a similar problem as "How to define numbering by group).

    what i need is a new page number for each new group.

     

    up to now i defined a variable PageNum; type is java.lang.Integer; calculation type count; reset type group; increment type page;

     

    no problem to print the initial value

     

    But: what is to set into "Variable expression" since after the first page i just get "null"

     

    Thanks for help

     

    Uli

     

     

     

     

    By: Uli - ukrebs

    RE: Page numbering new for each group

    2005-12-22 01:59

    solved; thank you

     

     

     

     

    By: neu - mei_cheng

    RE: Page numbering new for each group

    2005-12-27 23:15

    hi,

     

    How can you solve it?

     

    Thanks,

    Neu

     

     

     

     

    By: sagi7 - sagi7

    RE: Page numbering new for each group

    2006-01-26 06:59

    and how did you solve it?

    I´m searching a solution for the same problem!

     

    best regards

     

     

     

     

    By: Uli - ukrebs

    one solution: Page numb. new for each group

    2006-01-30 02:10

    Numbering for each group:

    1.) create a new variable mypagenumber; type integer, reset type Group, increment type page, calculation type count; variable expression $V{mypagenumber}, inital value new Integer(0).

     

    2.) put on your report a textfield type string, evaluation time page, Textfield expression String.valueOf($V{mypagenumber}) to give the actual page within the group or evaluation time group and select your group to give the pages within the group.

     

    Have fun

     

    Uli

  23. By: kmkumar - kmkumar17

    i18n problem

    2005-11-12 00:20

    Hi,

     

    I am having problem with internationalizing my report.

     

    Here is what I have done.

     

    1) View-> Report Properties -> i18n -> Resource Bundle Base Name, I have entered

    "LabelsReports".

     

    2)View-> Internationalization->Local Files-> create local file, I just left the suffix field blank and irport created the dafault local file "LabelsReports.properties". In this I have added my label like "text.sectortitle=List of Sectors".

     

    3) In the report title I refered this like "$R{text.sectortitle}"

     

    The report displays the key itself like $R{text.sectortitle}" and not the value from resource bundle.

     

    Am I missing something here?

     

    Appreciate any help.

    Thanks.

     

     

     

     

     

    By: frblusso - frblusso

    RE: i18n problem

    2006-01-24 07:58

    Hello

     

    are you sure your field is a "textfield" and not a "static text" ? Look at the properties of the fied to verify.

    if you have a static field, only the key is displayed. I've just had the same problem.

     

     

    regards

  24. By: kmkumar - kmkumar17

    i18n problem

    2005-11-12 00:20

    Hi,

     

    I am having problem with internationalizing my report.

     

    Here is what I have done.

     

    1) View-> Report Properties -> i18n -> Resource Bundle Base Name, I have entered

    "LabelsReports".

     

    2)View-> Internationalization->Local Files-> create local file, I just left the suffix field blank and irport created the dafault local file "LabelsReports.properties". In this I have added my label like "text.sectortitle=List of Sectors".

     

    3) In the report title I refered this like "$R{text.sectortitle}"

     

    The report displays the key itself like $R{text.sectortitle}" and not the value from resource bundle.

     

    Am I missing something here?

     

    Appreciate any help.

    Thanks.

     

     

     

     

     

     

    By: frblusso - frblusso

    RE: i18n problem

    2006-01-24 07:58

    Hello

     

    are you sure your field is a "textfield" and not a "static text" ? Look at the properties of the fied to verify.

    if you have a static field, only the key is displayed. I've just had the same problem.

     

     

    regards

×
×
  • Create New...