we sometimes have a problem when saving the docx document. This problem occurs when using a Win7 computer and we don't reproduce it on Win10. We don't encounter this problem very often and we don't know from where it came.
You will find below the error message we have.
I hope you'll be able to find where dies this problem came.
Thanks by advance for your help.
- Code: Select all
L'invocation de la méthode <SauvegarderSpiDoc()> du type <Void> a échoué
Le framework .NET a renvoyé l'erreur suivante :
La référence d'objet n'est pas définie à une instance d'un objet.
Code erreur : 200002
Niveau : erreur fatale
Module : 'wd250net4_64.dll (01F250090f - 25.0.329.0)
Identifiant des informations détaillées (.err) : 200002
Informations de débogage :
System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. --->
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à spr?.?()
à spr?.?(RectangleF A_0)
à spr?.?(spr? A_0)
à spr?.?(RectangleF A_0)
à spr?.?(spr? A_0)
à spr?.?(RectangleF A_0)
à spr?.?(spr? A_0)
à spr?.?(RectangleF A_0)
à spr?.?(spr? A_0, spr? A_1, spr? A_2)
à spr?.?()
à spr?.?()
à spr?.?(Document A_0)
à Spire.Doc.Document.?()
à Spire.Doc.Document.?()
à Spire.Doc.Document.SaveToFile(String fileName, FileFormat fileFormat)
à OpenXML_Word.DocxDoc.SauvegarderSpiDoc()
--- Fin de la trace de la pile d'exception interne ---
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
à CDotNetMethod.bInvoke(Char* pszTypeName, Char* pszMethodName, Char* pszParameters, MethodInfo gcMethod, Object gcObj, CSLevel* pclPile, Int32 nNbParamPile, Int32 bValeurRetour, STOperationDotNet* pstOperation)