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

Element reaches outside of list contents width -- Not as it appears!


Mictog

Recommended Posts

Good Morning,

This is a bit of a tricky one.  It is not as simple as it appears (at least not to me).

I am building a report in Jaspersoft iReport Designer 5.6.0 (I need to due to third party constraints).  In this environment I do not have any errors and the report renders in preview mode as expected.

However, when I import the Jasper Report JRXML file to UL's OHM Software product and attempt to run the report I get the following errors:

Error Message:Report design not valid :
1. Element reaches outside list contents width: x = 0, width = 596, list contents width = 569.
2. Element reaches outside list contents width: x = 0, width = 596, list contents width = 571.
3. Element reaches outside list contents width: x = 0, width = 596, list contents width = 571.
4. Element reaches outside list contents width: x = 0, width = 596, list contents width = 571.
5. Element reaches outside list contents width: x = 0, width = 596, list contents width = 571.
6. Element reaches outside list contents width: x = 0, width = 596, list contents width = 569.
7. Element reaches outside list contents width: x = 0, width = 596, list contents width = 569.
8. Element reaches outside list contents width: x = 0, width = 596, list contents width = 569.
9. Element reaches outside list contents width: x = 0, width = 596, list contents width = 569.
10. Element reaches outside list contents width: x = 0, width = 596, list contents width = 567.
No other error information is available. Please consult the log file for more details.

I understand the error, and I know how to make the necessary corrections.  The problem is, I have looked at every element--not just within the list contents--and none of the elements have a width defined at 596.  NONE.  Not satisfied with reviewing in Jaspersoft iReport 5.6, I reveiwed the xml file directly searching for the value 586.  This value only show up in a few GUID references (I assume they are GUID references based on the structure).

Looking inside the individual list elements I can see that the sum of defined widths of the Field elements can exceed the overal list width but, revieing the area in the designer does not reflect this.  Could this really be my issue?  I really do not want to radically redesign widths only to find that it is not the issue.  I have more errors than list components which leads me to assume that some of the errors are repeats on the same list and I may only have to repair a couple.

Has anyone experience similar behavior?  That is, it works in the designer but not the end application where it is deployed?

Any guidance you can provide will be greatly appreciated.

Thank you.

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...