I'm pretty sure it is because some of those items you've got in your configuration have a empty XML element value, the facility uses the XML element's value not a "value" attribute. If you look at the example configuration on the page I linked to in my previous reply you'll see the items it defines as an example.
https://github.com/castleprojectcontrib/QuartzNetIntegration/blob/master/QuartzNetIntegration/QuartzFacility.cs#L90 On Wed, May 14, 2014 at 6:04 PM, Edwin Vliet <[email protected]>wrote: > Stacktrace: > > at Quartz.Impl.StdSchedulerFactory.Instantiate() in > c:\Work\OpenSource\Quartz.NET\quartznet\src\Quartz\Impl\StdSchedulerFactory.cs:line > 748 > at Quartz.Impl.StdSchedulerFactory.GetScheduler() in > c:\Work\OpenSource\Quartz.NET\quartznet\src\Quartz\Impl\StdSchedulerFactory.cs:line > 1118 > at > Castle.Facilities.QuartzIntegration.QuartzNetScheduler..ctor(IDictionary`2 > props, IJobFactory jobFactory, IKernel kernel) in > g:\prg\QuartzNetIntegration.gitsvn\QuartzNetIntegration\QuartzNetIntegration\QuartzNetScheduler.cs:line > 38 > > > > This is the full configuration for Castle. > > <castle> > <facilities> > <facility id="startable.facility" > type="Castle.Facilities.Startable.StartableFacility, > Castle.Windsor" /> > <facility id="quartznet" > type="Castle.Facilities.QuartzIntegration.QuartzFacility, > Castle.Facilities.QuartzIntegration"> > <schedulerListeners> > <listener>${schedulerListener}</listener> > </schedulerListeners> > <jobListeners> > <job name="defaultJob"> > <listener>${jobListener}</listener> > </job> > </jobListeners> > <triggerListeners> > <trigger name="defaultTrigger"> > <listener>${triggerListener}</listener> > </trigger> > </triggerListeners> > <quartz> > <add key="quartz.scheduler.instanceName" value="QuartzScheduler" /> > <add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, > Quartz"> > <add key="quartz.threadPool.threadCount">5</add> > <add key="quartz.threadPool.threadPriority">2</add> > <add key="quartz.jobStore.misfireThreshold">60000</add> > <add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, Quartz"/> > <add key="quartz.plugin.xml.type" > value="Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin, > Quartz" /> > <add key="quartz.plugin.xml.fileNames" value="~/quartz_jobs.xml" /> > <add key="quartz.plugin.xml.ScanInterval">10</add> > </quartz> > </facility> > </facilities> > <components> > <component id="jobListener" > type="HelpLine.Application.WebAPI.Quartz.SampleJobListener, > HelpLine.Application.WebAPI" /> > <component id="triggerListener" > type="HelpLine.Application.WebAPI.Quartz.SampleTriggerListener, > HelpLine.Application.WebAPI" /> > <component id="schedulerListener" > type="HelpLine.Application.WebAPI.Quartz.SampleSchedulerListener, > HelpLine.Application.WebAPI" /> > </components> > </castle> > > > > > Op woensdag 14 mei 2014 09:24:03 UTC+2 schreef Jonathon Rossi: > >> Do you have a full stack trace of where that exception is being thrown? >> >> I thought the Quartz.NET Windsor facility required those configuration >> items to be set under the facility element in your configuration file. i.e. >> like the docs: http://docs.castleproject.org/Contrib. >> Quartz-Net-integration.ashx >> >> On Wed, May 14, 2014 at 5:13 PM, Edwin Vliet <[email protected]>wrote: >> >>> I'm trying to integrate Quartz in Castle Windsor. I'm using Quartz >>> 2.2.3. and Windsor.QuartzIntegration 0.3.1. >>> Windsor is version 3.2.1. >>> But I'm getting the following error. >>> >>> An exception of type 'Quartz.SchedulerException' occurred in >>> Quartz.dll but was not handled in user code >>> Additional information: SchedulerPlugin of type '' could not be >>> instantiated. >>> >>> InnerException: >>> Cannot instantiate null >>> Parameter name: type >>> >>> I have already tried for over a day to solve this issue, but I don't >>> have a clue how to fix this anymore. Does anyone have a solution for this >>> problem? >>> >>> Quartz config >>> >>> <quartz> >>> <add key="quartz.scheduler.instanceName"> >>> XmlConfiguredInstance</add> >>> <add key="quartz.threadPool.type" >>> value="Quartz.Simpl.SimpleThreadPool, >>> Quartz" /> >>> <add key="quartz.threadPool.threadCount">5</add> >>> <add key="quartz.threadPool.threadPriority">2</add> >>> <add key="quartz.jobStore.misfireThreshold">60000</add> >>> <add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, >>> Quartz" /> >>> <add key="quartz.plugin.xml.type" value="Quartz.Plugin.Xml. >>> XMLSchedulingDataProcessorPlugin, Quartz" /> >>> <add key="quartz.plugin.xml.fileNames" value="~/quartz_jobs.xml" >>> /> >>> <add key="quartz.plugin.xml.ScanInterval">10</add> >>> </quartz> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Castle Project Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at http://groups.google.com/group/castle-project-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Jono >> > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected] > . > Visit this group at http://groups.google.com/group/castle-project-users. > For more options, visit https://groups.google.com/d/optout. > -- Jono -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/castle-project-users. For more options, visit https://groups.google.com/d/optout.
