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

  1. 0

    failed to parse runtime descriptor javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V

    Stack Overflow | 4 months ago | Enrique de Miguel
    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 com.sun.xml.ws.util.xml.XmlUtil.newDocumentBuilderFactory()
    2. JAX-WS RI Runtime Bundle
      XmlUtil.newDocumentBuilderFactory
      1. com.sun.xml.ws.util.xml.XmlUtil.newDocumentBuilderFactory(XmlUtil.java:392)
      1 frame
    3. JAX-WS RI Eclipselink Plugin
      JAXBContextFactory.<clinit>
      1. com.sun.xml.ws.db.toplink.JAXBContextFactory.<clinit>(JAXBContextFactory.java:211)
      1 frame
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:348)
      2 frames
    5. JAX-WS RI Runtime Bundle
      AbstractSEIModelImpl$1.run
      1. com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:523)
      2. com.sun.xml.ws.util.ServiceFinder$CompositeIterator.next(ServiceFinder.java:422)
      3. com.sun.xml.ws.spi.db.BindingContextFactory$1.hasNext(BindingContextFactory.java:81)
      4. com.sun.xml.ws.spi.db.BindingContextFactory.factories(BindingContextFactory.java:111)
      5. com.sun.xml.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:176)
      6. com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:222)
      7. com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:195)
      7 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. JAX-WS RI Runtime Bundle
      WSEndpoint.create
      1. com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:195)
      2. com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:110)
      3. com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:325)
      4. com.sun.xml.ws.db.DatabindingImpl.<init>(DatabindingImpl.java:99)
      5. com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:74)
      6. com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:58)
      7. com.sun.xml.ws.db.DatabindingFactoryImpl.createRuntime(DatabindingFactoryImpl.java:120)
      8. com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:521)
      9. com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:300)
      10. com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:164)
      11. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:577)
      12. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:560)
      12 frames