TIBCO BusinessEvents(R) 5.0.0 Catalog Functions View is not functioning and throws the error "org.eclipse.swt.SWTError: XPCOM error -2147467262"in Red Hat environment.

TIBCO BusinessEvents(R) 5.0.0 Catalog Functions View is not functioning and throws the error "org.eclipse.swt.SWTError: XPCOM error -2147467262"in Red Hat environment.

book

Article ID: KB0085370

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
On Red Hat Linux, when trying to expand the items in Catalog Functions view in TIBCO BusinessEvents(TM) Studio, the following errors occurred:
>>>>>>>>>>>>>>>
!ENTRY org.eclipse.ui 4 0 2011-08-22 01:15:48.138
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: XPCOM error -2147467262
    at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1638)
    at org.eclipse.swt.browser.Mozilla.setText(Mozilla.java:1861)
    at org.eclipse.swt.browser.Browser.setText(Browser.java:737)
    at com.tibco.cep.studio.ui.views.FunctionHover.clearHover(Unknown Source)
    at com.tibco.cep.studio.ui.views.FunctionHoverMouseListener.mouseExit(Unknown Source)
...
<<<<<<<<<<<<<<<

Environment:
===========
Product version: 5.0.0
OS version: Red Hat Linux 5.x/6.x (either 32 or 64bit)

Symptoms:
===========
See below error when trying to expand the items in Catalog Functions view in TIBCO BusinessEvents(TM) Studio
>>>>>>>>>>>>>>>
org.eclipse.swt.SWTError: XPCOM error -2147467262
<<<<<<<<<<<<<<<

Cause:
===========

As per the following documentation, it should be a compatibility issue between  XULRunner and Eclipse:

1). http://forums.instantiations.com/topic-11-2082.html

2). http://www.eclipse.org/swt/faq.php#browserlinux

BE 5.0.0 Studio is an Eclipse 3.4 build and depends on XULRunner 1.8.x - 1.9.0.x
>>>>>>>>>>>>>>>>>
Eclipse 3.4.x: Mozilla 1.4 GTK2 - 1.7.x GTK2 and XULRunner 1.8.x - 1.9.0.x.
>>>>>>>>>>>>>>>>>

While on Redhat 5 and later versions, the default XULRunner version might be higher than 1.9.0. Refer to the next section to find out the xulrunner version.

Resolution:
===========
To find out the xulrunner version, use the following command:

&ltxulrunner_home>/xulrunner -v

i.e.,

[root@RHEL5 xulrunner-1.9.2]# ./xulrunner -v
Mozilla XULRunner 1.9.2.13 - 20101206060035

If the version is greater than 1.0.0 you will need to install a lower version of xulrunner (1.8.x - 1.9.0.x), and add the following line in studio.ini to overcome the error.

-Dorg.eclipse.swt.browser.XULRunnerPath=&ltxulrunner home>

Issue/Introduction

TIBCO BusinessEvents(R) 5.0.0 Catalog Functions View is not functioning and throws the error "org.eclipse.swt.SWTError: XPCOM error -2147467262"in Red Hat environment.