#123 Object reference not set to instance of an object

open
nobody
None
5
2007-08-21
2007-08-21
No

This is with the release version 6.3.

2 problems found with null reference exceptions in EventEmitter.cs

1) On or around line 382:
if (checkEntry.Recurrence.Value.Contains(ruleString))

checkEntry.Recurrence is / was null (even though it was marked as recurring above)

I updated my code to read:
if (checkEntry.Recurrence != null && checkEntry.Recurrence.Value.Contains(ruleString))

2) On or around line 411:
Stream receiver = e.Response.Response.GetResponseStream() ;

e.Response is / was null. I updated my code to read:

Stream receiver = (e.Response != null ? e.Response.GetResponseStream() : null);

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks