- Code: Select all
0 [AgentThread: JavaAgent] INFO org.docx4j.utils.Log4jConfigurator - Since your log4j configuration (if any) was not found, docx4j has configured log4j automatically.
10 [AgentThread: JavaAgent] WARN org.docx4j.XmlUtils - Using default SAXParserFactory: null
220 [AgentThread: JavaAgent] INFO org.docx4j.jaxb.NamespacePrefixMapperUtils - Using NamespacePrefixMapperSunInternal, which is suitable for Java 6
220 [AgentThread: JavaAgent] INFO org.docx4j.jaxb.Context - Using Java 6/7 JAXB implementation
220 [AgentThread: JavaAgent] INFO org.docx4j.jaxb.Context - loading Context jc
4150 [AgentThread: JavaAgent] INFO org.docx4j.jaxb.Context - loaded com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl .. loading others ..
4280 [AgentThread: JavaAgent] INFO org.docx4j.jaxb.Context - .. others loaded ..
4290 [AgentThread: JavaAgent] INFO org.docx4j.openpackaging.contenttype.ContentTypeManager - Detected WordProcessingML package
4290 [AgentThread: JavaAgent] INFO org.docx4j.openpackaging.parts.Part - /_rels/.rels
4290 [AgentThread: JavaAgent] INFO org.docx4j.openpackaging.parts.relationships.RelationshipsPart - unmarshalling org.docx4j.openpackaging.parts.relationships.RelationshipsPart
[b]Exception in thread "AgentThread: JavaAgent" java.lang.IllegalAccessError: Class com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$FieldReflection can not access a member of class org.docx4j.relationships.Relationship with modifiers "protected"[/b]
at com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$FieldReflection.set(Accessor.java:248)
at com.sun.xml.internal.bind.v2.runtime.reflect.AdaptedAccessor.set(AdaptedAccessor.java:82)
at com.sun.xml.internal.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.parse(TransducedAccessor.java:242)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:203)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:482)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:460)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:149)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:219)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:192)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:148)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:195)
at org.docx4j.openpackaging.parts.relationships.RelationshipsPart.unmarshal(RelationshipsPart.java:862)
at org.docx4j.openpackaging.io.LoadFromZipNG.getRelationshipsPartFromZip(LoadFromZipNG.java:283)
at org.docx4j.openpackaging.io.LoadFromZipNG.process(LoadFromZipNG.java:229)
at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:193)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:228)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:180)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:172)
at JobRunnerDOCX.convertDocx2Pdf(JobRunnerDOCX.java:409)
at JobRunnerDOCX.run(JobRunnerDOCX.java:183)
at JobRunner.run(JobRunner.java:30)
at QueueConsumer.run(QueueConsumer.java:72)
at JavaAgent.NotesMain(JavaAgent.java:16)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)
Calling code:
- Code: Select all
File in = new File(xxxxxx); // checked
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(in);
Can i do something ?