Install or library version mismatch

Help
Anonymous
2011-04-21
2012-12-06
  • Anonymous - 2011-04-21

    Error Log

    !SESSION 2011-04-21 15:49:27.774 -------------------------------
    eclipse.buildId=M20100211-1343
    java.version=1.6.0_20
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments:  -os linux -ws gtk -arch x86_64

    !ENTRY net.sf.eclipsefp.haskell.core 4 0 2011-04-21 15:49:32.508
    !MESSAGE Install or library version mismatch

    !ENTRY net.sf.eclipsefp.haskell.ui 1 0 2011-04-21 15:56:53.887
    !MESSAGE cabal executable: /usr/local/bin/cabal, cabal-install 0.10.2, Cabal library version 1.10.1.0

     
  • JP Moresmau

    JP Moresmau - 2011-04-22

    This error message is dumped if there is a mismatch between the stored version of the cabal tool and the version reported by the current executable. It can happen if you've upgraded cabal but the path name hasn't changed. Just reopen the cabal preferences pages, rerun autodetect and choose the implementation you want, it will resynchronize the preferences. I don't really see the value of this check as such, maybe we'll remove or change it.

     
  • JP Moresmau

    JP Moresmau - 2011-04-22

    OK, updated the github version. The changes are as follows:
    - the message is dumped with warning severity
    - the message is different for library or install version mismatch, and dumps the version
    - the preferences are updated automatically so that the versions are kept in sync. The Cabal implementations are kept even in case of a mismatch

    This should solve that error.

     
  • Anonymous - 2011-04-22

    I followed these instructions: http://eclipsefp.sourceforge.net/build.html
    After the compilation, a new Eclipse window popped up, built scion and the Haskell perspective is available.
    However, I still get the Occurrences pop-up

    pop-up
    'Occurrences' has encountered a problem
    An internal error has occurred.
    java.lang.NullPointerException

    error log (severity is "Info" btw, not "Warning")
    An exception stack trace is not available.

    eclipse.buildId=M20100211-1343
    java.version=1.6.0_20
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Framework arguments:  -product org.eclipse.sdk.ide
    Command-line arguments:  -product org.eclipse.sdk.ide -data /home/gerold/Developing/../runtime-New_configuration -dev file:/home/gerold/Developing/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os linux -ws gtk -arch x86_64

    Info
    Fri Apr 22 19:35:05 CEST 2011
    cabal executable: /usr/local/bin/cabal, cabal-install 0.10.2, Cabal library version 1.10.1.0

     
  • JP Moresmau

    JP Moresmau - 2011-04-22

    Somewhere there must be a stack for that NullPointerException. workspace/.metadata/.log or the Eclipse console, the Eclipse error log, or the console of the development Eclipse that you used to launched EclipseFP.

     
  • Anonymous - 2011-04-22

    I didn't find any, sorry

     
  • gidyn

    gidyn - 2011-05-08

    !MESSAGE An internal error has occurred.
    !STACK 0
    java.lang.NullPointerException
    at net.sf.eclipsefp.haskell.ui.util.text.WordFinder.getEditorThing(WordFinder.java:88)
    at net.sf.eclipsefp.haskell.ui.internal.editors.text.MarkOccurrenceComputer.compute(MarkOccurrenceComputer.java:50)
    at net.sf.eclipsefp.haskell.ui.internal.editors.haskell.HaskellEditor$3$1.runInUIThread(HaskellEditor.java:328)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    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:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

     
  • JP Moresmau

    JP Moresmau - 2011-05-08

    I've added defensive code, but the error seems to indicate that your haskell file is not part of a haskell project..

     

Log in to post a comment.