Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9846

XHTML Syntax Validation goes into infinite loop in fillInStackTrace()

XMLWordPrintable

    • Hide

      Disable XHTML Syntax Validation

      Show
      Disable XHTML Syntax Validation

      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:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      
      </
      

      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.

            vrubezhny Victor Rubezhny (Inactive)
            vrubezhny Victor Rubezhny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: