[jbosstools-issues] [JBoss JIRA] (JBIDE-10165) Exceptions at JBoss validation if project is closed during build

Viacheslav Kabanovich (Created) (JIRA) jira-events at lists.jboss.org
Fri Nov 11 17:43:45 EST 2011


Exceptions at JBoss validation if project is closed during build
----------------------------------------------------------------

                 Key: JBIDE-10165
                 URL: https://issues.jboss.org/browse/JBIDE-10165
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: common/jst/core
    Affects Versions: 3.3.0.M3
            Reporter: Viacheslav Kabanovich
            Assignee: Alexey Kazakov
             Fix For: 3.3.x


EXECUTE: Create several CDI and/or Seam and/or JSF projects.
EXECUTE: Select them all and run Clean/Build.
EXECUTE: Wait for a couple of seconds for a progress to show the build on its way, and invoke 'Close Project' on the entire selection.
EXECUTE: After a couple of seconds invoke 'Open Project'; this two steps may be repeated until the log is full enough of the catch.

Discussion is started in JBIDE-10111.
The exception is caught and logged. It is not easy to check everywhere for accessibility, and even
{code}
if(project.isAccessible()) {
    project.findMarkers();
}
{code}
may fail if project will become inaccessible right between these two calls.
Maybe we should try locking a resource while it is validated, but that should not hang workspace for the entire build.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list