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

JasperServer shows null value for some fields


singwei

Recommended Posts

Hi, I created a report which is run successfully in Jaspersoft Studio. In this report every fields that I want had been printed out but when run on Jasper Server, many fields shows null. I had created the same query as Jaspersoft Studio at jasper Server, which mean, it should be getting the same result as what I printed at Jasper Server and JasperSoft Studio.

Anyone knows what the reason cause it and had any solution on this?

Thanks.

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Hi, @zh3ntil. 

When I publish to jasperServer, I had choose Local Data Source among the 3 option at Configure the data source. Am I choosing the wrong option when publish?

By the way, the data of my reports shows are not completely null, but null for certain fields only. This problem won happen if run using JasperSoft Studio.  Is it because of dataSource problem that you mentioned?

 image1(2).png.7f5150947d16a96cee50aa26986532b6.png

 

Link to comment
Share on other sites

This isn't a font problem but with the datasource. Instead of using the local datasource, use a datasource in the repository. To do this, you'll need to create a datasource from JasperReports Server. See the following page for steps on how to do this. Create a datasource in the repository and test it. Upload your report and just select this datasource.

http://community.jaspersoft.com/documentation/tibco-jasperreports-server-administration-guide/v62/jdbc-data-sources

Link to comment
Share on other sites

  • 2 years later...
  • 1 year later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...