x

FÓRUM CONTÁBEIS

TECNOLOGIA CONTÁBIL

respostas 0

acessos 1.303

Erro Inesperado CTE (Sefaz MA Gratuito)

DIEGO VALERIO

Diego Valerio

Ouro DIVISÃO 1, Contador(a)
há 6 anos Segunda-Feira | 17 abril 2017 | 21:15

Estou usando o sistema gratuito de emissão de conhecimento de transporte da SEFAZ do MA, mas a empresa esta em SP.

Quando vou enviar o conhecimento de transporte aparece o seguinte erro, aparentemente é om o java, atualizei e nada;

Alguém pode me ajudar?



Erro insperado



AxisFault
faultCode: {http://www.w3.org/2003/05/soap-envelope}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
at br.gov.sp.fazenda.dsge.ws.ssl.DSGEProtocolSocketFactory.createSocket(DSGEProtocolSocketFactory.java:61)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1349)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at br.gov.sp.fazenda.dsec.ws.recepcao.CteRecepcaoSoapStub.cteRecepcaoLote(CteRecepcaoSoapStub.java:169)
at br.gov.sp.fazenda.dsec.model.business.WSBusiness.recepcao(WSBusiness.java:233)
at br.gov.sp.fazenda.dsec.model.business.WSBusiness.servico(WSBusiness.java:105)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:755)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness$$EnhancerByCGLIB$$7d8f711d.CGLIB$transmitir$1(<generated>)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness$$EnhancerByCGLIB$$7d8f711d$$FastClassByCGLIB$$cac6086b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness$$EnhancerByCGLIB$$7d8f711d.transmitir(<generated>)
at br.gov.sp.fazenda.dsec.model.facade.ConhecimentoTransporteFacade.transmitir(ConhecimentoTransporteFacade.java:109)
at br.gov.sp.fazenda.dsec.controller.EnviarCteController$1.doInBackground(EnviarCteController.java:124)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

{http://xml.apache.org/axis/}hostname:Usuario-PC

java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:301)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at br.gov.sp.fazenda.dsec.ws.recepcao.CteRecepcaoSoapStub.cteRecepcaoLote(CteRecepcaoSoapStub.java:169)
at br.gov.sp.fazenda.dsec.model.business.WSBusiness.recepcao(WSBusiness.java:233)
at br.gov.sp.fazenda.dsec.model.business.WSBusiness.servico(WSBusiness.java:105)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness.transmitir(TransmissorBusiness.java:755)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness$$EnhancerByCGLIB$$7d8f711d.CGLIB$transmitir$1(<generated>)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness$$EnhancerByCGLIB$$7d8f711d$$FastClassByCGLIB$$cac6086b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
at br.gov.sp.fazenda.dsge.model.dao.util.DSGEDAOInterceptorHelper.intercept(DSGEDAOInterceptorHelper.java:55)
at br.gov.sp.fazenda.dsec.model.business.TransmissorBusiness$$EnhancerByCGLIB$$7d8f711d.transmitir(<generated>)
at br.gov.sp.fazenda.dsec.model.facade.ConhecimentoTransporteFacade.transmitir(ConhecimentoTransporteFacade.java:109)
at br.gov.sp.fazenda.dsec.controller.EnviarCteController$1.doInBackground(EnviarCteController.java:124)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at br.gov.sp.fazenda.dsge.ws.ssl.DSGEProtocolSocketFactory.createSocket(DSGEProtocolSocketFactory.java:61)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1349)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
... 26 more


E-mail¹: [email protected] / Skype: diegovalerio101

O Portal Contábeis se isenta de quaisquer responsabilidades civis sobre eventuais discussões dos usuários ou visitantes deste site, nos termos da lei no 5.250/67 e artigos 927 e 931 ambos do novo código civil brasileiro.