eclipsefp and haskell-platform

Help
2010-05-06
2012-12-06
  • Han Joosten
    Han Joosten
    2010-05-06

    Hi,

    I am trying to update from an old eclipsfp version (using ghc 6.8) to the new version. I installed the new haskell platform form windows.
    I followed the instructions, except that I installed a newer Haskell version.
    Now very wierd things happen. After I created a new Haskell project, the console shows the following output:

    starting server
    opts: StartupConfig {connectionMode = TCPIP False 4006, autoPort = False, showHelp = False}
    === Listening on port: 4006
    ==> {"id":1,"method":"connection-info","params":{}}
    <== {"version":"0.1","id":1,"result":{"version":1,"pid":0}}
    ==> {"id":2,"method":"list-cabal-components","params":{"cabal-file":"C:\\data\\EclipseWork\\Module1\\Module1.cabal"}}
    <== {"version":"0.1","id":2,"result":}
    ==> {"id":3,"method":"load","params":{"component":{"executable":"Module1","cabal-file":"C:\\data\\EclipseWork\\Module1\\Module1.cabal"},"output":false}}
    Warning: C:\data\EclipseWork\Module1\Module1.cabal: A package using section
    syntax should require
    "Cabal-Version: >= 1.2" or equivalent.
    Configuring Module1-0.1…
    Creating .dist-scion (and its parents)
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe is version 6.12.1
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe is version 6.12.1
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",)
    Reading installed packages…
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",)
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",)
    Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
    ./configure script then use 'build-type: Simple'.
    searching for alex in path.
    found alex at C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\alex.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\alex.exe is
    version 2.3.2
    searching for ar in path.
    found ar at C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\ar.exe
    searching for c2hs in path.
    found c2hs at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\c2hs.exe
    ("C:\\Documents and Settings\\nl22118\\Application Data\\cabal\\bin\\c2hs.exe",)
    C:\Documents and Settings\nl22118\Application Data\cabal\bin\c2hs.exe is
    version 0.16.2
    searching for cpphs in path.
    found cpphs at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\cpphs.exe
    ("C:\\Documents and Settings\\nl22118\\Application Data\\cabal\\bin\\cpphs.exe",)
    C:\Documents and Settings\nl22118\Application Data\cabal\bin\cpphs.exe is
    version 1.11
    searching for ffihugs in path.
    Cannot find ffihugs on the path
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe is version
    3.4.5
    searching for greencard in path.
    found greencard at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\greencard.exe
    searching for haddock in path.
    found haddock at C:\Program Files\Haskell Platform\2010.1.0.0\bin\haddock.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\haddock.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\haddock.exe is version 2.7.2
    searching for happy in path.
    found happy at C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\happy.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\happy.exe is
    version 1.18.4
    searching for hmake in path.
    Cannot find hmake on the path
    searching for hsc2hs in path.
    found hsc2hs at C:\Program Files\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\hsc2hs.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe is version 0.67
    searching for HsColour in path.
    found HsColour at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\HsColour.exe
    ("C:\\Documents and Settings\\nl22118\\Application Data\\cabal\\bin\\HsColour.exe",)
    C:\Documents and Settings\nl22118\Application Data\cabal\bin\HsColour.exe is
    version 1.16
    searching for hugs in path.
    Cannot find hugs on the path
    searching for jhc in path.
    Cannot find jhc on the path
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",)
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\mingw\\mingw32\\bin\\ld.exe",)
    searching for lhc in path.
    Cannot find lhc on the path
    searching for lhc-pkg in path.
    Cannot find lhc-pkg on the path
    searching for nhc98 in path.
    Cannot find nhc98 on the path
    searching for pkg-config in path.
    Cannot find pkg-config on the path
    searching for ranlib in path.
    found ranlib at C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\ranlib.exe
    searching for strip in path.
    found strip at C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\strip.exe
    searching for tar in path.
    Cannot find tar on the path
    Using Cabal-1.8.0.2 compiled by ghc-6.12
    Using compiler: ghc-6.12.1
    Using install prefix: C:\Documents and Settings\nl22118\Application Data\cabal
    Binaries installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\bin
    Libraries installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\Module1-0.1\ghc-6.12.1
    Private binaries installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\Module1-0.1
    Data files installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\Module1-0.1
    Documentation installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\doc\Module1-0.1
    Using alex version 2.3.2 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
    Using ar found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\ar.exe
    Using c2hs version 0.16.2 found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\c2hs.exe
    Using cpphs version 1.11 found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\cpphs.exe
    No ffihugs found
    Using gcc version 3.4.5 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\gcc.exe
    Using ghc version 6.12.1 given by user at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\ghc.exe
    Using ghc-pkg version 6.12.1 given by user at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\ghc-pkg.exe
    Using greencard found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\greencard.exe
    Using haddock version 2.7.2 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\haddock.exe
    Using happy version 1.18.4 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
    No hmake found
    Using hsc2hs version 0.67 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\hsc2hs.exe
    Using hscolour version 1.16 found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\HsColour.exe
    No hugs found
    No jhc found
    Using ld found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\mingw32\bin\ld.exe
    No lhc found
    No lhc-pkg found
    No nhc98 found
    No pkg-config found
    Using ranlib found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\ranlib.exe
    Using strip found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\strip.exe
    No tar found
    Preprocessing executables for Module1-0.1…
    Setting Flags: ,"duration":7.8125e-2}}

    I used to get more errors, saying that all kinds of packages could not be found. I solved a lot of them by using cabal-install <package>.

    Also, when I have a new package, All I see of it in the project explorer is pretty little. (see image attached)

    I would very much like to get it all to work.

    Any help is appreciated!

    Han Joosten.

     
  • JP Moresmau
    JP Moresmau
    2010-05-06

    Hello,

    Yes, there seems to be a problem with the ghc-pkg output parsing in GHC 6.12 that's causing the project  view to crash. Can you look in the "Error log" view of Eclipse and tell us what errors you see there? What I get from testing is an ArrayIndexOutOfBoundsException because the output used to be comma delimited and now is newline delimited.
    I'm using the current version of EclipseFP with the Haskell Platform 2010.1.0.0, but I'm in the Navigator view and I didn't notice the problem. So in the meantime switch to the Explorer view, tell me if that works better for you.

     
  • Han Joosten
    Han Joosten
    2010-05-06

    Hi,

    I Exported the error log. I will paste it down here: (don't know how to attatch it  in another way).:

    !SESSION 2010-05-03 21:39:03.125 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY org.eclipse.equinox.p2.repository 2 0 2010-05-03 21:45:33.968
    !MESSAGE Connection to http://eclipse.ialto.org/tools/mylyn/update/e3.4/plugins/org.eclipse.mylyn_3.3.3.v20100330-0200-e3x.jar.pack.gz failed on Unable to parse header: </a></div>. Retry attempt 0 started
    !STACK 0
    org.apache.commons.httpclient.ProtocolException: Unable to parse header: </a></div>
    at org.apache.commons.httpclient.HttpParser.parseHeaders(HttpParser.java:202)
    at org.apache.commons.httpclient.HttpMethodBase.readResponseHeaders(HttpMethodBase.java:1935)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1737)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer$GzipGetMethod.execute(HttpClientRetrieveFileTransfer.java:113)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1017)
    at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:610)
    at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:808)
    at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:506)
    at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:98)
    at org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileReader.java:317)
    at org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:263)
    at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:71)
    at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:468)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:451)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:518)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:200)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:175)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:159)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:95)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:507)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.eclipse.equinox.p2.repository 2 0 2010-05-03 21:45:33.968
    !MESSAGE Connection to http://eclipse.ialto.org/tools/mylyn/update/e3.4/plugins/org.eclipse.mylyn.bugzilla.core_3.3.2.v20100222-0100-e3x.jar.pack.gz failed on Unable to parse header: </a></div>. Retry attempt 0 started
    !STACK 0
    org.apache.commons.httpclient.ProtocolException: Unable to parse header: </a></div>
    at org.apache.commons.httpclient.HttpParser.parseHeaders(HttpParser.java:202)
    at org.apache.commons.httpclient.HttpMethodBase.readResponseHeaders(HttpMethodBase.java:1935)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1737)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer$GzipGetMethod.execute(HttpClientRetrieveFileTransfer.java:113)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
    at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1017)
    at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:610)
    at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:808)
    at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:506)
    at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:98)
    at org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileReader.java:317)
    at org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:263)
    at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:71)
    at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:468)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:451)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:518)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:200)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:175)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:159)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:95)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:507)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SESSION 2010-05-03 21:56:09.593 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY net.sf.eclipsefp.haskell.core 2 0 2010-05-03 22:03:35.093
    !MESSAGE No valid Haskell implementation found. Possibly none was configured in the Haskell preferences.

    !ENTRY org.eclipse.ui 4 0 2010-05-03 22:11:00.437
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    !SESSION 2010-05-03 22:24:36.421 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY org.eclipse.ui 4 0 2010-05-03 22:26:04.546
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    !SESSION 2010-05-03 22:31:24.187 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY net.sf.eclipsefp.haskell.scion.client 2 2 2010-05-03 22:48:19.593
    !MESSAGE The Scion server died unexpectedly and was restarted.
    !STACK 0
    The Scion server is not running.
    at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.runCommandSync(ScionServer.java:381)
    at net.sf.eclipsefp.haskell.scion.client.ScionInstance.runCommandSync(ScionInstance.java:203)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.run(ScionCommand.java:136)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY net.sf.eclipsefp.haskell.scion.client 4 4 2010-05-03 22:48:19.609
    !MESSAGE The Scion server is not running.
    !STACK 0
    The Scion server is not running.
    at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.runCommandSync(ScionServer.java:381)
    at net.sf.eclipsefp.haskell.scion.client.ScionInstance.runCommandSync(ScionInstance.java:203)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.run(ScionCommand.java:136)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY net.sf.eclipsefp.haskell.scion.client 4 4 2010-05-03 22:48:19.609
    !MESSAGE Error deleting problem markers
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Resource '/Ampersand' does not exist.
    at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:319)
    at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:196)
    at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:113)
    at org.eclipse.core.internal.resources.Resource.deleteMarkers(Resource.java:764)
    at net.sf.eclipsefp.haskell.scion.client.ScionInstance.deleteProblems(ScionInstance.java:285)
    at net.sf.eclipsefp.haskell.scion.client.ScionInstance$1.run(ScionInstance.java:165)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.run(ScionCommand.java:147)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SUBENTRY 1 org.eclipse.core.resources 4 368 2010-05-03 22:48:19.609
    !MESSAGE Resource '/Ampersand' does not exist.

    !ENTRY org.eclipse.ui 4 0 2010-05-03 22:50:24.125
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-03 22:54:52.984
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1585)
    at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2470)
    at org.eclipse.ui.navigator.CommonViewer.setSelectionToWidget(CommonViewer.java:451)
    at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2900)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1399)
    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353)
    at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)
    at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
    at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)
    at org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameSource.frameChanged(TreeViewerFrameSource.java:69)
    at org.eclipse.ui.internal.navigator.CommonNavigatorFrameSource.frameChanged(CommonNavigatorFrameSource.java:50)
    at org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameSource.handlePropertyChange(TreeViewerFrameSource.java:172)
    at org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameSource$1.propertyChange(TreeViewerFrameSource.java:47)
    at org.eclipse.ui.internal.navigator.framelist.FrameList.firePropertyChange(FrameList.java:90)
    at org.eclipse.ui.internal.navigator.framelist.FrameList.setCurrent(FrameList.java:205)
    at org.eclipse.ui.internal.navigator.framelist.FrameList.back(FrameList.java:75)
    at org.eclipse.ui.internal.navigator.framelist.BackAction.run(BackAction.java:63)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    !SESSION 2010-05-05 13:05:18.421 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY org.eclipse.ui 4 0 2010-05-05 13:06:26.109
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-05 13:07:25.281
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY net.sf.eclipsefp.haskell.scion.client 4 4 2010-05-05 13:43:34.500
    !MESSAGE The Scion server returned an error of type CommandFailed:
    C:\data\EclipseWork\Haskell test\Haskell test.cabal: 1: user error (Parse of field 'name' failed.)
    The command was:
    {
      "id": 2,
      "method": "list-cabal-components",
      "params": {"cabal-file": "C:\\data\\EclipseWork\\Haskell test\\Haskell test.cabal"}
    }
    The response was:
    {
      "error": {
        "message": "C:\\data\\EclipseWork\\Haskell test\\Haskell test.cabal: 1: user error (Parse of field 'name' failed.)",
        "name": "CommandFailed"
      },
      "id": 2,
      "version": "0.1"
    }
    !STACK 0
    net.sf.eclipsefp.haskell.scion.exceptions.ScionCommandException: The Scion server returned an error of type CommandFailed:
    C:\data\EclipseWork\Haskell test\Haskell test.cabal: 1: user error (Parse of field 'name' failed.)
    The command was:
    {
      "id": 2,
      "method": "list-cabal-components",
      "params": {"cabal-file": "C:\\data\\EclipseWork\\Haskell test\\Haskell test.cabal"}
    }
    The response was:
    {
      "error": {
        "message": "C:\\data\\EclipseWork\\Haskell test\\Haskell test.cabal: 1: user error (Parse of field 'name' failed.)",
        "name": "CommandFailed"
      },
      "id": 2,
      "version": "0.1"
    }
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.processResponseResult(ScionCommand.java:293)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.processResponse(ScionCommand.java:273)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.receiveResponse(ScionCommand.java:207)
    at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.runCommandSync(ScionServer.java:388)
    at net.sf.eclipsefp.haskell.scion.client.ScionInstance.runCommandSync(ScionInstance.java:203)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.run(ScionCommand.java:136)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: org.json.JSONException: JSONObject not found.
    at org.json.JSONObject.get(JSONObject.java:517)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.processResponseResult(ScionCommand.java:281)
    … 6 more

    !ENTRY org.eclipse.ui 4 0 2010-05-05 13:48:35.093
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-05 15:16:05.156
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-05 15:16:25.125
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlreadyAs(Validator.java:88)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlready(Validator.java:78)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.validateModuleName(Validator.java:66)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.doDialogFieldChanged(NewModuleWizardPage.java:112)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.access$1(NewModuleWizardPage.java:91)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage$FieldsAdapter.dialogFieldChanged(NewModuleWizardPage.java:432)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.doModifyText(StringDialogField.java:120)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.access$0(StringDialogField.java:116)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField$1.modifyText(StringDialogField.java:101)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2526)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4082)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3949)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-05 15:16:27.328
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlreadyAs(Validator.java:88)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlready(Validator.java:78)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.validateModuleName(Validator.java:66)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.doDialogFieldChanged(NewModuleWizardPage.java:112)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.access$1(NewModuleWizardPage.java:91)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage$FieldsAdapter.dialogFieldChanged(NewModuleWizardPage.java:432)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.doModifyText(StringDialogField.java:120)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.access$0(StringDialogField.java:116)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField$1.modifyText(StringDialogField.java:101)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2526)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4082)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3949)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-05 15:16:27.406
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlreadyAs(Validator.java:88)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlready(Validator.java:78)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.validateModuleName(Validator.java:66)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.doDialogFieldChanged(NewModuleWizardPage.java:112)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.access$1(NewModuleWizardPage.java:91)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage$FieldsAdapter.dialogFieldChanged(NewModuleWizardPage.java:432)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.doModifyText(StringDialogField.java:120)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.access$0(StringDialogField.java:116)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField$1.modifyText(StringDialogField.java:101)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2526)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4082)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3949)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-05 15:16:27.500
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NullPointerException
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlreadyAs(Validator.java:88)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.existsAlready(Validator.java:78)
    at net.sf.eclipsefp.haskell.ui.wizards.Validator.validateModuleName(Validator.java:66)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.doDialogFieldChanged(NewModuleWizardPage.java:112)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage.access$1(NewModuleWizardPage.java:91)
    at net.sf.eclipsefp.haskell.ui.wizards.NewModuleWizardPage$FieldsAdapter.dialogFieldChanged(NewModuleWizardPage.java:432)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.doModifyText(StringDialogField.java:120)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField.access$0(StringDialogField.java:116)
    at net.sf.eclipsefp.haskell.ui.dialog.dialogfields.StringDialogField$1.modifyText(StringDialogField.java:101)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2526)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4082)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3949)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY net.sf.eclipsefp.haskell.core 4 0 2010-05-05 18:28:28.859
    !MESSAGE getSourceContainer:L/Test/Setup.hs
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Resource '/Test' is not open.
    at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:116)
    at org.eclipse.core.internal.resources.Project.hasNature(Project.java:489)
    at net.sf.eclipsefp.haskell.core.util.ResourceUtil.getSourceContainer(ResourceUtil.java:260)
    at net.sf.eclipsefp.haskell.core.code.ModuleCreationInfo.<init>(ModuleCreationInfo.java:38)
    at net.sf.eclipsefp.haskell.ui.internal.scion.ScionManager$FileDeletionListener$1.visit(ScionManager.java:174)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
    at net.sf.eclipsefp.haskell.ui.internal.scion.ScionManager$FileDeletionListener.resourceChanged(ScionManager.java:160)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:136)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SUBENTRY 1 org.eclipse.core.resources 4 372 2010-05-05 18:28:28.937
    !MESSAGE Resource '/Test' is not open.

    !ENTRY net.sf.eclipsefp.haskell.core 4 0 2010-05-05 18:28:28.953
    !MESSAGE getSourceContainer:L/Test/src/Main.hs
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Resource '/Test' is not open.
    at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:116)
    at org.eclipse.core.internal.resources.Project.hasNature(Project.java:489)
    at net.sf.eclipsefp.haskell.core.util.ResourceUtil.getSourceContainer(ResourceUtil.java:260)
    at net.sf.eclipsefp.haskell.core.code.ModuleCreationInfo.<init>(ModuleCreationInfo.java:38)
    at net.sf.eclipsefp.haskell.ui.internal.scion.ScionManager$FileDeletionListener$1.visit(ScionManager.java:174)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
    at net.sf.eclipsefp.haskell.ui.internal.scion.ScionManager$FileDeletionListener.resourceChanged(ScionManager.java:160)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:297)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:136)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SUBENTRY 1 org.eclipse.core.resources 4 372 2010-05-05 18:28:28.953
    !MESSAGE Resource '/Test' is not open.

    !ENTRY org.eclipse.ui 4 0 2010-05-05 18:32:17.531
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-05 18:32:40.156
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.StringIndexOutOfBoundsException: String index out of range: -1)
    at org.eclipse.swt.SWT.error(SWT.java:3884)
    at org.eclipse.swt.SWT.error(SWT.java:3799)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2680)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1863)
    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:716)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1870)
    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:716)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1838)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1794)
    at org.eclipse.ui.navigator.CommonViewer.internalRefresh(CommonViewer.java:566)
    at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1484)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392)
    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1482)
    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:548)
    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:358)
    at org.eclipse.ui.navigator.CommonViewer.refresh(CommonViewer.java:515)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1414)
    at org.eclipse.ui.internal.navigator.resources.actions.ResourceMgmtActionProvider$4.run(ResourceMgmtActionProvider.java:220)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    … 22 more
    !SESSION 2010-05-05 23:07:57.796 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY net.sf.eclipsefp.haskell.scion.client 2 2 2010-05-06 20:05:12.734
    !MESSAGE The Scion server died unexpectedly and was restarted.
    !STACK 0
    The Scion server is not running.
    at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.runCommandSync(ScionServer.java:381)
    at net.sf.eclipsefp.haskell.scion.client.ScionInstance.runCommandSync(ScionInstance.java:203)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.run(ScionCommand.java:136)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY net.sf.eclipsefp.haskell.scion.client 4 4 2010-05-06 20:05:12.828
    !MESSAGE The Scion server is not running.
    !STACK 0
    The Scion server is not running.
    at net.sf.eclipsefp.haskell.scion.internal.client.ScionServer.runCommandSync(ScionServer.java:381)
    at net.sf.eclipsefp.haskell.scion.client.ScionInstance.runCommandSync(ScionInstance.java:203)
    at net.sf.eclipsefp.haskell.scion.internal.commands.ScionCommand.run(ScionCommand.java:136)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    !ENTRY org.eclipse.ui 4 0 2010-05-06 20:06:03.609
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY net.sf.eclipsefp.haskell.core 4 0 2010-05-06 20:10:50.062
    !MESSAGE Could not process resource changes in the Haskell language model.
    Project: Ampersand
    !STACK 1
    org.eclipse.core.runtime.CoreException: Scanning error on InfLibAGFuncs.hs
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.raiseCoreException(JavaParserBridge.java:92)
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:63)
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:49)
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:37)
    at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor$ResourceDeltaVisitor.visit(ProjectChangeMonitor.java:111)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
    at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.process(ProjectChangeMonitor.java:65)
    at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.resourceChanged(ProjectChangeMonitor.java:49)
    at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor$DeltaVisitor.visit(WorkspaceChangeMonitor.java:44)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
    at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor.resourceChanged(WorkspaceChangeMonitor.java:79)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)
    at org.eclipse.core.internal.resources.Workspace.checkpoint(Workspace.java:367)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:265)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:308)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:225)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:106)
    at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
    at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:191)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:151)
    at org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMoveStarter.run(ReorgMoveStarter.java:70)
    at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.handleDropMove(JavaDropAdapterAssistant.java:203)
    at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.handleDrop(JavaDropAdapterAssistant.java:71)
    at org.eclipse.ui.navigator.CommonDropAdapter.performDrop(CommonDropAdapter.java:191)
    at org.eclipse.jface.viewers.ViewerDropAdapter.drop(ViewerDropAdapter.java:276)
    at org.eclipse.ui.part.PluginDropAdapter.drop(PluginDropAdapter.java:69)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
    at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
    at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
    at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
    at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Caused by: antlr.TokenStreamException: line 27,124: Invalid qualified token '
    '
    at net.sf.eclipsefp.haskell.core.jparser.QualifiedIdentifierFilter.getQualifiedType(QualifiedIdentifierFilter.java:65)
    at net.sf.eclipsefp.haskell.core.jparser.QualifiedIdentifierFilter.insertTokensAsNeeded(QualifiedIdentifierFilter.java:53)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.nextToken(TokenStreamProcessor.java:20)
    at antlr.TokenStreamBasicFilter.nextToken(TokenStreamBasicFilter.java:40)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.lookAhead(LookaheadTokenStream.java:43)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:35)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:28)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.peekToken(TokenStreamProcessor.java:37)
    at net.sf.eclipsefp.haskell.core.jparser.PreprocessedTokenStream.insertTokensAsNeeded(PreprocessedTokenStream.java:27)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.nextToken(TokenStreamProcessor.java:20)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.lookAhead(LookaheadTokenStream.java:43)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:35)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:28)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.peekToken(TokenStreamProcessor.java:37)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellFormatter.insertTokensAsNeeded(HaskellFormatter.java:24)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.nextToken(TokenStreamProcessor.java:20)
    at antlr.TokenBuffer.fill(TokenBuffer.java:69)
    at antlr.TokenBuffer.LA(TokenBuffer.java:80)
    at antlr.LLkParser.LA(LLkParser.java:52)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.funlhs(HaskellParser.java:2776)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.decl(HaskellParser.java:1978)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.stdtopdecl(HaskellParser.java:1522)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.topdecl(HaskellParser.java:1449)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.topdecls(HaskellParser.java:954)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.body(HaskellParser.java:318)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.module(HaskellParser.java:195)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.parseModule(HaskellParser.java:75)
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:58)
    … 82 more
    !SUBENTRY 1 net.sf.eclipsefp.haskell.core.jparser 4 -1 2010-05-06 20:10:50.062
    !MESSAGE Scanning error on InfLibAGFuncs.hs
    !STACK 0
    antlr.TokenStreamException: line 27,124: Invalid qualified token '
    '
    at net.sf.eclipsefp.haskell.core.jparser.QualifiedIdentifierFilter.getQualifiedType(QualifiedIdentifierFilter.java:65)
    at net.sf.eclipsefp.haskell.core.jparser.QualifiedIdentifierFilter.insertTokensAsNeeded(QualifiedIdentifierFilter.java:53)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.nextToken(TokenStreamProcessor.java:20)
    at antlr.TokenStreamBasicFilter.nextToken(TokenStreamBasicFilter.java:40)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.lookAhead(LookaheadTokenStream.java:43)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:35)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:28)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.peekToken(TokenStreamProcessor.java:37)
    at net.sf.eclipsefp.haskell.core.jparser.PreprocessedTokenStream.insertTokensAsNeeded(PreprocessedTokenStream.java:27)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.nextToken(TokenStreamProcessor.java:20)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.lookAhead(LookaheadTokenStream.java:43)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:35)
    at net.sf.eclipsefp.haskell.core.jparser.LookaheadTokenStream.peekToken(LookaheadTokenStream.java:28)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.peekToken(TokenStreamProcessor.java:37)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellFormatter.insertTokensAsNeeded(HaskellFormatter.java:24)
    at net.sf.eclipsefp.haskell.core.jparser.TokenStreamProcessor.nextToken(TokenStreamProcessor.java:20)
    at antlr.TokenBuffer.fill(TokenBuffer.java:69)
    at antlr.TokenBuffer.LA(TokenBuffer.java:80)
    at antlr.LLkParser.LA(LLkParser.java:52)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.funlhs(HaskellParser.java:2776)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.decl(HaskellParser.java:1978)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.stdtopdecl(HaskellParser.java:1522)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.topdecl(HaskellParser.java:1449)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.topdecls(HaskellParser.java:954)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.body(HaskellParser.java:318)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.module(HaskellParser.java:195)
    at net.sf.eclipsefp.haskell.core.jparser.HaskellParser.parseModule(HaskellParser.java:75)
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:58)
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:49)
    at net.sf.eclipsefp.haskell.core.jparser.JavaParserBridge.parse(JavaParserBridge.java:37)
    at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor$ResourceDeltaVisitor.visit(ProjectChangeMonitor.java:111)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
    at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.process(ProjectChangeMonitor.java:65)
    at net.sf.eclipsefp.haskell.core.halamo.ProjectChangeMonitor.resourceChanged(ProjectChangeMonitor.java:49)
    at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor$DeltaVisitor.visit(WorkspaceChangeMonitor.java:44)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
    at net.sf.eclipsefp.haskell.core.halamo.WorkspaceChangeMonitor.resourceChanged(WorkspaceChangeMonitor.java:79)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)
    at org.eclipse.core.internal.resources.Workspace.checkpoint(Workspace.java:367)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:265)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:308)
    at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:225)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:106)
    at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
    at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:191)
    at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.perform(RefactoringExecutionHelper.java:151)
    at org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMoveStarter.run(ReorgMoveStarter.java:70)
    at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.handleDropMove(JavaDropAdapterAssistant.java:203)
    at org.eclipse.jdt.internal.ui.navigator.JavaDropAdapterAssistant.handleDrop(JavaDropAdapterAssistant.java:71)
    at org.eclipse.ui.navigator.CommonDropAdapter.performDrop(CommonDropAdapter.java:191)
    at org.eclipse.jface.viewers.ViewerDropAdapter.drop(ViewerDropAdapter.java:276)
    at org.eclipse.ui.part.PluginDropAdapter.drop(PluginDropAdapter.java:69)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
    at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
    at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
    at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
    at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    !ENTRY org.eclipse.ui 4 0 2010-05-06 20:11:35.093
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1585)
    at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2470)
    at org.eclipse.ui.navigator.CommonViewer.setSelectionToWidget(CommonViewer.java:451)
    at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2900)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1399)
    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353)
    at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)
    at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
    at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)
    at org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameSource.frameChanged(TreeViewerFrameSource.java:69)
    at org.eclipse.ui.internal.navigator.CommonNavigatorFrameSource.frameChanged(CommonNavigatorFrameSource.java:50)
    at org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameSource.handlePropertyChange(TreeViewerFrameSource.java:172)
    at org.eclipse.ui.internal.navigator.framelist.TreeViewerFrameSource$1.propertyChange(TreeViewerFrameSource.java:47)
    at org.eclipse.ui.internal.navigator.framelist.FrameList.firePropertyChange(FrameList.java:90)
    at org.eclipse.ui.internal.navigator.framelist.FrameList.setCurrent(FrameList.java:205)
    at org.eclipse.ui.internal.navigator.framelist.FrameList.back(FrameList.java:75)
    at org.eclipse.ui.internal.navigator.framelist.BackAction.run(BackAction.java:63)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    !SESSION 2010-05-06 20:13:56.671 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY org.eclipse.ui 4 0 2010-05-06 20:56:41.062
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    !SESSION 2010-05-06 23:53:20.140 -------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_19
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
    Framework arguments:  -product org.eclipse.epp.package.rcp.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product

    !ENTRY org.eclipse.ui 4 0 2010-05-06 23:54:08.109
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.parsePackageList(GHCSystemLibrary.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.model.GHCSystemLibrary.getChildren(GHCSystemLibrary.java:46)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.getChildren(HaskellResourceExtensionCP.java:86)
    at net.sf.eclipsefp.haskell.ui.internal.views.projectexplorer.HaskellResourceExtensionCP.hasChildren(HaskellResourceExtensionCP.java:114)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:97)
    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:281)
    at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:626)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2079)
    at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:587)
    at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2109)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2791)
    at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:847)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:828)
    at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:802)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
    at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
    at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1442)
    at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:937)
    at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1453)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:126)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7349)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1530)
    at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6280)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3981)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

     
  • JP Moresmau
    JP Moresmau
    2010-05-07

    Yes, that's the error I get as well. The github repo (http://github.com/JPMoresmau/eclipsefp) has the fix. The work around is not to use the Project Explorer view but instead the Navigator view.

     
  • Han Joosten
    Han Joosten
    2010-05-07

    Hi JP,

    Thanks for the support. I really appreciate it. I closed the project explorer. now I use the Navigator view. The errors are gone now.

    However, I still have problems with piecing everything together. I was used to use the eclipsefp 1. I have a project that is in an subversion repository. In my 'old' configuration, I was able to checkout the project, and it would not show the trunk, but only the stuff inside. So I had a src directory for the source, a bin directory for the generated program and an out directory containing all the intermediate output files.
    Furthermore, whenever I edited one of my .hs files, and saved it, eclipse would call ghc to compile the file. I never had the need to use ghci, for I was only intersted in the resulting executable program.
    Also, I used to have a view where the ghc output (warnings, errors etc) was dumped to. Is that still available?
    Now I cannot get my project to compile when saving. In fact, I have no clue on what is going on. What is the benefit for a user of using scion? I hope that I missed the good stuff, for now I have the feeling that I still cannot do what I want to do.  Is there any user documentation? I have searched for it, but I have the impression that is still missing.

    Any help is appreciated a lot!

    Han Joosten

     
  • JP Moresmau
    JP Moresmau
    2010-05-07

    Yes, documentation is a bit thin, and really I'm not working much on eclipseFP now because I didn't think there was much interest.
    If you have scion configured, you don't need to bother with GHC or GHCi. You can run a GHCi session if you want, but you don't need to. Scion will use the info in your Cabal file to build your project. So you need a cabal file with the relevant modules exposed and such (the gui lets you expose/include modules through the module properties). In the console view of Eclipse, you can switch to see the scion server output for your project, which can be helpful to see any issue. When everything is fine, scion will compile your project when it needs to be. Inside your project, there is a .dist-scion folder (by default Eclipse hides folders that start with a ., you can turn that off in the filters options), that contains the built files, so if your project is an executable you will find the generated exe in a sub folder there.
    Scion is used to provide the outline of modules (outline view…), on the fly checking and compilation. For example, you do not need to save your module to see compile errors. There's also some navigation capabilities, like jumping to the declaration of a function, but that's not always as powerful as it could be. It integrates fully with Cabal, and in fact uses the cabal file for everything now, and does not need any specific project information file like it did before.
    There is an editor for cabal file, but a GUI page for the general information, syntax highlighting, outline, etc, so you should be able to find your way round it.
    Hopefully that can get you started.

     
  • Han Joosten
    Han Joosten
    2010-05-07

    Hi,

    Thanks a lot. This should help me getting started. I'll first need to get familiar to cabal files, but that shouldn't cause much of a problem, i guess.

    I'll let you know how I get along.

    Han.

     
  • Han Joosten
    Han Joosten
    2010-05-10

    Hi again

    YES! I got everything on its feet again, and I must say that it looks good! I am impressed with the features that are available now.
    thanks a lot for this cool haskell IDE.

    Han Joosten

     
  • Han Joosten
    Han Joosten
    2010-05-11

    Hi,

    I now have some more problems.

    1) When I check out my project with subclipse in combination with eclipsfp 1, I didn't get the level containing the 'branches', 'tags' and 'trunc' directory in my project. Now, when I do the same checkout with sublipse with eclipsefp 2, my project does have these directories. This means, that my source files are in 'trunc\src', while I think they shoud be in 'src'.  Is this a bug?

    2) As I installed eclipsefp, I didn't have all packages. So I installed the missing ones by 'cabal install <package>. However, not all software could be installed that way. Scion is still complaining about missing stuff: Is that normal?

    Configuring Ampersand-1.1.669…
    Creating .dist-scion (and its parents)
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe is version 6.12.1
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe is version 6.12.1
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",)
    Reading installed packages…
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",)
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",)
    Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
    ./configure script then use 'build-type: Simple'.
    searching for alex in path.
    found alex at C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\alex.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\alex.exe is
    version 2.3.2
    searching for ar in path.
    found ar at C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\ar.exe
    searching for c2hs in path.
    found c2hs at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\c2hs.exe
    ("C:\\Documents and Settings\\nl22118\\Application Data\\cabal\\bin\\c2hs.exe",)
    C:\Documents and Settings\nl22118\Application Data\cabal\bin\c2hs.exe is
    version 0.16.2
    searching for cpphs in path.
    found cpphs at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\cpphs.exe
    ("C:\\Documents and Settings\\nl22118\\Application Data\\cabal\\bin\\cpphs.exe",)
    C:\Documents and Settings\nl22118\Application Data\cabal\bin\cpphs.exe is
    version 1.11
    searching for ffihugs in path.
    Cannot find ffihugs on the path
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe is version
    3.4.5
    searching for greencard in path.
    found greencard at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\greencard.exe
    searching for haddock in path.
    found haddock at C:\Program Files\Haskell Platform\2010.1.0.0\bin\haddock.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\haddock.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\haddock.exe is version 2.7.2
    searching for happy in path.
    found happy at C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\happy.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\happy.exe is
    version 1.18.4
    searching for hmake in path.
    Cannot find hmake on the path
    searching for hsc2hs in path.
    found hsc2hs at C:\Program Files\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\hsc2hs.exe",)
    C:\Program Files\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe is version 0.67
    searching for HsColour in path.
    found HsColour at C:\Documents and Settings\nl22118\Application
    Data\cabal\bin\HsColour.exe
    ("C:\\Documents and Settings\\nl22118\\Application Data\\cabal\\bin\\HsColour.exe",)
    C:\Documents and Settings\nl22118\Application Data\cabal\bin\HsColour.exe is
    version 1.16
    searching for hugs in path.
    Cannot find hugs on the path
    searching for jhc in path.
    Cannot find jhc on the path
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",)
    ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\mingw\\mingw32\\bin\\ld.exe",)
    searching for lhc in path.
    Cannot find lhc on the path
    searching for lhc-pkg in path.
    Cannot find lhc-pkg on the path
    searching for nhc98 in path.
    Cannot find nhc98 on the path
    searching for pkg-config in path.
    Cannot find pkg-config on the path
    searching for ranlib in path.
    found ranlib at C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\ranlib.exe
    searching for strip in path.
    found strip at C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\strip.exe
    searching for tar in path.
    Cannot find tar on the path
    Using Cabal-1.8.0.2 compiled by ghc-6.12
    Using compiler: ghc-6.12.1
    Using install prefix: C:\Documents and Settings\nl22118\Application Data\cabal
    Binaries installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\bin
    Libraries installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\Ampersand-1.1.669\ghc-6.12.1
    Private binaries installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\Ampersand-1.1.669
    Data files installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\Ampersand-1.1.669
    Documentation installed in: C:\Documents and Settings\nl22118\Application
    Data\cabal\doc\Ampersand-1.1.669
    Using alex version 2.3.2 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\alex.exe
    Using ar found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\ar.exe
    Using c2hs version 0.16.2 found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\c2hs.exe
    Using cpphs version 1.11 found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\cpphs.exe
    No ffihugs found
    Using gcc version 3.4.5 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\gcc.exe
    Using ghc version 6.12.1 given by user at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\ghc.exe
    Using ghc-pkg version 6.12.1 given by user at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\ghc-pkg.exe
    Using greencard found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\greencard.exe
    Using haddock version 2.7.2 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\haddock.exe
    Using happy version 1.18.4 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\lib\extralibs\bin\happy.exe
    No hmake found
    Using hsc2hs version 0.67 found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\bin\hsc2hs.exe
    Using hscolour version 1.16 found on system at: C:\Documents and
    Settings\nl22118\Application Data\cabal\bin\HsColour.exe
    No hugs found
    No jhc found
    Using ld found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\mingw32\bin\ld.exe
    No lhc found
    No lhc-pkg found
    No nhc98 found
    No pkg-config found
    Using ranlib found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\ranlib.exe
    Using strip found on system at: C:\Program Files\Haskell
    Platform\2010.1.0.0\mingw\bin\strip.exe
    No tar found

     
  • JP Moresmau
    JP Moresmau
    2010-05-11

    1) There is no link between subclipse and eclipsefp that I know of. subclipse takes the contents you tell him to take and dumps them in a folder that is marked as an Eclipse project. So I think you did something different in the two cases, like selecting the top level instead of going into trunk to checkout
    2)That's normal, I think scion invokes GHC and ghc looks for all kinds of packages that could be useful for some additional functionnlity. It looks for alternate compilers, unix tools etc… As long as you get no error from scion in the error log you can ignore these

     
  • Han Joosten
    Han Joosten
    2010-05-12

    Indeed, I selected the wrong level. I thought that I selected the correct one, but I was mistaken.

    However, when trying things out, I found a bug, which I think is not subclipse. When I get create a new project, I select a subclipse project. That enables me to fill in the details of the subversion repository where my code and other stuff resides. After that, I have to select what kind of prject it actually is. Then I select a Haskell project. That is where eclipsefp comes in, I suppose. Eventually, there is a new project with my project stuff in it. However, the Main.hs and <projectName>.cabal files are overwritten with default ones. I suspect eclipsefp to do that, for it probably thinks that it is creating an empty, new, project. The work-around for me is to replace Main.hs and <projectName>.cabal with the ones from the repository again.  But this sure is a bug, I suppose.  Is this the place to report a bug like this?

     
  • JP Moresmau
    JP Moresmau
    2010-05-12

    Yes it's the place, or you could have entered a bug in the Tracker.
    I have changed the code so that if files exist there are not overwritten. You can get the changed file (1 file changed only) from the github repository (git://github.com/JPMoresmau/eclipsefp.git). The website has instructions on how to build eclipsefp from source.

    Thanks for using EclipseFP!