Recently I was trying to run a report in Eclipse BIRT but I was getting this error and Eclipse was closing unexpectedly. I was able to fix it after digging a little bit on what djView is. Looks like it is a report file type; I'm not pretty sure about that.
** (Eclipse:20112): DEBUG: NP_Initialize
** (Eclipse:20112): DEBUG: NP_Initialize succeeded
djview: QDjViewPlugin::exec() begin
No bp log location saved, using default.
[000:002] Browser XEmbed support present: 1
[000:002] Browser toolkit is Gtk2.
[000:002] Using Gtk2 toolkit
[000:003] Warning(optionsfile.cc:47): Load: Could not open file, err=2
[000:003] No bp log location saved, using default.
[000:003] Browser XEmbed support present: 1
[000:003] Browser toolkit is Gtk2.
[000:004] Using Gtk2 toolkit
djview: QDjViewPlugin::exec() begin
** (Eclipse:20112): DEBUG: NP_Initialize
** (Eclipse:20112): DEBUG: NP_Initialize succeeded
** (Eclipse:20112): DEBUG: NP_Initialize
** (Eclipse:20112): DEBUG: NP_Initialize succeeded
** (Eclipse:20112): DEBUG: NP_Initialize
** (Eclipse:20112): DEBUG: NP_Initialize succeeded
Segmentation fault
djview: QDjViewPlugin::exec() end code=0
Under Eclipse, click on Window -> Preferences. Under the filter textbox type "Web browser" and select "Use external web browser".
This will prevent Eclipse BIRT to open the report in the embedded browser and will open your default system web browser.
This is an update to this post.
Sometimes I still face issues as stated above while previewing the report so, I have found this workaround on the Internet.
Start up eclipse with the following params:
./eclipse -vmargs -Dorg.eclipse.swt.browser.DefaultType=mozilla
This is an update to this post.
Sometimes I still face issues as stated above while previewing the report so, I have found this workaround on the Internet.
Start up eclipse with the following params:
./eclipse -vmargs -Dorg.eclipse.swt.browser.DefaultType=mozilla
Comments
Post a Comment