>>>> I have a wpf application, and when exiting I always get a debug output: >>>> A first chance exception of type 'System.NullReferenceException' >>>> occurred in FirebirdSql.Data.FirebirdClient.dll >>>> Firebird 2.5, Firebird Client 3.0.2.0, Runtime v4.0.30319 I havn?t >>>> been able to track down a cause for this. Any clues? >> >>> Did you try to running it under a debugger with >>> FirebirdSql.Data.FirebirdClient.pdb in the same directory of the DLL? It >>> might help you trace the origin of the null reference. >> >> >> I have the pdb-file placed in [program files]\FirebirdClient\ directory >> which is the same directory where I reference the dll. >> I never paid attention to symbol loading at debugging so I cant really say >> if it is loaded or not (I think not). >> Tried to point it out in VS and load it explicitly and disable the "Just my >> code" debugger option but no difference.
>Place de pdb in the same directory of your .exe. >Anyway, did you see the call stack as Jiri said? No call stack available, but I solved it by exiting a bit more gracefully, implementing IDisposable in the object holding the connection and within it closing and disposing the connection. So I am fine for now. /Martin ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider