Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8748279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:29:51+00:00 2026-06-13T12:29:51+00:00

I have a very similar problem to the one described at [JasperReport parameters works

  • 0

I have a very similar problem to the one described at [JasperReport parameters works in iReport but fails on JasperServer] post.

The report works properly within the iReport environment using Preview option but fails within JasperReports Server

The comments suggest that iReport does not create the InputControl within JR Server. So I verified that the server contained the proper InputControl (that apparently solved their issue).

The input control called sk serial selection :

ID: ic_sk_serial
Name: sk serial selection
Type: Single Select Query
Mandatory: false
Read Only: false
Visible: true
Query resource: 
    From repository (pointing to *q_sk_serial* see below)
Value and Visible columns:
    Value column: id
    Visible query columns: serialnr  

The input control query called q_sk_serial (populate the inpute control with a list of alphanumeric serial numbers, items are unique):

select id,serialnr from "public"."serials" order by serialnr;  

The parameter name:

ic_sk_serial  

The report query:

select * from "public"."datas" datas where datas."serialnr" like $P{ic_sk_serial}   

In my case, input control seems to work properly in both environments (within iReport preview and JasperServer): I populate a list of items coming from the same database; I see that dropdownlist as expected within iReport but also on with JR Server.

Within iReport, the drop-down list returns the correct selected value in a report parameter which lead to the correct report. In JasperReports Server I only get a “The report is empty” message. So I tend to think the report parameter is not properly passed through within JasperServer.

Hardcoding the “Input control” output value, shows expected report.

Side note: I am using iReport 4.7.1 in compatibility mode with JasperReports Server 4.5.0.

I would be glad to hear if anybody ran into the same problem?

How can I debug further the report execution in JR Server?

Is compatibility mode susceptible to cause that issue?

What about the input parameter type? I use a query that return a string. However my input data type is text (closest match to string). My parameter type is java.lang.string. Does this make sense?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:29:52+00:00Added an answer on June 13, 2026 at 12:29 pm

    Actually that is a simple bug:

    I just found out that:

    value column: id  
    

    Should be

    value column: serialnr  
    

    Still, I do not understand why the report was working in preview mode? Such big mistake should fail on preview no?

    In anycase thanks to everybody to lead to my mistake 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem which seems very similar to the one described in http://markmail.org/message/6rlrzkgyx3pspmnf
I have a problem very similar to this one , but slightly more involved.
I have a very similar problem to the one described in this question .
I have a problem very similar to the one described here: https://microsoft.public.win32.programmer.kernel.narkive.com/Ly2P8Yp2/prevent-vista-from-marking-my-application-as-non-responding That thread
I have a problem very similar to the one mentioned in this question .
I have a very similar problem as described here . I also upgraded a
My problem is very similar to this one but I don't see why my
I have a very similar problem, but i cant seem to figure it out,
I have a problem very similar to this one : CATransaction Not Animating I'm
I was looking at this post: https://stackoverflow.com/a/2262200 and I have a very similar setup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.