08-14 17:48:27.784 26681-26681/docx4j.org.docx4j4android4 I/art: Alloc sticky concurrent mark sweep GC freed 1017410(46MB) AllocSpace objects, 2(32KB) LOS objects, 7% free, 23MB/25MB, paused 644us total 115.597ms 08-14 17:48:33.084 26681-26681/docx4j.org.docx4j4android4 I/art: Alloc sticky concurrent mark sweep GC freed 1020231(48MB) AllocSpace objects, 0(0B) LOS objects, 3% free, 24MB/25MB, paused 591us total 121.995ms 08-14 17:48:38.804 26681-26681/docx4j.org.docx4j4android4 I/art: Alloc sticky concurrent mark sweep GC freed 1015072(45MB) AllocSpace objects, 0(0B) LOS objects, 0% free, 26MB/26MB, paused 613us total 125.707ms 08-14 17:48:44.174 26681-26681/docx4j.org.docx4j4android4 I/art: Alloc sticky concurrent mark sweep GC freed 1026517(46MB) AllocSpace objects, 0(0B) LOS objects, 0% free, 26MB/26MB, paused 611us total 128.452ms 08-14 17:48:50.874 26681-26688/docx4j.org.docx4j4android4 W/art: Suspending all threads took: 15.579ms 08-14 17:48:50.894 26681-26681/docx4j.org.docx4j4android4 I/art: Alloc sticky concurrent mark sweep GC freed 1029189(45MB) AllocSpace objects, 0(0B) LOS objects, 0% free, 27MB/27MB, paused 582us total 126.194ms 08-14 17:48:52.464 26681-26681/docx4j.org.docx4j4android4 E/org.docx4j.jaxb.Context: Cannot initialize context javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 62 counts of IllegalAnnotationExceptions 两个类具有相同的 XML 类型名称 "CT_String"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。 this problem is related to the following location: at org.docx4j.wml.CTString at protected org.docx4j.wml.CTString org.docx4j.wml.CTTblPrBase.tblCaption at org.docx4j.wml.CTTblPrBase at protected org.docx4j.wml.CTTblPrBase org.docx4j.wml.CTTblPrChange.tblPr at org.docx4j.wml.CTTblPrChange at protected org.docx4j.wml.CTTblPrChange org.docx4j.wml.TblPr.tblPrChange at org.docx4j.wml.TblPr at protected org.docx4j.wml.TblPr org.docx4j.wml.Tbl.tblPr at org.docx4j.wml.Tbl at public javax.xml.bind.JAXBElement org.docx4j.wml.ObjectFactory.createBodyTbl(org.docx4j.wml.Tbl) at org.docx4j.wml.ObjectFactory this problem is related to the following location: at org.docx4j.math.CTString at protected org.docx4j.math.CTString org.docx4j.math.CTMathPr.mathFont at org.docx4j.math.CTMathPr at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr at org.docx4j.wml.CTSettings at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings() at org.docx4j.wml.ObjectFactory 两个类具有相同的 XML 类型名称 "CT_TwipsMeasure"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。 this problem is related to the following location: at org.docx4j.wml.CTTwipsMeasure at protected org.docx4j.wml.CTTwipsMeasure org.docx4j.wml.CTFramesetSplitbar.w at org.docx4j.wml.CTFramesetSplitbar at protected org.docx4j.wml.CTFramesetSplitbar org.docx4j.wml.CTFrameset.framesetSplitbar at org.docx4j.wml.CTFrameset at public org.docx4j.wml.CTFrameset org.docx4j.wml.ObjectFactory.createCTFrameset() at org.docx4j.wml.ObjectFactory this problem is related to the following location: at org.docx4j.math.CTTwipsMeasure at protected org.docx4j.math.CTTwipsMeasure org.docx4j.math.CTMathPr.lMargin at org.docx4j.math.CTMathPr at protected org.docx4j.math.CTMathPr org.docx4j.wml.CTSettings.mathPr at org.docx4j.wml.CTSettings at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings() at org.docx4j.wml.ObjectFactory 两个类具有相同的 XML 类型名称 "CT_LongHexNumber"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。 this problem is related to the following location: at org.docx4j.wml.CTLongHexNumber at protected org.docx4j.wml.CTLongHexNumber org.docx4j.wml.CTDocRsids.rsidRoot at org.docx4j.wml.CTDocRsids at public org.docx4j.wml.CTDocRsids org.docx4j.wml.ObjectFactory.createCTDocRsids() at org.docx4j.wml.ObjectFactory this problem is related to the following location: at org.docx4j.w14.CTLongHexNumber at protected org.docx4j.w14.CTLongHexNumber org.docx4j.wml.CTSettings.docId14 at org.docx4j.wml.CTSettings at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings() at org.docx4j.wml.ObjectFactory 两个类具有相同的 XML 类型名称 "CT_Guid"。请使用 @XmlType.name 和 @XmlType.namespace 为类分配不同的名称。 this problem is related to the following location: at org.docx4j.wml.CTGuid at protected java.util.List org.docx4j.wml.CTDocPartPr.nameOrStyleOrCategory at org.docx4j.wml.CTDocPartPr at protected org.docx4j.wml.CTDocPartPr org.docx4j.wml.CTDocPart.docPartPr at org.docx4j.wml.CTDocPart at public org.docx4j.wml.CTDocPart org.docx4j.wml.ObjectFactory.createCTDocPart() at org.docx4j.wml.ObjectFactory this problem is related to the following location: at org.docx4j.w15.CTGuid at protected org.docx4j.w15.CTGuid org.docx4j.wml.CTSettings.docId15 at org.docx4j.wml.CTSettings at public org.docx4j.wml.CTSettings org.docx4j.wml.ObjectFactory.createCTSettings() at org.docx4j.wml.ObjectFactory 两个类具有� 08-14 17:48:52.464 26681-26681/docx4j.org.docx4j4android4 I/System.out: REFERENCE 08-14 17:48:52.464 26681-26681/docx4j.org.docx4j4android4 D/AndroidRuntime: Shutting down VM 08-14 17:48:52.464 26681-26681/docx4j.org.docx4j4android4 E/AndroidRuntime: FATAL EXCEPTION: main Process: docx4j.org.docx4j4android4, PID: 26681 java.lang.RuntimeException: Unable to start activity ComponentInfo{docx4j.org.docx4j4android4/docx4j.org.docx4j4android4.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2693) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758) at android.app.ActivityThread.access$900(ActivityThread.java:177) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5942) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference at docx4j.org.docx4j4android4.MainActivity.onCreate(MainActivity.java:58) at android.app.Activity.performCreate(Activity.java:6288) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)  at android.app.ActivityThread.access$900(ActivityThread.java:177)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:145)  at android.app.ActivityThread.main(ActivityThread.java:5942)  at java.lang.reflect.Method.invoke(Native Method)  at java.lang.reflect.Method.invoke(Method.java:372)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)  08-14 17:50:28.624 26681-26688/docx4j.org.docx4j4android4 W/art: Suspending all threads took: 14.169ms