ロゴ4 jを使って詳細エラーログを出力します.
5717 ワード
ロゴ4 jを使って詳細なエラーログを出力する方法は以下の通りです.
[2016-10-18:59:45][[ACTIVE]ExecuteThread:'0'for queue:'weblogic.kersnel.Default]]ERROR comp.interfaces.services.TrdifundTaxBill.getfundTall.Bill.Billect[Bidding]エラー
java.lang.IllagalAgment Exception:Adding text to an XML document must not be null
at org.dom 4 j.DocmentFactory.reate Text(DocomntFactory.java:174)~[dom 4 j-1.6.1.jar:1.6.1]
at org.dom 4 j.tree.AbstractElement.addText(AbstractElement.java:899)~[dom 4 j-1.6.1.jar:1.6.1]
at org.dom 4 j.tree.AbstractElement.set Text(AbstractElement.java:1120)~[dom 4 j-1.6.1.jar:1.6.1]
at comp.tax.interfaces.services.TrdiRefundTaxBill.get OneBillXmlData(TrdirefundTaxBill.java:288)~[TrdiRedTaxBill.class:na]
at comp.tax.interfaces.services.TrdiRefundTaxBill.getRefundTaxBillBatch(TrdirefundTaxBill.java:232)~[TrdiRedTaxBill.class:na]
at sun.reflect.NativeMethodAccess orImpl.invoke 0(Native Method)~[na:1.6.0_29]
at sun.reflect.NativeMethodAccess orImpl.invoke(NativeMethodAccess orImpl.java:39)~[na:1.6.0_29]
at sun.reflegating MethodAccess orImpl.invoke(Delegating MethodAccess orImpl.java:25)~[na:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597)~[na:1.6.0_29]
at comp.tax.interfaces.impl.Sys InterfaceImpl.service(SysInterfaceImpl.java:158)~[Sys InterfaceImpl.class:na]
at comp.tax.webservicel.impl.TrdiWebServiceImpl.service(TrdiWebServiceImpl.java:53)~[TrdiWebServiceImpl.class:na]
at sun.reflect.NativeMethodAccess orImpl.invoke 0(Native Method)~[na:1.6.0_29]
at sun.reflect.NativeMethodAccess orImpl.invoke(NativeMethodAccess orImpl.java:39)~[na:1.6.0_29]
at sun.reflegating MethodAccess orImpl.invoke(Delegating MethodAccess orImpl.java:25)~[na:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597)~[na:1.6.0_29]
at org.apact.cxf.service.invoker.Abstract Invoker.performInvocation(Abstract Invoker.java:136)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.service.invoker.Abstract Invoker.invoke(Abstract Invoker.java:82)~[cxf-2.11.jar:2.1.3]
at org.apache.cxf.jaxws.JAXWSMET hodInvoker.invoke(JAXWSMethodInvoker.java:54)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.service.invoker.Abstract Invoker.invoke(Abstract Invoker.java:68)~[cxf-2.11.jar:2.1.3]
at org.apper.cxf.interceptore.ServiceInvoker Intercepter$1.run(ServiceInvoker Interceptor.java:56)~[cxf-2.1.3.jar:2.1.3]
at org.apacthe.cxf.workqueue.Synch rous Exector.execute(Synch ronousExector.java:38)~[cxf-2.11.jar:2.1.3]
at org.apper.cxf.interceptor.ServiceInvoker Interceptor.handleMessage(ServiceInvoker Interceptore.java:92)~[cxf-2.1.3.jar:2.1.3]
at org.apacthe.cxf.phase.Phase InterceptorChain.doIntercept(Phase InterceptorChain.java:220)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.tranport.ChinitionObserver.onMessage(ChanInitiationObserver.java:78)~[cxf-2.13.jar:2.1.3]
at org.apact.cxf.transport.servlet.Servlet Destination.invoke(Servlet Destination.java:94)~[cxf-2.13.jar:2.1.3]
at org.apact.cxf.transport.servlet.Servlet Controller.invoke Destination(Servlet Controller.java:285)~[cxf-2.1.3.jar:2.1.3]
at org.apact.cxf.transport.servlet.Servlet Controller.invoke(Servlet Controller.java:168)~[cxf-2.13.jar:2.1.3]
at org.apact.cxf.transport.servlet.AbstractCXFSS ervlet.invoke(AbstractCXFsersvlet.java:175)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.transport.servlet.AbstractCXFSS ervlet.doPost(AbstractCXFrservlet.java:154)~[cxf-2.11.jar:2.1.3]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)~[javax.servletu 1.0.0_2-5.jar:2.5]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)~[javax.servletu 1.0.0_2-5.jar:2.5]
at weblogic.servlet.internal.Stub SecurityHelper$Servlet ServiceAct.run(Stub SecurityHelper.java:227)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Stub SecurityHelper.invokeServlet(Stub SecurityHelper.java:125)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Servlet StubImpl.execute(ServletStubImpl.java:301)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Servlet StubImpl.execute(ServletStubImpl.java:185)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebApple ServletConteext$ServletInvocationAct.wrapRun(WebApple ServletControtext.java:3729)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebApple Servlet Contect$Servlet.run(WebApple pServlet Contact.java:3696)~[weblogic.jar:10.3.6.0]
at weblogic.security.acl.internal.Authenticated Subject.doAs(Authenticated Subject.java:321)~[comp.bea.co.weblogic.security.identityu 1.2.0.jar:1.2.00]
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)~[comp.bea.co re.weblogic.security.wls_1.0.0_6-2-0.jar:6.1.0.0]
at weblogic.servlet.internal.WebApple Servlet Contactext.securedExecute(WebApple tContact.java:2273)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebApple Servlet Contactext.execute(WebApp ServletContect.java:2179)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Servlet Request Impl.run(Servlet Request Impl.java:1490)~[weblogic.jar:10.3.6.0]
at weblogic.work.ExecuteThread.execute(Execute Thread.java:256)[comp.bea.co.weblogic.workmanager_1.11.0.0.jar:1.11.00]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)[comp.bea.co.weblogic.workmanager_1.11.0.0.jar:1.11.0.0]
protected static Logger logger = LoggerFactory.getLogger(NewClass.class);
try{
doSomething();
}catch (Exception e)
{
e.printStackTrace();
logger.error(" , :"+e.getMessage(),e);
}
出力情報は以下の通りです. [2016-10-18:59:45][[ACTIVE]ExecuteThread:'0'for queue:'weblogic.kersnel.Default]]ERROR comp.interfaces.services.TrdifundTaxBill.getfundTall.Bill.Billect[Bidding]エラー
java.lang.IllagalAgment Exception:Adding text to an XML document must not be null
at org.dom 4 j.DocmentFactory.reate Text(DocomntFactory.java:174)~[dom 4 j-1.6.1.jar:1.6.1]
at org.dom 4 j.tree.AbstractElement.addText(AbstractElement.java:899)~[dom 4 j-1.6.1.jar:1.6.1]
at org.dom 4 j.tree.AbstractElement.set Text(AbstractElement.java:1120)~[dom 4 j-1.6.1.jar:1.6.1]
at comp.tax.interfaces.services.TrdiRefundTaxBill.get OneBillXmlData(TrdirefundTaxBill.java:288)~[TrdiRedTaxBill.class:na]
at comp.tax.interfaces.services.TrdiRefundTaxBill.getRefundTaxBillBatch(TrdirefundTaxBill.java:232)~[TrdiRedTaxBill.class:na]
at sun.reflect.NativeMethodAccess orImpl.invoke 0(Native Method)~[na:1.6.0_29]
at sun.reflect.NativeMethodAccess orImpl.invoke(NativeMethodAccess orImpl.java:39)~[na:1.6.0_29]
at sun.reflegating MethodAccess orImpl.invoke(Delegating MethodAccess orImpl.java:25)~[na:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597)~[na:1.6.0_29]
at comp.tax.interfaces.impl.Sys InterfaceImpl.service(SysInterfaceImpl.java:158)~[Sys InterfaceImpl.class:na]
at comp.tax.webservicel.impl.TrdiWebServiceImpl.service(TrdiWebServiceImpl.java:53)~[TrdiWebServiceImpl.class:na]
at sun.reflect.NativeMethodAccess orImpl.invoke 0(Native Method)~[na:1.6.0_29]
at sun.reflect.NativeMethodAccess orImpl.invoke(NativeMethodAccess orImpl.java:39)~[na:1.6.0_29]
at sun.reflegating MethodAccess orImpl.invoke(Delegating MethodAccess orImpl.java:25)~[na:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597)~[na:1.6.0_29]
at org.apact.cxf.service.invoker.Abstract Invoker.performInvocation(Abstract Invoker.java:136)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.service.invoker.Abstract Invoker.invoke(Abstract Invoker.java:82)~[cxf-2.11.jar:2.1.3]
at org.apache.cxf.jaxws.JAXWSMET hodInvoker.invoke(JAXWSMethodInvoker.java:54)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.service.invoker.Abstract Invoker.invoke(Abstract Invoker.java:68)~[cxf-2.11.jar:2.1.3]
at org.apper.cxf.interceptore.ServiceInvoker Intercepter$1.run(ServiceInvoker Interceptor.java:56)~[cxf-2.1.3.jar:2.1.3]
at org.apacthe.cxf.workqueue.Synch rous Exector.execute(Synch ronousExector.java:38)~[cxf-2.11.jar:2.1.3]
at org.apper.cxf.interceptor.ServiceInvoker Interceptor.handleMessage(ServiceInvoker Interceptore.java:92)~[cxf-2.1.3.jar:2.1.3]
at org.apacthe.cxf.phase.Phase InterceptorChain.doIntercept(Phase InterceptorChain.java:220)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.tranport.ChinitionObserver.onMessage(ChanInitiationObserver.java:78)~[cxf-2.13.jar:2.1.3]
at org.apact.cxf.transport.servlet.Servlet Destination.invoke(Servlet Destination.java:94)~[cxf-2.13.jar:2.1.3]
at org.apact.cxf.transport.servlet.Servlet Controller.invoke Destination(Servlet Controller.java:285)~[cxf-2.1.3.jar:2.1.3]
at org.apact.cxf.transport.servlet.Servlet Controller.invoke(Servlet Controller.java:168)~[cxf-2.13.jar:2.1.3]
at org.apact.cxf.transport.servlet.AbstractCXFSS ervlet.invoke(AbstractCXFsersvlet.java:175)~[cxf-2.11.jar:2.1.3]
at org.apact.cxf.transport.servlet.AbstractCXFSS ervlet.doPost(AbstractCXFrservlet.java:154)~[cxf-2.11.jar:2.1.3]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)~[javax.servletu 1.0.0_2-5.jar:2.5]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)~[javax.servletu 1.0.0_2-5.jar:2.5]
at weblogic.servlet.internal.Stub SecurityHelper$Servlet ServiceAct.run(Stub SecurityHelper.java:227)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Stub SecurityHelper.invokeServlet(Stub SecurityHelper.java:125)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Servlet StubImpl.execute(ServletStubImpl.java:301)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Servlet StubImpl.execute(ServletStubImpl.java:185)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebApple ServletConteext$ServletInvocationAct.wrapRun(WebApple ServletControtext.java:3729)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebApple Servlet Contect$Servlet.run(WebApple pServlet Contact.java:3696)~[weblogic.jar:10.3.6.0]
at weblogic.security.acl.internal.Authenticated Subject.doAs(Authenticated Subject.java:321)~[comp.bea.co.weblogic.security.identityu 1.2.0.jar:1.2.00]
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)~[comp.bea.co re.weblogic.security.wls_1.0.0_6-2-0.jar:6.1.0.0]
at weblogic.servlet.internal.WebApple Servlet Contactext.securedExecute(WebApple tContact.java:2273)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.WebApple Servlet Contactext.execute(WebApp ServletContect.java:2179)~[weblogic.jar:10.3.6.0]
at weblogic.servlet.internal.Servlet Request Impl.run(Servlet Request Impl.java:1490)~[weblogic.jar:10.3.6.0]
at weblogic.work.ExecuteThread.execute(Execute Thread.java:256)[comp.bea.co.weblogic.workmanager_1.11.0.0.jar:1.11.00]
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)[comp.bea.co.weblogic.workmanager_1.11.0.0.jar:1.11.0.0]