Issue Details (XML | Word | Printable)

Key: QRTZNET-123
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Marko Lahma
Reporter: Phil Hunt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Quartz.NET

QuartzSchedulerThread Log property is null.

Created: 29/Aug/08 04:05 PM   Updated: 30/Aug/08 08:05 AM
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.0 RC 3

Environment: Windows XP, VS.NET 2008, .NET 3.5

Flags: Patch


 Description  « Hide
The Log property of QuartzSchedulerThread is null in most (if not all) situations I have tried. The problem seems to be that QuartzSchedulerThread() constructor is never called. Instead the child class QuartzThread constructors are called by the framework. The fix is to have QuartzSchedulerThread expose the same constructors as QuartzThread to assure that every instantiation of QuartzSchedulerThread creates the readonly log object.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Marko Lahma added a comment - 30/Aug/08 07:10 AM
Thanks for reporting this. Fixed by removing unused constructor and initializing log in used constructor.