Jump to content

dev botao
  • Este tópico foi criado há 200 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Posted

Bom dia, estou usando a implementação da biblioteca ACBrNFe por meio dos pacotes Nuget do .NET. 

Ao utilizar o método StatusServico() essa exceção é gerada: 

 

image.thumb.png.cb1629555082128c7a8282dc68300a8a.png


System.NullReferenceException: Object reference not set to an instance of an object.
   at ACBrLib.Core.DFe.StatusServicoResposta.LerResposta(String resposta)
   at ACBrLib.NFe.ACBrNFe.StatusServico()
   at ErpApi.Repositorios.NFCeRepositorio.EmitirNota(ACBrNFe aCBrNFe, Int32 codigoNota, String leiaute) in C:\Projetos_Clariontec\ERPApi\ErpApi\Repositorios\NFCeRepositorio.cs:line 673
   at ErpApi.Controllers.VendaController.AddVenda(VendaModel venda, String cnpj, ACBrNFe nfe) in C:\Projetos_Clariontec\ERPApi\ErpApi\Controllers\VendaController.cs:line 35

Estou usando a versão mais recente da lib(0.4.6.280), e o pacote ACBrLib.NFeMT(1.0.9). 

Verificando o log da lib, não parece ter ocorrido erro na lib, e sim na implementação dela feita pelo pacote, deixarei o logo da mesma em anexo. 
 

 

Desde já, agradeço a ajuda.

image.png

ACBrLibNFE Demo-20240730.log

  • Este tópico foi criado há 200 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.