gregoriusxu / booksleeve

Automatically exported from code.google.com/p/booksleeve
Other
0 stars 0 forks source link

Null Reference Exception #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running Redis as an simple session store in a Nancy App

Can't give better info, but I use a Redis Connection and expect to get a chance 
to catch exceptions happening.  Instead it throws a NullReferenceException with 
the following stack trace:

   at BookSleeve.RedisConnection.SetKeepAlive(Int32 seconds) in d:\Dev\BookSleeve\BookSleeve\RedisConnection.cs:line 114
   at BookSleeve.RedisConnection.<OnInitConnection>b__3d(Task`1 x) in d:\Dev\BookSleeve\BookSleeve\RedisConnection.cs:line 226
   at System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Win7 (VMWare VM in Linux)

Original issue reported on code.google.com by cpf...@valetude.com on 27 Feb 2014 at 7:54