• Anonymous

    Anonymous - 2011-09-04

    Hi all,

    After being informed that my hoogle database is empty and opting to build it, I'm getting the following error:

    Unhandled event loop exception
    No more handles

    I took a guess: 

    export MOZILLA_FIVE_HOME=/usr/lib/mozilla/

    And restarted eclipse.  It crashed during the splash screen with this terminal output:

    error at org/eclipse/contribution/jdt/IsWovenTester.aj::0 class 'org.eclipse.contribution.jdt.IsWovenTester' is already woven and has not been built in reweavable mode
    error at org/eclipse/contribution/jdt/IsWovenTester.aj::0 class 'org.eclipse.contribution.jdt.IsWovenTester$WeavingMarker' is already woven and has not been built in reweavable mode
    warning at org/eclipse/contribution/jdt/sourceprovider/SourceTransformerAspect.aj:106::0 does not match because declaring type is org.eclipse.jdt.core.IOpenable, if match desired use target(org.eclipse.jdt.core.ICompilationUnit)
    see also: org/eclipse/jdt/internal/core/
    warning at org/eclipse/contribution/jdt/sourceprovider/SourceTransformerAspect.aj:106::0 does not match because declaring type is org.eclipse.jdt.core.ITypeRoot, if match desired use target(org.eclipse.jdt.core.ICompilationUnit)
    see also: org/eclipse/jdt/internal/ui/javaeditor/

    Any ideas?


  • Anonymous

    Anonymous - 2011-09-04

    Well it seems the jdt errors might be unrelated to the crash.  I've since seen the errors without the crash.

    I decided to delete my workspace directory and try again, which turned out to be a bad idea.  Now when I try to open the haskell perspective, I get the following error:

    Could not install scion server:
    java.IOException: Cannot run program <cabal> (in directory "<my workspace>/.metadata/.plugins/net.sf.eclipsefp.haskell.scion.client/scion-"): error=2, No such file or directory

    For some reason, even after uninstalling and reinstalling eclipsefp, the …scion.client directory is not being created.  I guess I'll try completely blowing away eclipse next…


  • JP Moresmau

    JP Moresmau - 2011-09-04

    The MOZILLA-FIVE_HOME and the AspectJ related crash are not related to EclipseFP. The second issue you have is weird. The folder in the plugins folder should be created automatically and populated with the sources to build the scion server.  Eclipse manages the creation of workspace/.metadata/net.sf.eclipsefp.haskell.scion.client, and the EclipseFP code the rest. What folders are recreated when you start Eclipse? Any other messages in the Eclipse Error Log?

  • Anonymous

    Anonymous - 2011-09-05

    No folders in the .metadata directory were being recreated.  I'm guessing there was some residual state (even after uninstalling the plugin) in ~/.eclipse that said they were created.  `grep -r eclipsefp ~/.eclipse` had a lot of results, which seemed to support my suspicion.  Deleting ~/.eclipse and starting over with MOZILLA_FIVE_HOME defined worked.

  • Nathan Hüsken

    Nathan Hüsken - 2012-11-24

    I have the same problem in ubuntu 64 bit with eclipse Juno.

  • JP Moresmau

    JP Moresmau - 2012-11-25

    lonelystar, can you be more specific? What problem do you have? The current version of EclipseFP does not have the scion.client plugin anymore, so you can't have exactly the same message, and the AspectJ and MOZILLA_FIVE_HOME are not in any way explicitly linked to  EclipseFP (i.e. we don't do anything with them).

  • Nathan Hüsken

    Nathan Hüsken - 2012-11-26

    I have no Idea what I did, but at present I can not reproduce the error.

    When I open a haskell file, where an error is shown and hovered over the error, I got a message with something about "MOZILLA_FIVE_HOME" and afterwards I was asked to exit the workbench. When I set MOZILLA_FIVE_HOME, eclipse crashed at some point, I do not remember the error message.

    If the error re-occures, I will post the exact error messages!

  • Nathan Messer

    Nathan Messer - 2012-12-02

    I can reliably get the error when looking at a file with a compilation error in it, if I hover the mouse pointer over the compilation error.

    I'm on version 2.3.2 of Eclipse FP, and 4.2.1 of Eclipse, running on a 64 bit version of Ubuntu 12.04.

    Below is a stack trace. I'll put the source of the file in a reply on it's own.

    It seems to be from the net.sf.eclipsefp.haskell.ui.internal.editors.haskell.HaskellInformationControl class, in the createContent method, interacting with the SWT browser control.


    Nathan Messer

    !ENTRY org.eclipse.ui 4 0 2012-12-02 20:16:50.757
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTError: No more handles
    at org.eclipse.swt.SWT.error(
    at org.eclipse.swt.browser.Mozilla.initMozilla(
    at org.eclipse.swt.browser.Mozilla.create(
    at org.eclipse.swt.browser.Browser.<init>(
    at net.sf.eclipsefp.haskell.ui.internal.editors.haskell.HaskellInformationControl.createContent(
    at org.eclipse.jface.text.AbstractInformationControl.create(
    at net.sf.eclipsefp.haskell.ui.internal.editors.haskell.HaskellInformationControl.<init>(
    at net.sf.eclipsefp.haskell.ui.internal.editors.haskell.text.AnnotationHover$1.createInformationControl(
    at org.eclipse.jface.text.AbstractInformationControlManager.getInformationControl(
    at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(
    at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(
    at org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation(
    at org.eclipse.jface.text.AbstractInformationControlManager.setInformation(
    at org.eclipse.jface.text.source.AnnotationBarHoverManager.computeInformation(
    at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(
    at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(
    at org.eclipse.swt.widgets.TypedListener.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Display.runDeferredEvents(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
    at org.eclipse.ui.internal.Workbench$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(
    at org.eclipse.equinox.launcher.Main.main(

  • Nathan Messer

    Nathan Messer - 2012-12-02

    module Main where

    getNeighbours :: (Num a) => (a,a) -> 

    getNeighbours (x,y) =
        let decx = x - 1
            incx = x + 1
            decy = y - 1
            incy = y + 1
      [(decx,incy),(x,incy),(incx, incy),
       (decx,   y),         (incx,    y),
       (decx,decy),(x,decy),(incx, decy)]
    -main = undefined

  • Nathan Messer

    Nathan Messer - 2012-12-02

    And if I explicitly set the MOZILLA_FIVE_HOME environment variable and launch eclipse, and hover the mouse over the error marker, I get the following error:

    Unhandled event loop exception
    No more handles  (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
    /etc/eclipse4.2.1/eclipse/configuration/org.eclipse.osgi/bundles/328/1/.cp/ cannot open shared object file: No such file or directory
    no swt-mozilla-gtk in java.library.path
    Can't load library: /home/nathan/.swt/lib/linux/x86_64/
    Can't load library: /home/nathan/.swt/lib/linux/x86_64/
    /home/nathan/.swt/lib/linux/x86_64/ cannot open shared object file: No such file or directory


Log in to post a comment.