Report Preview in eclipse does not work [message #826096] |
Wed, 21 March 2012 12:48  |
Eclipse User |
|
|
|
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 15:35   |
Eclipse User |
|
|
|
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 #832693 is a reply to message #831838] |
Fri, 30 March 2012 09:17  |
Eclipse User |
|
|
|
I make one new version of virtual PC and reinstall all software. And now my BIRT preview working well! I can see preview of any report in eclipse.
P.S. If you are interesting then one feature I found: Data source for ODBC must be system DNS, no user.
|
|
|
Powered by
FUDForum. Page generated in 0.10483 seconds