org.apache.xmlbeans.XmlException: S:\something\build\config\buildtools.xml:0: error: The document is not a xml-fragment@http://something/Buildtools: multiple document elements

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via xmlbeans-user by Manoj Pansare, 1 year ago
S:\something\build\config\buildtools.xml:0: error: The document is not a xml-fragment@http://something/Buildtools: multiple document elements
via xmlbeans-user by Manoj Pansare, 1 year ago
S:\something\build\config\buildtools.xml:0: error: The document is not a xml-fragment@http://something/Buildtools: multiple document elements
via xmlbeans-user by Ran, 1 year ago
error: The document is not a test@ http://example.com/CRMUsers/types/getUserResponse: document element mismatch got searchUsers
via openbravopos by cheli-tictech
, 1 year ago
error: The document is not a soapui-project@http://eviware.com/soapui/config: document element mismatch got definitions@http://schemas.xmlsoap.org/wsdl/
via Oracle Community by 951126, 1 year ago
C:\JDeveloper\mywork\RegistryPocServcie\Project1\default.bpmn:0: error: The document is not a definitions@http://www.omg.org/bpmn20: document element namespace mismatch expected "http://www.omg.org/bpmn20" got "http://www.omg.org/spec/BPMN/20100524/MODEL"
via Oracle Community by 702332, 1 year ago
error: The document is not a url-template-config: document element namespace mismatch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
org.apache.xmlbeans.XmlException: S:\something\build\config\buildtools.xml:0: error: The document is not a xml-fragment@http://something/Buildtools: multiple document elements
at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:452)
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:357)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1273)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at com.mathworks.x2010.bat.x01.propertyflattening.buildtools.XmlFragmentDocument$Factory.parse(Unknown Source)
at com.mathworks.bat.server.propertyflattening.lib.BuildtoolsUpdaterNew.applyChanges(BuildtoolsUpdaterNew.java:32)
at com.mathworks.bat.server.system.SystemTestPropertyFlatteningGeneral.testPropertyValueFlattening(SystemTestPropertyFlatteningGeneral.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at org.junit.runners.Parameterized$TestClassRunnerForParameters.run(Parameterized.java:98)
at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
at org.junit.runners.Parameterized.access$000(Parameterized.java:55)
at org.junit.runners.Parameterized$1.run(Parameterized.java:131)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at org.junit.runners.Parameterized.run(Parameterized.java:129)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.