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

tomcushing70

Members
  • Posts

    20
  • Joined

  • Last visited

tomcushing70's Achievements

  1. You have to look in the log files now. I use the following command. You may have to change the path. tail -1000 /apps/local/apache-tomcat-8.0.45/logs/catalina.out
  2. We were able to resolve this issue by upgrading JasperReport Library to 4.6.3. Once we installed the library, the problem went away.
  3. We recently upgraded JasperReports Server to 6.4.2 and noticed that the text on all of our charts is no longer legible. The characters appear to be in the Wingding font or something like it. I tried explicitly setting the chart font to arial, but it still did not work. If I run the report locally in JasperSoft Studio, the chart text looks correct, however when run through JasperReports Server, we have the issue. Has anyone seen anything like this?
  4. We recently upgraded Jasper to version 6.4, and now we no longer get meaningful error messages. Now, when we get an error we receive and error like this: Before upgrading, we used to get detailed error message that allowed us to troubleshoot the error that occurred. Now we simply do not have the information to do this. Can someone tell me how we can get meaningful error messages to display once again in JasperReports Server? Thank you
  5. Oxelad. Thanks a lot. I am constantly struggling with Java in Jasper. This helped me a lot. I think this will save me lots of time in the future.
  6. I did get a work-around to work, although the question still remains. Here is my work-around. I use the .tostring method in the Bucket Expression of the Row Group. This converts the Long to a string, preventing the error. Why it has to be a string is still beyond me and could be an issue in other circumstances.
  7. I am having trouble when trying to add a new RowGroup to a crosstab. I am getting the errors "Cannot cast from Long to String" and "Cannot cast from String to Long". The problem appears to be coming from the variable that the crosstab is creating being the wrong type. The field I am adding is of type Long, but the crosstab appears to be creating a variable of type string. So I get the error "Cannot cast from Long to String" when the variable is being set and "Cannot cast from String to Long" when trying to display the variable in the crosstab with java.lang.long class. Is there any way to modify the Expression Class of the variables for a Cross tab? I have looked and looked, but I cannot find a way. For additional info, I created this crosstab using the wizard. But since I wanted to use 3 different row groups and the wizard can only handle 2, I had to try to add one after the fact. This is where the error is coming from. Thanks
  8. Ok, here's how the drill down is working. I have a main summary report that has input controls & parameters for the following things: START_DATE -- java.util.Date END_DATE -- java.util.Date REQUEST_TYPE -- java.util.List STATES -- java.util.List I have a field on the main report that has a hyperlink with the following Link parameters: Parameter name Expression Type START_DATE $P{START_DATE} java.util.Date END_DATE $P{END_DATE} java.util.Date REQUEST_TYPE $P{REQUEST_TYPE} java.util.List STATE_ID $F{state_id} java.util.Integer I have Input Controls and Parameters for all of these fields (matching the Parameter name above) on my detail report. I have the following where clause in the SQL of my detail report. DATE(request_date) between $P{START_DATE} and $P{END_DATE} AND $X{IN, request_type, REQUEST_TYPE} AND state_id = $P{STATE_ID} When I click on the hyperlink, all of the criteria is being applied to the detail report (and gets filled in on the input controls) except for the REQUEST_TYPE. None of the values in the input control for REQUEST_TYPE are filled in, and the report is not filtered by this. If I highlight items from the REQUEST_TYPE list when the detail report is open, and run the report, the report is correct. So why isn't the REQUEST_TYPE parameter getting passed to the detail report like the other parameters? The only thing I can think of is that you can't pass the java.util.List type as a parameter. I am using iReport version 3.5.2. Perhaps this is a bug. I wonder if it may have been fixed in a future version? Post Edited by tomcushing70 at 10/26/2011 15:45
  9. I am doing something very similar and I am not having the problem you are describing. Try doing this. In iReport, right click on the report (at the highest level) in the JasperRepository. Select "Properties". Click on the "Other" tab. Select "Top of page" for Controls Layout. This way, the input controls will always show up on the top of the page in Jasper Server. Now if any of your input controls are mandatory, and your matching parameter on the report does not have a default value, I believe you will be forced to enter the values for those input controls before the report is displayed. I hope this helps.
  10. Thanks for the response. I am using iReports, and I am able to pass three different parameters using the Hyperlink feature: an int field and two date parameters that are all coming from the master report. All of these three fields are successfully passed to the target report and used as criteria. However, when I try to pass a parameter of type java.util.list, it acts as if no value has been passed and the report criteria is not affected. I am hoping to not have to code a solution, as I have been able to pass all of the other parameters using the Hyperlink feature in iReports. Thanks
  11. If you are using JasperServer you can easily do it. Just right-click on the report and select "shedule". Then you will be prompted with everything you need to schedule your report.
  12. I have set up a hyperlink on a report and am trying to pass a java.util.List as a parameter. It is not working. Does anyone know if this can be done? Or doesn't this work in Jasper Reports? Here's what I am trying to do. I am trying to use a hyplerlink on one report to create a "drill down" to another report. I am able to pass a value from a field, and two parameters specified as input controls on the calling report. However when I try to do the exact same thing with a List parameter, it appears as if nothing has been passed for this parameter. The criteria specified by this parameter is not used. Has anyone been able to do this successfully? Or is this a bug/limitation of Jasper or iReports? I am using iReports 3.5.2. Thanks Post Edited by tomcushing70 at 10/24/2011 14:03
  13. I was able to get it to work using the following syntax: $V{Time_AVG}.longValue() / 60
  14. I got the report working. Apparently JasperServer didn't like overlapping controls. I removed the overlapping controls and added dupilcate group headers and had logic for which one to display. This did the trick.
  15. Actually I just noticed one more thing. There is a text field with no backcolor and no overlapping that also does not appear when the report is viewed on JasperServer. Very strange...
×
×
  • Create New...