Internal Error: A SWT error has occurred
When I attempt to go to Feeds: My Teams in <project> I get the following:
An SWT error has occurred. I don't know where to find "the .log file". There is also a dialog box stating:
Details say:
Note I had set MOZILLA_FIVE_HOME to /usr/lib/firefox-3.0.1. If I don't it appears to be set to /usr/lib/xulrunner-addons but aside from that I get the same error. Note I get this with other things in RTC as well... |
9 answers
When I attempt to go to Feeds: My Teams in <project> I get the following: Looks like you are on Linux - what flavour?. There was a thread some time ago where it was suggested that you increase the number of handles available in the system, and your error message about "No more handles" suggests this *might* be a similar problem. Someone also had a problem with the JBE because of their JVM leaking handles - please check you are running either the IBM JVM shipped with RTC, or the right version of the Sun JVM. anthony |
Ralph Schoon (63.4k●3●36●46)
| answered Jun 23 '09, 7:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hello defaria,
I think I remember a colleague having a similar or the same issue with Ubuntu. In that case the issue was really a missing library or a wrong one. So the out of handle might be an issue because something in SWT went wrong. Unfortunaltely I can't find the solution or the exact error description anywhere. I remember my colleague looked the issue up in the internet somewhere and found a solution there. Ralph kestertowrote: |
Looks like you are on Linux - what flavour? Ubuntu AMD 64. There was a thread some time ago where it was suggested that you increase the number of handles available in the system, and your error message about "No more handles" suggests this *might* be a similar problem. Someone also had a problem with the JBE because of their JVM leaking handles - please check you are running either the IBM JVM shipped with RTC, or the right version of the Sun JVM. I don't understand. I just start RTC and wham it's out of handles?!? How many handles does it use just starting up?!? How do I increase the number of handles? Also, how do I check that which JVM I'm running? |
Jared Burns (4.5k●2●9)
| answered Jun 29 '09, 9:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Tue, 23 Jun 2009 05:07:52 +0000, defaria wrote:
Details say: Hello. "NO MORE HANDLES" is the generic error message that SWT prints out for *any* error that occurs when a call to the native operating system fails. In practice, the error almost never has anything to do with handles. So I would strongly advise against spending any time worrying about the number of handles on your system. Based on the details that show up in the error message, it looks like SWT is failing to load the libraries it needs for the embedded web browser it wants to use. On Ubuntu, I believe there are two steps I had to perform to get the browser working: 1. Set MOZILLA_FIVE_HOME, which you appear to have done. 2. Install xulrunner. On my Intrepid (Ubuntu 8.10) install, I have three xulrunner packages installed: xulrunner, xulrunner-1.9 and xulrunner-1.9- gnome-support Hope that helps. -- Jared Burns Jazz Process Team |
"NO MORE HANDLES" is the generic error message that SWT prints out for *any* error that occurs when a call to the native operating system fails. My initial reaction to the above statement was "That's just wrong". My second reaction was "... and it should be fixed!". In practice, the error almost never has anything to do with handles. So I would strongly advise against spending any time worrying about the number of handles on your system. Honestly that was my feeling as well... Based on the details that show up in the error message, it looks like SWT is failing to load the libraries it needs for the embedded web browser it wants to use. Thanks. I'll look around when I get home. |
2. Install xulrunner. On my Intrepid (Ubuntu 8.10) install, I have three xulrunner packages installed: xulrunner, xulrunner-1.9 and xulrunner-1.9-gnome-support Thanks. I'll look around when I get home. I had xulrunner-1.9 and xulrunner-1.9-gnome-support already installed. I seemed to have lacked xulrunner. Installed xulrunner... no change in behavior... Marked the 3 packages for reinstallation, no change. Note, if xulrunner is really required for proper execution then shouldn't it be marked as a dependency? |
defaria wrote:
defariawrote:2. Install xulrunner. On my Intrepid Hi, The official Technote on the Eclipse xulrunner issue on linux is here: http://www-01.ibm.com/support/docview.wss?rs=3488&context=SSCP65&dc=DB560&dc=DB520&uid=swg21313467&loc=en_US&cs=UTF-8&lang=en&rss=ct3488rational I think there's a good chance that the steps documented there for resolving the problem will help. Thanks, Craig Chaney Jazz Server team
|
Interesting. That seems to have worked. So are we saying here that xulrunner 1.9 is incompatible with RTC 2.0?
|
Interesting. That seems to have worked. So are we saying here that xulrunner 1.9 is incompatible with RTC 2.0? Hi Well, from the link, and following it through to the Eclipse defect, it sounds like Eclipse has/had a problem with 1.9 and this pops up on your RTC installation tool. Wondering aloud - the patch for Eclipse mentioned in the Eclipse defect may prevent the problem with RTC too. Not tried this myself, perhaps someone else has. anthony |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.