Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13836 Pass the Jakarta EE 9 Platform TCK
  3. WFLY-13966

org.apache.xerces.parsers.DOMParser.parse throwing org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 2; "The markup in the document preceding the root element must be well-formed."

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • EE
    • Undefined
    • ---
    • ---

      While running jacc/ejb tests, we get the below failure:

       

      [javatest.batch] �[0m�[0m15:15:38,672 INFO [org.jboss.as.server] (Thread-45) WFLYSRV0010: Deployed "jacc_ejb_methodperm.ear" (runtime-name : "jacc_ejb_methodperm.ear")
      [javatest.batch] �[0m�[0m15:15:38,676 INFO [stdout] (Thread-194) ************************************************************
      [javatest.batch] �[0m�[0m15:15:38,676 INFO [stdout] (Thread-194) * props file set to "/tmp/smarlow-cts-props.txt"
      [javatest.batch] �[0m�[0m15:15:38,677 INFO [stdout] (Thread-194) ************************************************************
      [javatest.batch] �[0m�[0m15:15:38,677 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ####### Value of harness.socket.retry.count is "10"
      [javatest.batch] �[0m�[0m15:15:38,677 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ####### Value of harness.log.port is "2000"
      [javatest.batch] �[0m�[0m15:15:38,677 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ####### Actual bind value of harness.log.port is "2000"
      [javatest.batch] �[0m�[0m15:15:38,739 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: *** in EETest.run(argv,p)
      [javatest.batch] �[0m�[0m15:15:38,739 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: TESTCLASS=com.sun.ts.tests.jacc.ejb.methodperm.Client
      [javatest.batch] �[0m�[0m15:15:38,739 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jacc.ejb.methodperm.Client
      [javatest.batch] �[0m�[0m15:15:38,739 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ** IN getRunMethod: testname=EJBMethodPermissionAddToRole
      [javatest.batch] �[0m�[0m15:15:38,740 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ** GOT RUN METHOD!
      [javatest.batch] �[0m�[0m15:15:38,740 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: **runmethod=EJBMethodPermissionAddToRole
      [javatest.batch] �[0m�[0m15:15:38,740 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ABOUT TO GET SETUP METHOD!
      [javatest.batch] �[0m�[0m15:15:38,740 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: No setupMethod annotation present
      [javatest.batch] �[0m�[0m15:15:38,740 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: getSetupMethod - checking for testcase specific setup method: EJBMethodPermissionAddToRole_setup
      [javatest.batch] �[0m�[0m15:15:38,740 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: getSetupMethod - checking for default class specific setup method
      [javatest.batch] �[0m�[0m15:15:38,740 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: GOT SETUP METHOD!
      [javatest.batch] �[0m�[0m15:15:38,741 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: No cleanupMethod annotation present
      [javatest.batch] �[0m�[0m15:15:38,741 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: getCleanupMethod - checking for testcase specific cleanup method: EJBMethodPermissionAddToRole_cleanup
      [javatest.batch] �[0m�[0m15:15:38,741 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: getCleanupMethod - checking for default class specific cleanup method
      [javatest.batch] �[0m�[0m15:15:38,741 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: GOT CLEANUP METHOD!
      [javatest.batch] �[0m�[0m15:15:38,741 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: TRACE: ABOUT TO INVOKE SETUP METHOD!
      [javatest.batch] �[0m�[0m15:15:38,742 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: setting logFileLocation based on passed in Properties
      [javatest.batch] �[0m�[0m15:15:38,742 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: log.file.location = /tmp/tck/wildfly/ee-9/dist/target/wildfly-21.0.0.Final-SNAPSHOT/standalone/log
      [javatest.batch] �[0m�[0m15:15:38,742 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: Setup ok
      [javatest.batch] �[0m�[31m15:15:38,744 ERROR [stderr] (Thread-194) [Fatal Error] :1:2: The markup in the document preceding the root element must be well-formed.
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: ERROR: The markup in the document preceding the root element must be well-formed.
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) 10-13-2020 15:15:38: ERROR: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 2; The markup in the document preceding the root element must be well-formed.
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:245)
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:298)
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) at com.sun.ts.tests.jacc.util.LogFileProcessor.fetchLogs(LogFileProcessor.java:227)
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) at com.sun.ts.tests.jacc.ejb.methodperm.Client.setup(Client.java:82)
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] �[0m�[0m15:15:38,745 INFO [stdout] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at com.sun.ts.lib.harness.EETest.run(EETest.java:569)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at com.sun.ts.tests.jacc.ejb.methodperm.Client.main(Client.java:66)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:99)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194) at java.lang.Thread.run(Thread.java:748)
      [javatest.batch] �[0m�[0m15:15:38,746 INFO [stdout] (Thread-194)
      [javatest.batch] �[0m�[31m15:15:38,746 ERROR [stderr] (Thread-194) org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 2; The markup in the document preceding the root element must be well-formed.
      [javatest.batch] �[0m�[31m15:15:38,746 ERROR [stderr] (Thread-194) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:245)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:298)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at com.sun.ts.tests.jacc.util.LogFileProcessor.fetchLogs(LogFileProcessor.java:227)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at com.sun.ts.tests.jacc.ejb.methodperm.Client.setup(Client.java:82)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at com.sun.ts.lib.harness.EETest.run(EETest.java:569)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at com.sun.ts.lib.harness.EETest.run(EETest.java:337)
      [javatest.batch] �[0m�[31m15:15:38,747 ERROR [stderr] (Thread-194) at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
      [javatest.batch] �[0m�[31m15:15:38,748 ERROR [stderr] (Thread-194) at com.sun.ts.tests.jacc.ejb.methodperm.Client.main(Client.java:66)
      [javatest.batch] �[0m�[31m15:15:38,748 ERROR [stderr] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] �[0m�[31m15:15:38,748 ERROR [stderr] (Thread-194) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] �[0m�[31m15:15:38,748 ERROR [stderr] (Thread-194) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] �[0m�[31m15:15:38,748 ERROR [stderr] (Thread-194) at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] �[0m�[31m15:15:38,748 ERROR [stderr] (Thread-194) at org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:99)
      [javatest.batch] �[0m�[31m15:15:38,748 ERROR [stderr] (Thread-194) at java.lang.Thread.run(Thread.java:748)

              jaslee@redhat.com Jason Lee
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: