[jbosstools-issues] [JBoss JIRA] (JBIDE-20927) Validation framework errors in tests on jenkins

Viacheslav Kabanovich (JIRA) issues at jboss.org
Sat Oct 10 11:15:00 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117212#comment-13117212 ] 

Viacheslav Kabanovich commented on JBIDE-20927:
-----------------------------------------------

In plugin.xml of Web Kb we declare that we do not need two specific validators provided by plugins org.eclipse.jst.jsf.facelet.ui and org.eclipse.jst.jsf.ui. Web Kb plugin does not have in classpath these plugins exactly because we do not need them. What we need is to make sure that these validators are excluded _if_ they are available. 

Class ValidatorExtensionReader only logs these errors without throwing exception. If we want fix it anyway, there are two ways:
1) Add Eclipse JST JSF plugins to Web Kb classpath. That will sound as "gentlemen, we have invited you to our party to inform you that we do not want you at it."
2) To add Eclipse JST JSF plugins to classpath of each test plugin that depends on Web Kb - just to prevent error messages in tests.

Could you suggest a better solution?

> Validation framework errors in tests on jenkins
> -----------------------------------------------
>
>                 Key: JBIDE-20927
>                 URL: https://issues.jboss.org/browse/JBIDE-20927
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html-source-editing
>    Affects Versions: 4.4.0.Alpha1
>            Reporter: Denis Golovin
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.3.1.Final, 4.4.0.Alpha1
>
>
> {code}!ENTRY org.eclipse.wst.validation 4 0 2015-10-08 16:03:40.191
> !MESSAGE Plug-in configuration error, extension "org.jboss.tools.jst.web.kb.FaceletValidatorExclude" references validator id "org.eclipse.jst.jsf.facelet.ui.FaceletHTMLValidator" but this id does not exist.
> !STACK 1
> org.eclipse.core.runtime.CoreException: Plug-in configuration error, extension "org.jboss.tools.jst.web.kb.FaceletValidatorExclude" references validator id "org.eclipse.jst.jsf.facelet.ui.FaceletHTMLValidator" but this id does not exist.
> 	at org.eclipse.wst.validation.internal.ValidatorExtensionReader.process(ValidatorExtensionReader.java:86)
> 	at org.eclipse.wst.validation.internal.ExtensionValidators.<init>(ExtensionValidators.java:43)
> 	at org.eclipse.wst.validation.internal.ExtensionValidators.instance(ExtensionValidators.java:36)
> 	at org.eclipse.wst.validation.internal.ValManager.getV2Validators(ValManager.java:345)
> 	at org.eclipse.wst.validation.internal.ValManager.getValidatorsNotCached(ValManager.java:221)
> 	at org.eclipse.wst.validation.internal.ValManager.access$1(ValManager.java:220)
> 	at org.eclipse.wst.validation.internal.ValManager$ValidatorCache.getValidatorsCached(ValManager.java:1256)
> 	at org.eclipse.wst.validation.internal.ValManager.getValidators(ValManager.java:197)
> 	at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:745)
> 	at org.eclipse.wst.validation.internal.ValBuilderJob.startingValidation(ValBuilderJob.java:148)
> 	at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:122)
> 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> !SUBENTRY 1 org.eclipse.wst.validation 4 0 2015-10-08 16:03:40.194
> !MESSAGE Plug-in configuration error, extension "org.jboss.tools.jst.web.kb.FaceletValidatorExclude" references validator id "org.eclipse.jst.jsf.facelet.ui.FaceletHTMLValidator" but this id does not exist.
> !ENTRY org.eclipse.wst.validation 4 0 2015-10-08 16:03:40.203
> !MESSAGE Plug-in configuration error, extension "org.jboss.tools.jst.web.kb.FaceletValidatorExclude" references validator id "org.eclipse.jst.jsf.ui.JSFNonELAttributeValueValidator" but this id does not exist.
> !STACK 1
> org.eclipse.core.runtime.CoreException: Plug-in configuration error, extension "org.jboss.tools.jst.web.kb.FaceletValidatorExclude" references validator id "org.eclipse.jst.jsf.ui.JSFNonELAttributeValueValidator" but this id does not exist.
> 	at org.eclipse.wst.validation.internal.ValidatorExtensionReader.process(ValidatorExtensionReader.java:86)
> 	at org.eclipse.wst.validation.internal.ExtensionValidators.<init>(ExtensionValidators.java:43)
> 	at org.eclipse.wst.validation.internal.ExtensionValidators.instance(ExtensionValidators.java:36)
> 	at org.eclipse.wst.validation.internal.ValManager.getV2Validators(ValManager.java:345)
> 	at org.eclipse.wst.validation.internal.ValManager.getValidatorsNotCached(ValManager.java:221)
> 	at org.eclipse.wst.validation.internal.ValManager.access$1(ValManager.java:220)
> 	at org.eclipse.wst.validation.internal.ValManager$ValidatorCache.getValidatorsCached(ValManager.java:1256)
> 	at org.eclipse.wst.validation.internal.ValManager.getValidators(ValManager.java:197)
> 	at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:745)
> 	at org.eclipse.wst.validation.internal.ValBuilderJob.startingValidation(ValBuilderJob.java:148)
> 	at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:122)
> 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> !SUBENTRY 1 org.eclipse.wst.validation 4 0 2015-10-08 16:03:40.205
> !MESSAGE Plug-in configuration error, extension "org.jboss.tools.jst.web.kb.FaceletValidatorExclude" references validator id "org.eclipse.jst.jsf.ui.JSFNonELAttributeValueValidator" but this id does not exist.{code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list