Error displayed while executing a jasper file: "Category series name is null" - charts

I have tried to generate sub report as per the demo available in jasper soft page. but while executing the report i could see the error message saying: "Error displayed while executing a jasper file: "Category series name is null". here I have added screenshot of error and report configuration UI

I got same error with my own report. I installed the new version 6.0.4 and now it is working fine.

I have resolved this issue by creating a new dataset for my chart and using it instead of selecting Main Dataset.

Related

Crystal Report Design view showing Error : Error Creating Control

I installed Visual Studio 2022. Installed Crystal Report SP32 64 bit.
Created a new web report Project using Crystal Report. Visual Studio created a default page with Crystal Report Control. When seen in the design time it shows below error
Error Creating Control : CR:CrystalReportViewer Unknown Server Tag CR:CrystalReportViewer
When i Checked the Default.aspx page I found than the Crystal report Register shown version 13.0.4000.0
<%# Register TagPrefix="CR" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>
i Installed using NuGet CrystalReports.Engine 13.0.4000.0. Then too same error. When I ran the Project it Showed me blank Page. but in the console panel it showed me the error below.
Console Page Error
Design Page Error

Jasper server error when referencing a custom function

I am using JasperStudio v6.3.1 and I followed the tutorial on how to create a custom Java function that I can use in my report. Everything works fine in Jasper Studio, but when I publish the report to the Jasper Server, then it fails. The report does exist on the Server, but does not run after publishing the latest changes.
"Errors were encountered when compiling report expressions class file: 1. The method CURRENT_MONTH_BEGINNING() is undefined for the type TotalTaskHrsOnly..."
This error is generated because the custom Java functions that I made in Jasper Studio did not get published to the remote Jasper Server. I need help with getting these files onto the Jasper Server, but I'm not sure how to do that within Jasper Studio, Jasper Server, or if I need to log into the remote server, and drop the java files in there somewhere. Can someone please tell me how I can add the custom functionality onto the Jasper Server?
I worked with custom Java functions in Jasperserver reports for quite awhile. Some of the things you will need to ensure:
You import the java class at the top of the Jasper report .jrxml file
The Jar is deployed to the server and is labeled as a resource in the repository. It looks like this is the part you're getting stuck on. If you log into Jasperserver and go to the repository, you can open a folder and upload a new file/resource.
The report references the jar in the repository as a resource
Does this help?

Report deployment on JasperReports Server

I have created a master report along with a sub report.
I run the report in iReport, it works well. I deployed it on JR Server and added the subreport in Resorces folder. Also I changed the subreport expression value. When I run the report through the jasper server, following error occurs:
1 - net.sf.jasperreports.engine.JRException: Error opening input stream from URL : repo:emp_count_subrep.jrxml
Please guide.
Check the xml source, you will find subreport reference to the .jasper file, just change the extension to jrxml and ti will work, at least it worked for me

Jaspersoft ireport designer 4.5.1 /4.6.0 & hive

I am trying to design a report using hive connection.
I created hive connection and tested it is working ok.
Is there anything i am doing wrong. I am new to iReport.
jdbc:hive://192.168.254.132:10000/default
I am using report designer, I typed in my HiveQL it gives REPORT_CONNECTION parameter not specified.
I have specified the hive connection.
i tried simple query, select * from iptable.
message:
net.sf.jasperreports.engine.JRException: Parameter "REPORT_CONNECTION" does not exist.
Level:
SEVERE
Stack Trace:
Parameter "REPORT_CONNECTION" does not exist.
com.jaspersoft.hadoop.hive.HiveFieldsProvider.getFields(HiveFieldsProvider.java:88)
com.jaspersoft.ireport.hadoop.hive.designer.HiveFieldsProvider.getFields(HiveFieldsProvider.java:32)
com.jaspersoft.ireport.hadoop.hive.connection.HiveConnection.readFields(HiveConnection.java:154)
com.jaspersoft.ireport.designer.wizards.ConnectionSelectionWizardPanel.validate(ConnectionSelectionWizardPanel.java:146)
org.openide.WizardDescriptor$7.run(WizardDescriptor.java:1357)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Well, this is a little embarrassing. The wizard worked fine in iReport 4.5.0. But it broke in 4.5.1, and somehow no one noticed it. Reports still work fine, so the bug evaded tests. It seems to affect only the Fields Provider. So it shows up in the wizard but not when running the report.
I uploaded a fixed version of the plugin seconds ago. You'll need to uninstall the existing Hadoop Hive plugin, then restart iReport, then install the updated plugin. Then all should be well.
Here's the general project link. Here's the new file linked directly. This should all be obsolete when the next version of iReport ships with the fixed Hive plugin.

unknown hyperlink target 0 in jasper report

I recently noticed that something was wrong with a Jasper Report I was running, so I downloaded the latest version of iReports, edited the .jrxml file with iReports, and compiled it to generate a new .jasper file. Now, when I try to run the report, I get the following error
unknown hyperlink target 0
How is this caused and how can I solve it?