[jbosstools-issues] [JBoss JIRA] (JBIDE-20519) Internal model fails when multiple instances of Studio are opened

Viacheslav Kabanovich (JIRA) issues at jboss.org
Thu Aug 27 13:23:05 EDT 2015


Viacheslav Kabanovich created JBIDE-20519:
---------------------------------------------

             Summary: Internal model fails when multiple instances of Studio are opened
                 Key: JBIDE-20519
                 URL: https://issues.jboss.org/browse/JBIDE-20519
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: common/jst/core
            Reporter: Viacheslav Kabanovich
            Assignee: Viacheslav Kabanovich
             Fix For: 4.3.0.CR1


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




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list