Results 1 to 7 of 7

Thread: STS 3.0 - MercurialEclipse view exceptions

  1. #1
    Join Date
    Oct 2011
    Posts
    27

    Default STS 3.0 - MercurialEclipse view exceptions

    Hi

    Trying to use view a project history in STS 3.0 and getting the following exception.
    Code:
    An error has occurred. See error log for more details.
    com.vectrace.MercurialEclipse.history.GraphLogTableViewer cannot be cast to org.eclipse.ui.part.PageBookView$SelectionProvider
    MercurialEclipse version is 1.9.1.v201111302231

    This worked fine in STS 2.9.2.

    David/

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey David!

    I guess that the version of MercurialEclipse that you are using is not yet compatible with Eclipse Juno 4.2 (the version that STS 3.0.0 is based on). I would recommend to install MercurialEclipse 2.0.0, which is mentioned on the webpage to be compatible with Eclipse 4.2.

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  3. #3
    Join Date
    Oct 2011
    Posts
    27

    Default

    Thanks Martin, your solution did work.
    For anyone else make sure your version of kilnclient is compatible with MercurialEclipse 2.0.0, I had an old version installed and they were not compatible. So I had to uninstall the kilnclient and install newer version before MercurialEclipse 2.0.0 would work.

  4. #4
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey!

    Glad to hear its working with the new version and thanks for letting us know!!!

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  5. #5
    Join Date
    Aug 2012
    Posts
    4

    Default

    Hi guys,

    I had the same issue as David (error after selecting "Show History"). I'm using: GGTS 3.0 and MercurialEclipse 1.9.1
    After I updated MercurialEclipse to 2.0.0, I'm getting a different error:

    Code:
    Unsupported hg version:1.8.3. Expected is at least2.0.0.
    	at com.vectrace.MercurialEclipse.MercurialEclipsePlugin.checkHgVersion(MercurialEclipsePlugin.java:274)
    	at com.vectrace.MercurialEclipse.MercurialEclipsePlugin.checkHgInstallation(MercurialEclipsePlugin.java:218)
    	at com.vectrace.MercurialEclipse.MercurialEclipsePlugin$1.run(MercurialEclipsePlugin.java:155)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: java.lang.Exception: Unsupported hg version:1.8.3. Expected is at least2.0.0.
    	at com.vectrace.MercurialEclipse.exception.HgException.<init>(HgException.java:49)
    	... 4 more
    Has anyone encountered this?

  6. #6
    Join Date
    Aug 2012
    Posts
    4

    Default

    Resolved the issue.

    Of course, apart from updating the MercurialEclipse plugin, I had to update the Mercurial client, installed on my machine:
    http://mercurial.selenic.com/downloads/

  7. #7
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey!

    Thanks for letting us know how you solved the problem!
    This could be very helpful for other forum users!!!

    Thanks,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •