facebook

Unhandled event loop exception – No more handles

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #324305 Reply

    rodelpagui
    Member

    I recently upgraded to MyEclipse 10 from MyEclipse 8.x. When I tried to open some of my JSP or HTML files, I get the error:

    Unhandled event loop exception
    No more handles [Could not detect registered XULRunner to use]

    I then would get the message:

    An SWT error has occurred.
    You are recommended to exit the workbench.
    Subsequent errors may happen and may terminate the workbench without warning.

    Here’s the Stack Trace:
    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:96)
    at org.eclipse.atf.mozilla.ide.ui.browser.MozBrowserEditor.createPartControl(MozBrowserEditor.java:602)
    at com.genuitec.javascript.debug.ui.editor.AJAXBrowserEditor.createPartControl(AJAXBrowserEditor.java:98)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:355)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
    at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)

    And the Session Data:

    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86_64

    #324326 Reply

    support-swapna
    Moderator

    rodelpagui ,

    Sorry that you are seeing this issue.

    1) Can you check if you can replicate the issue consistently ? Please list the detail steps you are following including the details of editors which are open at the time when the issue occurs.

    2) Can you please install the MyEclipse 32 bit version alongside the 64 bit to check if the issue occurs in 32 bit install too?

    3) Also please attach a screenshot of the IDE workbench for us to help get a visual. Here is an FAQ on how to upload attachments on forums :
    https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/

    #324339 Reply

    rodelpagui
    Member

    To answer your questions:

    1) Yes, it is constant but to specific HTML or JSP files only.

    2) Installing MyEclipse 10 32-bit might take some time but, if it helps to know, this exception never happened to my installations of MyEclipse 8.5 and 8.6 – which is 32-bit.

    3) Regarding screenshots and log files, I already sent an e-mail Joy with all the following details:

    a) MyEclipse Installation Details
    b) [workspace dir]/.metadata/.log
    c) screenshot of MyEclipse Configuration Center > Software tab

    if you need these details again, please send me a PM with an e-mail to where I can forward my e-mail to Joy. I’m sorry but it’s so hard to post to your forum because it keeps on saying that I provided the wrong answer even though it is.

    Thanks for your help.

    #324379 Reply

    support-tony
    Keymaster

    rodelpagui,

    We have the information you sent to Joy, thanks. Can you provide some more information, please, to help us pin down the cause of the problem?

    1. Please confirm if the problem only shows up on some specific HTML and JSP files, and not any others. Also, does the problem always happen when you edit those specific files?
    2. Which editors are you using to edit HTML and JSP files? Note that the visual designers should not be available to you on a 64 bit installation under Windows, so, if they are, this may be the cause of the problem.
    3. If the error only occurs sometimes on those JSP and HTML files, do you have a lot of editors open when the error occurs? Do you have many perspectives open (for example, the debug perspective, a report perspective, a team respository browser perspective, and so on)?
    4. If the error always occurs on those specific files, would it be possible for you to attach one of the files, to your response, or send it to us in the way you sent your log file to Joy, if you can’t attach it here?
    5. The log file you sent seemed quite short. Did you only send the portion that contains the error you mentioned? If so, could you clear the log file, restart MyEclipse and, when the error occurs, send us the log file up to, and including, the error? When attaching the file here, you may need to rename it first to something like log.txt, otherwise the file uploader may not accept it.
    6. Thanks for the screenshot of the configuration center. If possible, please attach a screenshot of the MyEclipse window when you see the error.
    7. What are your memory settings? If you can attach your myeclipse.ini file, that would help.
    8. The results of trying with the 32 bit install will be interesting. If you still have the installer, it should not take long to install (the installer supports both; the 32 bit or 64 bit install is an option during the install). Both versions can be installed alongside each other; no need to uninstall your current version.
    9. What are the questions that our forum posting software thinks you’ve got wrong? We’ll try to sort that out to make sure it is easier for you to post.

    Sorry for the long list of questions but the more information we have, the easier it is to track down problems. Please try to answer all questions, if possible, to avoid us having to come back to you for some of the information.

    #324392 Reply

    rodelpagui
    Member

    Tony,

    Please find my answers to your questions:

    1.Please confirm if the problem only shows up on some specific HTML and JSP files, and not any others. Also, does the problem always happen when you edit those specific files?

    A. Confirmed.

    2.Which editors are you using to edit HTML and JSP files? Note that the visual designers should not be available to you on a 64 bit installation under Windows, so, if they are, this may be the cause of the problem.

    A. I double-click on the file and it should just show the source code as it does with HTML\JSP files that doesn’t cause any errors when being opened. If MyEclipse is defaulting to a visual designer to open HTML files then how should I configure to default to just the text editor that java source code files use?

    3.If the error only occurs sometimes on those JSP and HTML files, do you have a lot of editors open when the error occurs? Do you have many perspectives open (for example, the debug perspective, a report perspective, a team respository browser perspective, and so on)?

    A. I just reinstalled a 64-bit with the default plug-ins and options. I also have installed a new 32-bit version. Both installs have only one perspective is open. I restarted my desktop to have only the minimum apps running. Still the error occurs.

    4.If the error always occurs on those specific files, would it be possible for you to attach one of the files, to your response, or send it to us in the way you sent your log file to Joy, if you can’t attach it here?

    A. Sure. However, I tried to attach ofxdndtree.jsp for you to review but it didn’t seem to be attaching to this post, so, I sent it thru e-mail.

    5.The log file you sent seemed quite short. Did you only send the portion that contains the error you mentioned? If so, could you clear the log file, restart MyEclipse and, when the error occurs, send us the log file up to, and including, the error? When attaching the file here, you may need to rename it first to something like log.txt, otherwise the file uploader may not accept it.

    A. I sent the log as Joy has instructed – which is the same as your instruction. But if you need it again then I’ve attached it without clearing the previous entries.

    6.Thanks for the screenshot of the configuration center. If possible, please attach a screenshot of the MyEclipse window when you see the error.

    A. Sure. I tried to attach two (2) screenshots but also didn’t attach to this post. Expect it in an e-mail.

    7.What are your memory settings? If you can attach your myeclipse.ini file, that would help.

    A. Originally, it is

    -Xmx1024m
    -XX:MaxPermSize=512m
    -XX:ReservedCodeCacheSize=128m

    But when I reinstalled it is now the default:

    -Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m

    Regardless of the memory setup, the error still persists.

    8.The results of trying with the 32 bit install will be interesting. If you still have the installer, it should not take long to install (the installer supports both; the 32 bit or 64 bit install is an option during the install). Both versions can be installed alongside each other; no need to uninstall your current version.

    A. I installed both and 32-bit and 64-bit in one desktop. The 32-bit version works just fine.

    9.What are the questions that our forum posting software thinks you’ve got wrong? We’ll try to sort that out to make sure it is easier for you to post.

    A. 5+3
    B. opposite of “up”
    C. The question where the answer is Tuesday (don’t ask me what the question was bec I honestly don’t remember. It’s already a lot of effort for me getting the things you need for the MyEclipse IDE error, how much more remembering all the questions I got).
    D. and other random questions. The point here is, regardless of the questions, it will always fail and it will only succeed after several tries – which is also incosistent.

    Thank you again for your assistance.

    Attachments:
    You must be logged in to view attached files.
    #324393 Reply

    rodelpagui
    Member

    I have to correct myself on the behavior of MyEclipse 32-bit with the JSP and HTML files. I reported earlier that the 32-bit install worked. It seems that is also not working. The same exception that was manifesting in the 64-bit install also occurred in the 32-bit install (please refer to attached log file). However, different behavior is being shown by the two installs:

    1. The 32-bit install shows the JSP\HTML file even though the exception occurred. However, the file is uneditable. It can be viewed but it is read-only. Another difference is that you can work on other files.

    2. The 64-bit install does not show the JSP\HTML and is suggesting the workspace to be restarted. If the workspace is not restarted then you won’t be able to edit and navigate thru the opened source code.

    Attachments:
    You must be logged in to view attached files.
Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Unhandled event loop exception – No more handles

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in