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

pumaking

Members
  • Posts

    62
  • 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 pumaking

  1. Hi,

    I still didn't solve the problem. For the reports that I want to get a compressed PDF as export I checked the property and also checked the IReport writes it correctly into the XML. This is the code:

    It seems to be correct. But when I run the report in Jasperreports server (5.0.0. at the moment) and export it to PDF there's no difference in size.

    Can anyone help?

  2. Hi,

    I just wanted to upgrade a test installation of 4.5 CE to 5.0 CE. I followed all steps as described in the Install guide and also the test mode returned OK.

    When I run the script "js-upgrade-newdb-ce.bat" the log returns:

     

    BUILD FAILED
    C:Jasperreportsbuildomaticbinapp-server.xml:596: C:Jasperreportsbuildomaticinstall_resourceswarjasperserver does not exist.
     
    What can I do, the named directory doesn't exist in the WAR-File download for 5.0.0. Is it a bug?
  3. Hi,

    I want to use Jasper Reports for generating a label. I configured everything as needed in the report but I have on emain problem:

    The database only has one record which I want to use. But I want to print out e.g. 40 labels from this record. So technically I need an option to choose how many times one record in the detail section should be repeated.

    The ideal solution would be if I could use a field from the record for this amount.

    I hope I explained it well and someone can help me.

  4. Hi,

    I'm using Jasper Reports Server 4.5 at the moment. Now I created a report with many schedules. I created it in a special folder where I usually develop my reports. The problem is that when I copy my final report to the destination folder it doesn't copy the schedules.

    Is there a way to achieve this or do I have to recreate all the schedules manually?

  5. I no tried to use another way to upgrade to 4.7. I set up a new server and installed 4.5. Then I imported my existing repository from my productive 4.5. installation with js-import.

    This worked well and all reports seem to work fine.

    Then I upgraded the 4.5 installation to 4.7 with the WAR-file installation as described in JasperReports-Server-CP-Install-Guide in chapter 9.

    The problems that I mentioned above are also there with this method so this also didn't help.

     

  6.  Hi,

     

    I want to format a number based on it's decimal digits ( I hope the translation is correct)

    example:

    12,0 = new java.text.DecimalFormat("#,##0").format($V{Whatever})

    12,7= new java.text.DecimalFormat("#,##0.0").format($V{Whatever})

    I hope you understand my question. Is this possible?

  7. Hello,

    you can use conditional styles for that. Therefore you need to create a parent style first (Report inspector/Styles). Then you create a conditional style with the formatting options that you like.

    In that conditional style you can use an expression like $F{FIELD}<0 . The problem is that as far as I know you cannot reference to the textfield value itself, you always have to use a specific field. So you need to create a conditional style for every field that you want to be conditionally formatted.

    After doing this you have to apply the newly created style to your textfield.

  8.  Hi,

    I set up da test environment for the new 4.7 Server version. There I imported my repository from my 4.5. produtive installation with the js-import script.

    I didn't have any errors when importing and in the beginning everything seemed to work fine. But for particular reports I now encounter the following error message when I run these:

    Error Message

    java.lang.IllegalArgumentException

    Error Trace

    java.lang.IllegalArgumentException at net.sf.jasperreports.data.cache.ColumnDataCacheHandler$ColumnDataCollector.addRecord(ColumnDataCacheHandler.java:321) at net.sf.jasperreports.engine.fill.JRFillDataset.cacheEnd(JRFillDataset.java:887) at net.sf.jasperreports.engine.fill.JRFillDataset.closeDatasource(JRFillDataset.java:1137) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:927) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:733) at net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:165) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$AsynchronousReportFiller.fillReport(EngineServiceImpl.java:695) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1474) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:874) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:754) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    I also tried to edit the report with IReport 4.7 and saved it with the 4.7. compatibility settings but that didn't help either. 

  9.  Hi,

    I want to creat a conditional style based on two return values from two subreports. Generally, this is possible and you can use the return value variables for that. The problem is that I want to use the conditional style in the same band (detail) in which the subreports are.

    If I want to display the return variables I can set the evaluation time to "band" to display the correct value. But I can't do this with the conditional style. The result is that the style uses the values from the row before so I can't use it properly.

    Has anyone an idea how to solve this?

  10.  Hi,

    I want to create a report without a datasource. The data that will be displayed should either be static elements or parameters. I can achieve that by using the no data-band but I have one problem:

    I want to use a numeric input parameter as the number of rows that are generated by jasper. In detail I want to generate a label. Depending on the number that is typed in the parameter, I want to get that number of labels out.

    Is that possible?

×
×
  • Create New...