Dashboard > CruiseControl.NET Community > CruiseControl.Net Issue? > modifierNotificationTypes Error
modifierNotificationTypes Error Log In | Sign Up   View a printable version of the current page.

Added by Ryan Pyle , last edited by Ryan Pyle on Dec 10, 2007
Labels: 

I recently started working with the 1.3 version. This is a new install, not upgrading. When I try to add the email publisher with the  converters and/or modifierNotificatioinTypes tags I get this error when I try to start the service:

Service cannot be started. ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: Unused node detected: <modifierNotificationTypes><NotificationType>Failed</NotificationType><NotificationType>Fixed</NotificationType></modifierNotificationTypes>
   at ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.WarnOnInvalidNode(InvalidNodeEventArgs args)
   at ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.HandleUnusedNode(InvalidNodeEventArgs args)
   at Exortech.NetReflector.InvalidNodeEventHandler.Invoke(InvalidNodeEventArgs args)
   at Exortech.NetReflector.NetReflectorTypeTable.OnInvalidNode(InvalidNodeEventArgs args)
   at Exortech.NetReflector.XmlTypeSerialiser.ReadMembers(XmlNode node, Object instance, NetReflectorTypeTable table)
   at Exortech.NetReflector.XmlTypeSerialiser.Read(XmlNode node, NetReflectorTypeTable table)
   at Exortech.NetReflector.XmlArraySerialiser.Read(XmlNode node, Type instanceType, NetReflectorTypeTable table)
   at Exortech.NetReflector.XmlMemberSeria

Here is my code for the publishers tag 

        <publishers>
            <xmllogger logDir="C:\Platform\buildlogs" />
            <email from="buildmaster@somecompany.com" mailhost="emailserver.somecompany.com"
                    mailhostUsername="username" mailhostPassword="password" includeDetails="TRUE">

                <users>
                    <user name="name" group="buildmaster" address="name@somecompany.com"/>
                   
                </users>

                <groups>
                    <group name="buildmaster" notification="always"/>
                </groups>
               
                <modifierNotificationTypes>
                   <NotificationType>Failed</NotificationType>
                   <NotificationType>Fixed</NotificationType>
                </modifierNotificationTypes>
            </email>
        </publishers>

I've googled this, but not having any luck finding what's really wrong.  

i am having a the same problem. I installed 1.3 and it won't let me specify a username without an email address set. If I set the email address I get an unused node exception for my converters tag or <modifierNotificationTypes> tag.

I thought this was just be not reading the documentation correctly however now I see you are having the same problem.

I'm having this problem as well.  While trying to fix it I also found that the e-mail address appears to be required for all users that you specify; but when all the addresses are specified the <converters> throws the same error as the <modifierNotificationTypes> did above.

I can't find any bug listed for this, and it's broken for me too.  What's the work around?

I browsed the code. The string ''modifierNotificationTypes'' does not appear anywhere in any file in the entire source distribution.

Browsing the EmailMessage.cs and EmailPublisher.cs files/classes, no concepts akin to what ''converters'' or ''modifierNotificationTypes'' would do seem to exist at all.

Powered by a free Atlassian Confluence Open Source Project License granted to ThoughtWorks, Inc.. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators