java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V

Java.net JIRA | Sreekanth | 5 years ago
  1. 0

    WS Policy tests are failing with this exception.Looks like they are failing at the compilation stage itself. compile.service: [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/classes [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/generated-sources [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation [xtest] classLoader = sun.misc.Launcher$AppClassLoader@77cde100 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea [xtest] classLoader = sun.misc.Launcher$ExtClassLoader@6d6f0472 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea Target 'compile.service' failed with message 'javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. [xtest] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V [xtest] at com.sun.xml.bind.v2.util.XmlFactory.createDocumentBuilderFactory(XmlFactory.java:154) [xtest] at com.sun.tools.xjc.reader.internalizer.DOMForest.<init>(DOMForest.java:162) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.resetSchema(SchemaCompilerImpl.java:215) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.<init>(SchemaCompilerImpl.java:114) [xtest] at com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:72) [xtest] at com.sun.tools.ws.wscompile.WsimportOptions.<init>(WsimportOptions.java:152) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:89) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:92) [xtest] at com.sun.tools.ws.ant.WsImport2.execute(WsImport2.java:848) [xtest] at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:99) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:277) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:201) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.harness.MTestCompiler.executeDefinedCompiler(MTestCompiler.java:106) [xtest] at org.netbeans.xtest.harness.MTestCompiler.execute(MTestCompiler.java:141) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.executeAction(XTestActionTask.java:124) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.execute(XTestActionTask.java:132) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64) [xtest] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [xtest] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [xtest] at java.lang.reflect.Method.invoke(Method.java:597) [xtest] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [xtest] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.Main.runBuild(Main.java:668) [xtest] at org.apache.tools.ant.Main.startAnt(Main.java:187) [xtest] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [xtest] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Cannot execute 'compile' - 'compile.client' failed or was not executed. [subant] File '/space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional-externalreferences.xml' failed with message 'The following error occurred while executing this line: [subant] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'default-compiler' failed with message 'The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'compiler-launcher' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'buildtests' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Cannot execute 'runtests' - 'buildtests' failed or was not executed. Cannot execute 'all' - 'runtests' failed or was not executed. Target 'run-module' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build.xml:49: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'.

    Java.net JIRA | 5 years ago | Sreekanth
    java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
  2. 0

    WS Policy tests are failing with this exception.Looks like they are failing at the compilation stage itself. compile.service: [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/classes [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/generated-sources [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation [xtest] classLoader = sun.misc.Launcher$AppClassLoader@77cde100 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea [xtest] classLoader = sun.misc.Launcher$ExtClassLoader@6d6f0472 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea Target 'compile.service' failed with message 'javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. [xtest] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V [xtest] at com.sun.xml.bind.v2.util.XmlFactory.createDocumentBuilderFactory(XmlFactory.java:154) [xtest] at com.sun.tools.xjc.reader.internalizer.DOMForest.<init>(DOMForest.java:162) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.resetSchema(SchemaCompilerImpl.java:215) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.<init>(SchemaCompilerImpl.java:114) [xtest] at com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:72) [xtest] at com.sun.tools.ws.wscompile.WsimportOptions.<init>(WsimportOptions.java:152) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:89) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:92) [xtest] at com.sun.tools.ws.ant.WsImport2.execute(WsImport2.java:848) [xtest] at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:99) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:277) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:201) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.harness.MTestCompiler.executeDefinedCompiler(MTestCompiler.java:106) [xtest] at org.netbeans.xtest.harness.MTestCompiler.execute(MTestCompiler.java:141) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.executeAction(XTestActionTask.java:124) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.execute(XTestActionTask.java:132) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64) [xtest] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [xtest] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [xtest] at java.lang.reflect.Method.invoke(Method.java:597) [xtest] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [xtest] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.Main.runBuild(Main.java:668) [xtest] at org.apache.tools.ant.Main.startAnt(Main.java:187) [xtest] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [xtest] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Cannot execute 'compile' - 'compile.client' failed or was not executed. [subant] File '/space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional-externalreferences.xml' failed with message 'The following error occurred while executing this line: [subant] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'default-compiler' failed with message 'The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'compiler-launcher' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'buildtests' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Cannot execute 'runtests' - 'buildtests' failed or was not executed. Cannot execute 'all' - 'runtests' failed or was not executed. Target 'run-module' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build.xml:49: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'.

    Java.net JIRA | 5 years ago | Sreekanth
    java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    WS Policy tests are failing with this exception.Looks like they are failing at the compilation stage itself. compile.service: [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/classes [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/generated-sources [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation [xtest] classLoader = sun.misc.Launcher$AppClassLoader@77cde100 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea [xtest] classLoader = sun.misc.Launcher$ExtClassLoader@6d6f0472 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea Target 'compile.service' failed with message 'javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. [xtest] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V [xtest] at com.sun.xml.bind.v2.util.XmlFactory.createDocumentBuilderFactory(XmlFactory.java:154) [xtest] at com.sun.tools.xjc.reader.internalizer.DOMForest.<init>(DOMForest.java:162) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.resetSchema(SchemaCompilerImpl.java:215) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.<init>(SchemaCompilerImpl.java:114) [xtest] at com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:72) [xtest] at com.sun.tools.ws.wscompile.WsimportOptions.<init>(WsimportOptions.java:152) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:89) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:92) [xtest] at com.sun.tools.ws.ant.WsImport2.execute(WsImport2.java:848) [xtest] at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:99) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:277) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:201) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.harness.MTestCompiler.executeDefinedCompiler(MTestCompiler.java:106) [xtest] at org.netbeans.xtest.harness.MTestCompiler.execute(MTestCompiler.java:141) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.executeAction(XTestActionTask.java:124) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.execute(XTestActionTask.java:132) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64) [xtest] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [xtest] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [xtest] at java.lang.reflect.Method.invoke(Method.java:597) [xtest] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [xtest] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.Main.runBuild(Main.java:668) [xtest] at org.apache.tools.ant.Main.startAnt(Main.java:187) [xtest] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [xtest] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Cannot execute 'compile' - 'compile.client' failed or was not executed. [subant] File '/space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional-externalreferences.xml' failed with message 'The following error occurred while executing this line: [subant] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'default-compiler' failed with message 'The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'compiler-launcher' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'buildtests' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Cannot execute 'runtests' - 'buildtests' failed or was not executed. Cannot execute 'all' - 'runtests' failed or was not executed. Target 'run-module' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build.xml:49: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'.

    Java.net JIRA | 5 years ago | Sreekanth
    java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
  5. 0

    WS Policy tests are failing with this exception.Looks like they are failing at the compilation stage itself. compile.service: [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/classes [mkdir] Created dir: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/work/tmpdir/externalreferences/service/generated-sources [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation [xtest] classLoader = sun.misc.Launcher$AppClassLoader@77cde100 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea [xtest] classLoader = sun.misc.Launcher$ExtClassLoader@6d6f0472 [xtest] SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@3b8c8aea Target 'compile.service' failed with message 'javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. [xtest] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V [xtest] at com.sun.xml.bind.v2.util.XmlFactory.createDocumentBuilderFactory(XmlFactory.java:154) [xtest] at com.sun.tools.xjc.reader.internalizer.DOMForest.<init>(DOMForest.java:162) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.resetSchema(SchemaCompilerImpl.java:215) [xtest] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.<init>(SchemaCompilerImpl.java:114) [xtest] at com.sun.tools.xjc.api.XJC.createSchemaCompiler(XJC.java:72) [xtest] at com.sun.tools.ws.wscompile.WsimportOptions.<init>(WsimportOptions.java:152) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:89) [xtest] at com.sun.tools.ws.wscompile.WsimportTool.<init>(WsimportTool.java:92) [xtest] at com.sun.tools.ws.ant.WsImport2.execute(WsImport2.java:848) [xtest] at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:99) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:277) [xtest] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:201) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.harness.MTestCompiler.executeDefinedCompiler(MTestCompiler.java:106) [xtest] at org.netbeans.xtest.harness.MTestCompiler.execute(MTestCompiler.java:141) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.executeAction(XTestActionTask.java:124) [xtest] at org.netbeans.xtest.usertasks.XTestActionTask.execute(XTestActionTask.java:132) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64) [xtest] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [xtest] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [xtest] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [xtest] at java.lang.reflect.Method.invoke(Method.java:597) [xtest] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123) [xtest] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [xtest] at org.apache.tools.ant.Task.perform(Task.java:364) [xtest] at org.apache.tools.ant.Target.execute(Target.java:341) [xtest] at org.apache.tools.ant.Target.performTasks(Target.java:369) [xtest] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [xtest] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [xtest] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [xtest] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [xtest] at org.apache.tools.ant.Main.runBuild(Main.java:668) [xtest] at org.apache.tools.ant.Main.startAnt(Main.java:187) [xtest] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [xtest] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Cannot execute 'compile' - 'compile.client' failed or was not executed. [subant] File '/space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional-externalreferences.xml' failed with message 'The following error occurred while executing this line: [subant] java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'default-compiler' failed with message 'The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'compiler-launcher' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Target 'buildtests' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'. Cannot execute 'runtests' - 'buildtests' failed or was not executed. Cannot execute 'all' - 'runtests' failed or was not executed. Target 'run-module' failed with message 'The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build.xml:49: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/xtest-distribution/lib/module_harness.xml:339: The following error occurred while executing this line: /space/metro/hudson-workdir/workspace/tango/qe-tests/wspolicy/test/build-functional.xml:51: The following error occurred while executing this line: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V'.

    Java.net JIRA | 5 years ago | Sreekanth
    java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V

    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. java.lang.AbstractMethodError

      javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V

      at org.apache.tools.ant.ProjectHelper.addLocationToBuildException()
    2. Ant
      Ant.execute
      1. org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
      2. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
      3. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
      4. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      5. org.apache.tools.ant.Task.perform(Task.java:364)
      6. org.apache.tools.ant.Target.execute(Target.java:341)
      7. org.apache.tools.ant.Target.performTasks(Target.java:369)
      8. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      9. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
      10. org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      11. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
      11 frames