Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Phantom BIRT Error in Windows 7
AmandaStar
<span style='font-size: 12px;'><span style='font-family: Palatino Linotype'>Hi - I just upgraded to Windows 7 from Vista. My reports still work in BIRT, but when I run them now, I get the message "The report contains errors, would you like to continue for previewing?" before they run. <br />
<br />
The report data looks good, but I am not sure how to figure out what BIRT thinks the "error" is now. Any thoughts on how to check this?<br />
<br />
Thanks!<br />
AS</span></span>
Find more posts tagged with
Comments
JasonW
If you switch to the xml view does it have any error circles/dots?
Jason
AmandaStar
<span style='font-size: 12px;'><span style='font-family: Palatino Linotype'>Hi Jason - do you mean the XML Source tab? I don't see anything but XML there... ?</span></span>
JasonW
Yes that is what I meant. Are you getting the error in the designer? What happens if you build a new report from scratch?
Jason
AmandaStar
Yes, the error is happening in the designer when I click Preview, before the results display (correctly).
Newly-created reports seem to be fine.
I'm also noticing that some of our existing reports are completely lacking their Master Page information when I open them in BIRT now. In the Outline panel, the Master Page shows with a red 'X' as well as the overall report name. Not the case with that original report, though - just the report name is showing an 'X' and none of the sub-elements have one.
JasonW
Are your reports using themes or libraries?
Jason
AmandaStar
<span style='font-family: Palatino Linotype'>Hmm. All of the existing reports do have two libraries, copied forward from previous template reports, but neither is showing as broken now, and refreshing both of them didn't change anything. I did have to manually add a custom embedded image to the Master Page that did show up again.</span>
JasonW
Can you post the two libs and one of the problem reports?
Jason
AmandaStar
<span style='font-family: Palatino Linotype'>Hey, Jason - I can't post the libraries or report here because of security, but I've done some more checking on the reason for the error. <br />
<br />
It looks like the borders are not showing up any more in my new installation of BIRT. The cells that have borders in the uploaded report show the red 'x' in my local version, and the mouse-over message is "The style "section-border" used by [cell location] is not found."<br />
<br />
So - in our production environment, the report has the borders, but when I download the definition and work with it in a fresh BIRT install on Windows7, they disappear. Any thoughts?<br />
<br />
Thanks!</span>
JasonW
Do you have the styles in the library? Did you set a resource folder in your designer?
Jason
AmandaStar
<span style='font-family: Palatino Linotype'>Good questions... How would I figure out if these are the case? I wasn't aware that adding borders to cells would have anything to do with Styles, unless I somehow saved them.<br />
<br />
Thanks!</span> <br />
<br />
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="101567" data-time="1338575852" data-date="01 June 2012 - 11:37 AM"><p>
Do you have the styles in the library? Did you set a resource folder in your designer?<br />
<br />
Jason<br /></p></blockquote>
JasonW
You can look at the preferences to determine if you set a resource folder.
Window->preferences->Report Design->Resource
The message indicates that you the cell can not locate a style defined for it. If the style was in the report it would locate it. So the style is most likely coming from the resource folder. Look at your xml for an entry something like:
<list-property name="cssStyleSheets">
<structure>
<property name="fileName">mystyles.css</property>
</structure>
</list-property>
Jason