- Code: Select all
2013-03-26 15:13:58,422 INFO [org.docx4j.openpackaging.parts.JaxbXmlPart] - <For org.docx4j.openpackaging.parts.WordprocessingML.HeaderPart, unmarshall via binder>
java.lang.NullPointerException
at org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties(OutputPropertiesFactory.java:260)
at org.apache.xalan.templates.OutputProperties.<init>(OutputProperties.java:83)
at org.apache.xalan.transformer.TransformerIdentityImpl.<init>(TransformerIdentityImpl.java:88)
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformerHandler(TransformerFactoryImpl.java:755)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.createTransformerHandler(JAXBContextImpl.java:705)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.DomLoader$State.<init>(DomLoader.java:52)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.DomLoader.startElement(DomLoader.java:102)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.ProxyLoader.startElement(ProxyLoader.java:44)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:487)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:465)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:60)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:135)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:228)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:265)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:234)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:111)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:94)
at com.sun.xml.internal.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:87)
at com.sun.xml.internal.bind.v2.runtime.BinderImpl.associativeUnmarshal(BinderImpl.java:145)
at com.sun.xml.internal.bind.v2.runtime.BinderImpl.unmarshal(BinderImpl.java:116)
at org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware.unmarshal(JaxbXmlPartXPathAware.java:171)
at org.docx4j.openpackaging.io.LoadFromZipNG.getRawPart(LoadFromZipNG.java:560)
at org.docx4j.openpackaging.io.LoadFromZipNG.getPart(LoadFromZipNG.java:429)
at org.docx4j.openpackaging.io.LoadFromZipNG.addPartsFromRelationships(LoadFromZipNG.java:352)
at org.docx4j.openpackaging.io.LoadFromZipNG.getPart(LoadFromZipNG.java:451)
at org.docx4j.openpackaging.io.LoadFromZipNG.addPartsFromRelationships(LoadFromZipNG.java:352)
at org.docx4j.openpackaging.io.LoadFromZipNG.process(LoadFromZipNG.java:245)
at org.docx4j.openpackaging.io.LoadFromZipNG.get(LoadFromZipNG.java:193)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:301)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:245)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:213)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.load(WordprocessingMLPackage.java:184)
at mi.proyecto.web.service.impl.WordFileServiceImp.EscribirArchivoWord(WordFileServiceImp.java:47)
at mi.proyecto.web..controller.ControllerFiscalizacion.consultaAsignacion(ControllerFiscalizacion.java:997)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:662)
I don't why it doesn't work. The web app only works fine if I restart the Tomcat. What can i do?
I use Tomcat 6.0.20 and java 6
Please Help!!!