org.xml.sax.SAXNotRecognizedException: Feature 'http://cyberneko.org/html/features/parse-noscript-content' is not recognized.

htmlunit | ethan-10gen | 8 years ago
  1. 0

    NullPointerException in writeInParsedStream

    htmlunit | 8 years ago | ethan-10gen
    org.xml.sax.SAXNotRecognizedException: Feature 'http://cyberneko.org/html/features/parse-noscript-content' is not recognized.
  2. 0

    [CACTUS-266] Maven2 : Cactus Integration for HTMLUNIT - ASF JIRA

    apache.org | 1 year ago
    org.xml.sax.SAXNotRecognizedException: Feature 'http://cyberneko.org/html/features/parse-noscript-content' is not recognized.
  3. 0

    I am facing integration problem with cactus 1.8.1, maven2, with htmlunit 2.4. I am getting the following exception: om.gargoylesoftware.htmlunit.ObjectInstantiationException: unable to create HTML parser at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.<init>(HTMLParser.java:408) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.<init>(HTMLParser.java:344) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:244) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:439) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:327) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:384) at com.bt.nhs.spine.dp14n.htmlunit.test.DeP14NScreensTest.setUp(DeP14NScreensTest.java:29) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) Enclosed exception: org.xml.sax.SAXNotRecognizedException: Feature 'http://cyberneko.org/html/features/parse-noscript-content' is not recognized. at org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.<init>(HTMLParser.java:402) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.<init>(HTMLParser.java:344) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:244) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:439) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:327) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:384) at com.bt.nhs.spine.dp14n.htmlunit.test.DeP14NScreensTest.setUp(DeP14NScreensTest.java:29) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

    Apache's JIRA Issue Tracker | 7 years ago | Shantesh Angle
    org.xml.sax.SAXNotRecognizedException: Feature 'http://cyberneko.org/html/features/parse-noscript-content' is not recognized.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ObjectInstantiationException

    htmlunit | 8 years ago | hypnoce
    org.xml.sax.SAXNotRecognizedException: http://cyberneko.org/html/features/parse-noscript-content
  6. 0

    Problem in loading GWTTestCase

    Google Groups | 6 years ago | rajkamal
    org.xml.sax.SAXNotRecognizedException: Feature 'http://cyberneko.org/html/features/parse-noscript-content' is not recognized.

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXNotRecognizedException

      Feature 'http://cyberneko.org/html/features/parse-noscript-content' is not recognized.

      at org.apache.xerces.parsers.AbstractSAXParser.setFeature()
    2. Xerces2-j
      AbstractSAXParser.setFeature
      1. org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source)
      1 frame
    3. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.<init>(HTMLParser.java:390)
      2. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.<init>(HTMLParser.java:332)
      3. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:232)
      4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
      5. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
      6. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:443)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:331)
      8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:388)
      9. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:373)
      9 frames
    4. com.businessobjects.testautomation
      NewHtmlUnitTest.main
      1. com.businessobjects.testautomation.browser.simulator.NewHtmlUnitTest.main(NewHtmlUnitTest.java:17)
      1 frame