[
https://issues.jboss.org/browse/JBIDE-9846?page=com.atlassian.jira.plugin...
]
Victor Rubezhny updated JBIDE-9846:
-----------------------------------
Attachment: XHTMLValidator-jbide-9846.patch
XHTMLValidator-jbide-9846.patch patch adds two step validation: first step is to detect if
validation is needed and possible, second step performs the real validation.
XHTML Syntax Validation goes into infinite loop in
fillInStackTrace()
---------------------------------------------------------------------
Key: JBIDE-9846
URL:
https://issues.jboss.org/browse/JBIDE-9846
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M4
Environment: Verified in Ubuntu 32b and 64b, Mac OSX.
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Priority: Blocker
Fix For: 3.3.0.M4
Attachments: Throwable.fillInStackTrace-1.txt, XHTMLSyntaxValidationInfinite.png,
XHTMLValidator-jbide-9846.patch
In some cases XHTML Syntax Validator goes into an infinite loop in native
fillInStackTrace() method.
STEPS TO REPRODUCE:
===================
EXECUTE: Create an XHTML page in some JSF, Seam or CDI project
EXECUTE: Fill it with the following content:
{code}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
</
{code}
EXECUTE: Save the page.
ASSERT: See in Progress View that validation tasks finished after save operation.
FAIL: "XHTML Syntax Validation" task is never comes to finish. CPU has high
load (near to 100%)
When paused in Degug session, you may see that one of the worker threads is stuck in
Throwable.fillInStackTrace() native method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira