Report Preview in eclipse does not work [message #826096] |
Wed, 21 March 2012 16:48 |
Zachary DeLuca Messages: 3 Registered: March 2012 |
Junior Member |
|
|
Hi, I know there are many topics along this line, but I have not been able to find one that addresses my issue.
I create a new Report Project and then a new Report, add Data Source (Classic Models Inc. Sample Database), add Data Set with customer info (Data Set Preview Results DOES show data for the query). I then add fields from the Data Set to the Report and select Preview. The Preview page is blank, even the title of the report and the table headings DO NOT show up.
If I select the preview icon at the top and choose "View Report in Web Viewer" the BIRT Report Viewer does launch, it shows the controls and says "Showing page 1 of", but the Report section is blank.
However, if I select the Preview icon and choose "View Report as HTML" the report DOES load in the BIRT Report Viewer.
Here is my configuration:
CentOS 6.2 32-bit
All GCJ and OpenJDK uninstalled
Oracle JDK 6u31 (also tried with 7u3)
Eclipse 3.7.2 for Java Developers (added BIRT through "Install New Software...")
- Also tried with BIRT All-In-One for Linux and the Eclipse Reporting release
Firefox 10.0.3 (also tried 11.0)
I get no error messages, only this on the console where eclipse was started:
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
** (Eclipse:21340): DEBUG: NP_Initialize
** (Eclipse:21340): DEBUG: NP_Initialize succeeded
I didn't know if that was related but to rule it out, I uninstalled nspluginwrapper 1.3.0 and installed version 1.4.4 from source. The above warning went away but my problem persists.
I had a web proxy set and SELinux is enabled by default, I disabled both of those just in case and it made no difference.
NOTE: If I do everything listed above on Fedora 16 64-bit, it all works fine. So there must be something about my CentOS 6.2 configuration that is not right.
Where else can I look to troubleshoot this? Any logging that I can enable, etc.? Thank you for your time!
|
|
|
Re: Report Preview in eclipse does not work [message #826194 is a reply to message #826096] |
Wed, 21 March 2012 19:35 |
|
Can you open a bugzilla entry for this?
Have you tried to deploy the viewer web app on tomcat to the same machine?
Jason
On 3/21/2012 12:48 PM, Zachary DeLuca wrote:
> Hi, I know there are many topics along this line, but I have not been
> able to find one that addresses my issue.
>
> I create a new Report Project and then a new Report, add Data Source
> (Classic Models Inc. Sample Database), add Data Set with customer info
> (Data Set Preview Results DOES show data for the query). I then add
> fields from the Data Set to the Report and select Preview. The Preview
> page is blank, even the title of the report and the table headings DO
> NOT show up.
>
> If I select the preview icon at the top and choose "View Report in Web
> Viewer" the BIRT Report Viewer does launch, it shows the controls and
> says "Showing page 1 of", but the Report section is blank.
>
> However, if I select the Preview icon and choose "View Report as HTML"
> the report DOES load in the BIRT Report Viewer.
>
> Here is my configuration:
> CentOS 6.2 32-bit
> All GCJ and OpenJDK uninstalled
> Oracle JDK 6u31 (also tried with 7u3)
> Eclipse 3.7.2 for Java Developers (added BIRT through "Install New
> Software...")
> - Also tried with BIRT All-In-One for Linux and the Eclipse Reporting
> release
> Firefox 10.0.3 (also tried 11.0)
>
> I get no error messages, only this on the console where eclipse was
> started:
>
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
> *** NSPlugin Wrapper ***
> WARNING:(../src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion
> failed: (rpc_method_invoke_possible(g_rpc_connection))
> ** (Eclipse:21340): DEBUG: NP_Initialize
> ** (Eclipse:21340): DEBUG: NP_Initialize succeeded
>
> I didn't know if that was related but to rule it out, I uninstalled
> nspluginwrapper 1.3.0 and installed version 1.4.4 from source. The above
> warning went away but my problem persists.
>
> I had a web proxy set and SELinux is enabled by default, I disabled both
> of those just in case and it made no difference.
>
> NOTE: If I do everything listed above on Fedora 16 64-bit, it all works
> fine. So there must be something about my CentOS 6.2 configuration that
> is not right.
>
> Where else can I look to troubleshoot this? Any logging that I can
> enable, etc.? Thank you for your time!
|
|
|
|
|
|
Re: Report Preview in eclipse does not work [message #830740 is a reply to message #829583] |
Wed, 28 March 2012 02:22 |
|
The report.viewer plugin is responsible for previewing the report. You
could check just that plugin in out and debug it.
Jason
On 3/26/2012 10:09 AM, Zachary DeLuca wrote:
> I want to try to investigate this further, but I need a little help with
> what to do next. Which plugin is responsible for the Preview
> functionality? Is it org.eclipse.birt.report.designer.ui.preview.web? Or
> org.eclipse.birt.report.viewer? The latter has a directory called
> birt/logs, but there is only one file containing the text "The default
> directory to place BIRT runtime log files.".
>
> Can I enable logging or debugging for these plugins? I suppose I can
> download the BIRT source and try to export my own plugins, or see what
> is available in terms of Debug configuration for the Product.
>
> I am also downloading the 4.2.0M6 build to see if the error still occurs
> there.
>
> Any other suggestions?
>
> Thanks,
> Zach
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 2.30079 seconds