>>> 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? ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider