Boa Tarde,
Tenho um cliente que a partir de ontem deixou de conseguir enviar faturação eletrónica. Já estivemos a analisar e encontrámos algumas coisas, nomeadamente:
Event Viewer
Application: mmc.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at Primavera.EDI100.Property.EDISchedulePropertyPageControl.CmbEmpresas_SelectedIndexChanged(System.Object, System.EventArgs) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(System.EventArgs) at System.Windows.Forms.ComboBox.WmReflectCommand(System.Windows.Forms.Message ByRef) at System.Windows.Forms.ComboBox.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef) at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef) at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr) Exception Info: System.Reflection.TargetInvocationException at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.OnThreadException(System.Object, System.Threading.ThreadExceptionEventArgs) at System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception) at System.Windows.Forms.Control.WndProcException(System.Exception) at System.Windows.Forms.Control+ControlNativeWindow.OnThreadException(System.Exception) at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
Ativando os logs da Primavera, descobrimos vários destes registos:
Can’t locate PreencheBEO in the form: frmStdBaseCustomForm
Tirando isso, o log parece-nos correto, inclusive, verificamos que o XML é totalmente construído e validado com o XSD