by izjumovfs » Tue Jan 31, 2017 10:24 pm
Hi. Do you have any ideas, what factor can cause such exception? The most strange fact - is than i am trying to open the same document on two different devices. And on one device everything is okay and on the second i got this exception. Thanks
- Code: Select all
STACK_TRACE = java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.Error: Failed to initialize JAXP 1.3 DatatypeFactory class.
at ae.com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.init(RuntimeBuiltinLeafInfoImpl.java:906)
at ae.com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:900)
at ae.com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:65)
at ae.com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:134)
at ae.com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:86)
at ae.com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:156)
at ae.com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:94)
at ae.com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:451)
at ae.com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:299)
at ae.com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:142)
at ae.com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1164)
at ae.com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:146)
at ae.com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:237)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at ae.javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:186)
at ae.javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
at ae.javax.xml.bind.ContextFinder.find(ContextFinder.java:348)
at ae.javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)
at ae.javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)
at org.docx4j.jaxb.NamespacePrefixMapperUtils.getPrefixMapper(NamespacePrefixMapperUtils.java:47)
at org.docx4j.jaxb.Context.(Context.java:67)
at org.docx4j.openpackaging.contenttype.ContentTypeManager.parseContentTypesFile(ContentTypeManager.java:651)
at org.docx4j.openpackaging.io.LoadFromZipNG.process(LoadFromZipNG.java:206)
at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:193)
at com.cvte.lei.doc.AndroidDocxToHtmlActivity$DocXLoaderTask.doInBackground(AndroidDocxToHtmlActivity.java:362)
at com.cvte.lei.doc.AndroidDocxToHtmlActivity$DocXLoaderTask.doInBackground(AndroidDocxToHtmlActivity.java:343)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
... 4 more
Caused by: javax.xml.datatype.DatatypeConfigurationException: Provider org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl not found
at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:106)
at ae.com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.init(RuntimeBuiltinLeafInfoImpl.java:904)
... 32 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]