Results 1 to 6 of 6

Thread: STS 3.0.0 - It is hanging and not saving any thing

  1. #1

    Default STS 3.0.0 - It is hanging and not saving any thing

    Hi

    I am using STS 3.0.0, today I see problem with STS and it's hanging very often and not saving.
    When I save I am getting the following error intially
    [Save Failed
    Native Library C:\Users\sdhurjet\AppData\Local\Temp\jline_.dll already loaded in another classloader


    I deleted most of the files in ...../Temp directory and tried , the error has not gone but it's hanging most often and when I close the STS I am getting the following information with exit code

    java was started but returned exit code = -805306369
    I changed JDK in STS.ini file and tried but same problem is there. I am attching the file which shows the exit code and configuration. Appreciate any body helps here.

    When I build STS I am getting the following exception.

    Building the workspace has encountered problems
    Errors occurred during the build.
    Errors running builder 'Java Builder' on project 'cmlui'.
    C:\Users\sdhurjet\AppData\Local\Temp\jline_2_0_1.d ll: The process cannot access the file because it is being used by another process


    - Sri
    Attached Images Attached Images
    Last edited by sridhar.dhurjeti; Feb 15th, 2013 at 07:52 AM.

  2. #2
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    768

    Default

    Please upgrade to the latest STS and Groovy-Eclipse. We have fixed this jline issue.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

  3. #3

    Default

    Thank you, let me try that.

  4. #4

    Default

    Hi Andrew,

    I upgraded to latest STS 3.1 but still the problem is there. Some times more often , I need to restart the STS all the times.
    It is hanging when I try to copy a variable / code snippet in the file.

    Thanks

    Sridhar

  5. #5
    Join Date
    Mar 2013
    Posts
    1

    Default

    Hi,

    Even i am facing this issue. I was using STS 2.8.1, when i encountered the issue as suggested I upgraded to STS 3.1.0. But still the issue persists.

    When i restart the STS because of this issue it works fine for sometime, but when the alert appears again i could not even save a file. Later on it hangs.

  6. #6
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    768

    Default

    I think you all are hitting a variant of this issue:

    https://issuetracker.springsource.com/browse/STS-2648

    There is an attempt to load the jline library twice.

    Try setting these system properties from inside of your GGTS.ini:

    -Dgrails.console.enable.interactive=false
    -Dgrails.console.enable.terminal=false
    -Djline.terminal=jline.UnsupportedTerminal

    And this one only if you are running 2.0 or later:

    -Dgrails.console.class=grails.build.logging.GrailsE clipseConsole

    Other questions:

    1. Are you hitting this problem when you have another workspace open or a grails app already running?
    2. Are you using projects in your workspace with multiple grails versions?
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Posting Permissions

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