Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20519

Internal model fails when multiple instances of Studio are opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.CR1
    • 4.3.0.Beta2
    • common
    • None

      To save memory, the internal model stores long text in temporal files with prefix efs_, created in delete-on-exit mode. Since Studio may crash or be killed in the task manager, these files may remain for ever, and to prevent it, model plugin removes files with prefix efs_ during normal exit.

      That produces the following problem:
      1. Open Studio in a new workspace, create a jsf project and build it.
      2. Open second instance of Studio in another new workspace, create exactly the same jsf project and build it.
      3. Close the second instance of Studio.
      4. In the first instance of Studio, try clean/build.
      Failure: Logged messages like
      java.lang.IllegalStateException: Cannot read /tmp/efs_2500225045660665987.sp.txt for object

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: