Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9976

Tooltips in JBoss Central crash in Windows 7 64bits

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 3.3.0.M4
    • Fix Version/s: 3.3.0.M4
    • Component/s: central
    • Labels:
      None
    • Environment:
      Windows 7 64bits, JDK 7 64bits
    • Steps to Reproduce:
      • Run Eclipse with a 64bits JVM on Windows 64bits
      • Open JBoss Central
      • Hover over the news
      • ASSERT tooltips should be displayed, no errors displayed
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Running Eclipse with a 32bits JVM should prevent these errors.

      Show
      Running Eclipse with a 32bits JVM should prevent these errors.

      Description

      When JBoss Central is open, if the mouse cursor hovers over the News feed, a SWT error occurs :

      org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use]
      	at org.eclipse.swt.SWT.error(SWT.java:4308)
      	at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:683)
      	at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
      	at org.jboss.tools.central.editors.FeedsToolTip.createToolTipContentArea(FeedsToolTip.java:173)
      

      Following the error popup, another window is opened, asking :

      An SWT error has occurred. 
      You are recommended to exit the workbench. Subsequent errors may happen and exit the workbench without warning. 
      See the .log file for more details. 
      Do you want to exit the workbench? 
      (Yes / No)
      

      Since xulrunner is not compatible with 64bits JVM on Windows, this is not surprising.

      I guess if we can't find another way to display the tooltips (not using a browser), they should not be displayed at all (if xulrunner is missing).

        Gliffy Diagrams

          Activity

          Hide
          maxandersen Max Rydahl Andersen added a comment -

          Snjezana - can you look at this ? simple fix for M4 is to not show this when xulrunner is not there or OS Arch is win64 ?

          it seems just asking for xulrunner is disturbing win64/swt ?

          Show
          maxandersen Max Rydahl Andersen added a comment - Snjezana - can you look at this ? simple fix for M4 is to not show this when xulrunner is not there or OS Arch is win64 ? it seems just asking for xulrunner is disturbing win64/swt ?
          Hide
          snjeza Snjezana Peco added a comment -

          It would be good to test the fix on Windows64 with and without WebKit installed.
          If WebKit is installed, a tooltip would appear. The crash shouldn't happen in any case.

          Show
          snjeza Snjezana Peco added a comment - It would be good to test the fix on Windows64 with and without WebKit installed. If WebKit is installed, a tooltip would appear. The crash shouldn't happen in any case.
          Hide
          fbricon Fred Bricon added a comment -

          Seems fixed to me. Still no tooltip but no crash either.
          Not sure I understand what you mean by installing WebKit.
          Attaching my eclipse config.

          Show
          fbricon Fred Bricon added a comment - Seems fixed to me. Still no tooltip but no crash either. Not sure I understand what you mean by installing WebKit. Attaching my eclipse config.
          Hide
          rhopp Radim Hopp added a comment -

          Verified in JBT 3.3.0.M4a

          Show
          rhopp Radim Hopp added a comment - Verified in JBT 3.3.0.M4a

            People

            • Assignee:
              snjeza Snjezana Peco
              Reporter:
              fbricon Fred Bricon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development