]
Alexey Kazakov updated JBIDE-17738:
-----------------------------------
Fix Version/s: 4.2.0.Beta3
NPE in org.jboss.tools.common.web.WebUtil
-----------------------------------------
Key: JBIDE-17738
URL:
https://issues.jboss.org/browse/JBIDE-17738
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.2.0.Beta3
Reporter: Alexey Kazakov
Fix For: 4.2.0.Beta3
{code}
org.jboss.tools.common.validation.JBTValidationException
at
org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:123)
at
org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
at
org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at org.jboss.tools.common.web.WebUtils.getWebRootFolders(WebUtils.java:128)
at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:83)
at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:87)
at
org.jboss.tools.jst.web.kb.internal.validation.WebValidator.shouldFileBeValidated(WebValidator.java:70)
at
org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:273)
at
org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validate(ELValidator.java:204)
at
org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:118)
... 3 more
{code}