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

gustavofarias

Members
  • Posts

    202
  • Joined

  • Last visited

  • Days Won

    2

 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 gustavofarias

  1. "Upgrade a Jasper Reports Server from one version to the next?" Download the new JasperReports Server package, in docs folder you will find "JasperReports-Server-CP-Upgrade-Guide.pdf". Basically you need to go "buildomatic" folder, set some parameters to "default_master.properties" and run "js-upgrade-samedb-ce.sh/bat". "Upgrade the JRXML files? Is there are process to do this automatically? Or must the files be upgraded one by one?" I never needed to upgrade anything. In any case, use the latest version of JasperSoft Studio, make a linked folder to where your reports are, then right click it -> "Compile Report". It will compile all of them. I think you need to upgrade only the ones with errors.
  2. In fact, when I changed the user wich I used to connect to the server via Jaspersoft studio, it worked not because this new user was not admin, but because the password of this new user had no white spaces. So, staff, I really think there is a bug. When you try to connect jaspersoft studio to jasperreports server, if the user password has white spaces, you can't connect.
  3. Analysing the enormous error message, I noticed that it is an HTML page. I had to deconvert the HTML entities. When I oppened in the browser, it is nothing but the start page of jasper server with that anoying popup of Heartbeat data collection terms. I simply switched to another user that is not admin and it worked well. So, it's the poppup that is breaking things
  4. I'm using JS Studio 6.6 to design a report that basically has a crosstab in the summary. The only measure is configured as Class Integer, and Calculation count. When I export the report preview in JS studio, all the cells that are measures, plus the total ones are text in Excel. I see no option in the text field that is inside the measure bucket to change it to Integer.
  5. The specific combination below gives me a NullPointerException. All other combinations of JasperReports Library Version and Use SOAP protocol only give me not found 404.
  6. Can't connect Studio 6.6 to Server 7.1. Sometimes I get 404 not found. And sometimes a "NullPointerException" on rest v2 api. Everything was fine until yesterday between versions 6.3 and 6.4.2. Is there something new in 7.1 that breaks everything?
  7. I designed a report using iReport. In some Text Fields I use the Left/Right Indent attribute. Everything works fine in iReport's report preview and when I export the report to PDF in both iReport and JasperReports Server. The only place it doesn't work is the report view of JasperReports Server. In fact, other things like font styling also doesn't show properly. I can say the report is OK because it looks ok when I export to PDF. Does anyone know why this happens? Currently I'm using 6.3.0, but this problem is there as long as I use JasperReports server (4.x).
  8. Tchen, in this topic http://community.jaspersoft.com/questions/854116/using-return-value-subreport-make-calculations you said: "I would suggest either do the calculation in the display field where evelaution time can be controled" In this one you said: "put the calculation directly in a report field to display the result. As long as the field is placed after the sub report, you should be able to capture the returned value in your calculation" I believe you're talking about the same solution. But I still don't get it. I tryied this: create a variable "mySum". After the subreport element but in the same detail band I put a text field with this expression: $V{mySum}.add( $V{mySubreportReturnValue} ) The text field only shows null, even when I use Evaluation time "band".
  9. I think the reason why my attempt didn't work is this: JasperReports Schema Reference: "incrementType: Increment level for variables that perform calculations" As the Calculation was "none", the group increment was ignored and the expression was being evaluated every iteration. I think there is some confusion in documentation: reference 1) JasperReports Schema Reference: "incrementType: Increment level for variables that perform calculations" reference 2) The JasperReports Ultimate Guide: INCREMENT TYPE: This property lets you choose the exact moment to increment the variable.... reference 3) iReport property comment: Increment Type: When the variable expression should be evaluated to get a new value. Reference 2 and 3 agree with one another and basically ignores what is said in reference 1, which is the correct one. Based solely on references 2 and 3, my original solution should work.
  10. There are lots of tutorials on how to zebra stripe the rows of a report. Like this: Value Color A white A black B white B black B white C black D white D black But what I want to do is a grouped stripping. Like this: Value Color A white A white B black B black B black C white D black D black I'm using the column "Value" as the expression of a group and my data is sorted by "Value". "black" is a black rectangle to be printed when the group is black. "white" is the absence of the black rectangle. I want a variable that I can put in "Print When Expression" of the black rectangle. What I've tried until now: - Create a variable $V{print} - Initial Value Expression: false - Variable Expression: !$V{print} - Increment type: Group - Increment group: Value I expected the value of $V{print} to change to it's opposite value every time the group changed. What I get is the normal striped list (black, white, black, white...)
  11. I have the same problem. My font extension is loaded and fonts are embedded in PDFs on Windows. On Linux, it seems JVM is not loading the extension. I use Tomcat to deploy my app, and tried to include the jar in both app lib and tomcat lib. none worked.
  12. I have the same problem, only on linux. On Windows it works, but I don't know if it is because Windows has the needed fonts or because my font extension do work. I had to install the ttf-mscorefonts-installer package on Linux. It worked for the Arial font, which is included in the package, but didn't work for other fonts. It's strange that I have to install fonts in my OS, because not having to do this is the reason to use font extensions.
  13. Generated font jar with JasperSoft Studio this time but nothing changed. Studio puts the font families in separate folders, it's the only difference to iReport.
  14. I designed a report that uses 3 fonts. I installed the fonts in iReport, exported the font extension jar. In JasperReports server: 1. If I don't put the font extension in jasperServer: The web preview of the report looks ok, but the PDF export has only 1 font. 2. If I put the font extension in Tomcat libs: The web preview of the report has only one font, but the PDF export looks ok with embedded fonts. It's crazy. Installing the font extension corrects the PDF but breaks the server web preview. Note: on iReport, both the preview and the PDF export look ok Note: The server runs on Ubuntu
  15. I'm. It's the third time I try to leave iReport and use Studio. I always end up getting back to iReport. The thing I dislike the most in Studio is the lack of visual query builder. iReport query builder is so good, fast and easy to use I even use it to build complex queries not related to reports. The "diagram" view of Studio can't do simple things like add a "where" filter on the column you click. In text view, the auto completion works only for the first column/clause. Simple things like rename a variable or parameter by pressing F2 are missing. The copy and paste of elements in "Outline" is inconsistent. Today I added a group to my report and the header and footer didn't appear. I had to restart the Studio. In general, I spend more time doing the same thing in Studio. Since there is no turning back, I hope they fix things and I will try to focus on the improvements.
  16. My subreport is winthin the detail band. I store the return value in a variable and print this variable in the same band. This works because I set the Evaluation Time of the element that uses the variable to Band. This works fine for printing. But I need to acumulate the values returned by the subreport in a variable (let's call it SUM). I've tried every combinations of Reset type / Increment type / Evaluation Time to print SUM in the summary, but it's always zero, the initial value. I guess the problem is that when SUM evaluates it's expression, the subreport hasn't run yet. For obivious reasons there is no "Band" Increment type for a variable.
  17. The ultimate guide only says: Is this really a field for a mask or should it be a regular expression? I tryed to use the regex dd for a text datatype, and it almost worked. I say almost because the empty string is not being rejected.
×
×
  • Create New...