Author: vrubezhny
Date: 2011-10-07 14:27:24 -0400 (Fri, 07 Oct 2011)
New Revision: 35476
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java
Log:
JBIDE-9846 XHTML Syntax Validation goes into infinite loop in fillInStackTrace()
JBIDE-9828 NPE and ArrayIndexOutOfBoundsException occur in XHTML validator
Issues are fixed. JUnit Tests are created
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java 2011-10-07
18:18:09 UTC (rev 35475)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLValidator.java 2011-10-07
18:27:24 UTC (rev 35476)
@@ -668,8 +668,10 @@
}
} catch (MalformedURLException e) {
// Ignore (null will be returned as result)
+ JSFModelPlugin.getPluginLog().logError(e);
} catch (IOException e) {
// Ignore (null will be returned as result)
+ JSFModelPlugin.getPluginLog().logError(e);
}
return stream;
}