[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1652) Seam validator log errors about file that have been deleted since last validation runs

Max Andersen (JIRA) jira-events at lists.jboss.org
Fri Jan 18 08:12:21 EST 2008


     [ http://jira.jboss.com/jira/browse/JBIDE-1652?page=all ]

Max Andersen updated JBIDE-1652:
--------------------------------

    Attachment: validatorerrors.png

Example of one of them:

org.eclipse.core.internal.resources.ResourceException: Resource '/kl2/WebContent/WEB-INF/faces-config.xml' does not exist.
	at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:310)
	at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:193)
	at org.eclipse.core.internal.resources.File.getContents(File.java:285)
	at org.eclipse.core.internal.resources.File.getContents(File.java:276)
	at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateFile(SeamELValidator.java:130)
	at org.jboss.tools.seam.internal.core.validation.SeamELValidator.validateAll(SeamELValidator.java:114)
	at org.jboss.tools.seam.internal.core.validation.SeamValidatorManager.validateAll(SeamValidatorManager.java:87)
	at org.jboss.tools.seam.internal.core.validation.SeamValidatorManager.validateInJob(SeamValidatorManager.java:67)
	at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Why is the validator even running against deleted projects ? 

Maybe the validator is just called to allow the validator to clean up after the deletion and thus it should do that (e.g. remove markers or other state) instead of validating again ?

> Seam validator log errors about file that have been deleted since last validation runs
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1652
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1652
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 2.0.0.GA
>            Reporter: Max Andersen
>         Assigned To: Alexey Kazakov
>             Fix For: 2.0.1
>
>         Attachments: validatorerrors.png
>
>
> Create 2 seam projects
> Make sure the validation have run once
> delete 1 of them
> rebuild all projects
> Now I can a loong list of errors in the log about the validator not being able to find the just deleted files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list