Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] 3 more JUnit's to fix?

These are more spurious failures that seem to come from the fact that workspace operations have become much less predictable within dynamic web projects since 3.0.  Note that the logs for many of the unit tests now sport huge exception traces due (perhaps not coincidently) to the WorkspaceJob for the validator like the one below.

The problem is occuring during setup and not from any kind of regression (as usual the tests run fine locally).  In this particular case, it appears that a tearDown failed to delete a project so when a subsequent project tried to create with the same name, the expected state was different from actual.  I will change the test in question so it uses a different project name each time (my usual practice) in case this happens.

java.lang.reflect.InvocationTargetException: IWAE0027E Could not retrieve the validation configuration for resource TestJDTBeanPropertyWorkingCopyProject.
at org.eclipse.wst.validation.internal.ConfigurationManager.getProjectConfiguration(ConfigurationManager.java:172)
at org.eclipse.wst.validation.internal.ValManager.getValidators(ValManager.java:181)
at org.eclipse.wst.validation.internal.ValManager.getValidators(ValManager.java:84)
at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:422)
at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:335)
at org.eclipse.wst.validation.internal.ValBuilderJob.visit(ValBuilderJob.java:133)
at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:104)
at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:56)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:66)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:102)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:86)
at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:106)
at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:90)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/TestJDTBeanPropertyWorkingCopyProject' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:309)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:192)
at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:113)
at org.eclipse.core.internal.resources.Resource.getSessionProperty(Resource.java:1078)
at org.eclipse.wst.validation.internal.ConfigurationManager.getProjectConfiguration(ConfigurationManager.java:163)
... 20 more


--- Original Message ---


Now that
org.eclipse.jst.jsf.designtime.tests
is running, it shows 3 JUnit failures.

Are these errors in the tests? The code? Please fix in either case.

Thanks,

Back to the top