Crash when using Advert Pattern Wizzard

You have a question or need an advice about how to do something? Ask it here!
Post Reply
andrerotgans
Posts: 192
Joined: 27 Nov 2012 13:23
Crash when using Advert Pattern Wizzard

Post by andrerotgans »

Hi,

I'm trying to use the Advert Pattern Wizard to generate some advert overlays. However it keeps getting me this error :

********** Error/Exception Information **********
Error Message: 20130205_0015 heeft een ongeldig token.
Error Type: System.Xml.XPath.XPathException
Error Source: System.Xml.MS.Internal.Xml.XPath.AstNode ParseXPathExpresion(System.String)
********** System Stack Trace **********
bij MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion)
bij System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver)
bij System.Xml.XPath.XPathNavigator.Select(String xpath)
bij System.Xml.XmlNode.SelectNodes(String xpath)
bij System.Xml.XmlNode.SelectSingleNode(String xpath)
bij ProppFrexx.af.a(String A_0, String A_1, Object A_2)
bij ProppFrexx.Advertising.g.b(String A_0)
bij ProppFrexx.Advertising.g.c()
bij ProppFrexx.Advertising.g.a(Object A_0, CancelEventArgs A_1)
bij DevExpress.XtraWizard.WizardControl.RaiseFinishClick()
bij DevExpress.XtraWizard.WizardControl.OnFinishButtonClick(Object sender, EventArgs e)
bij System.Windows.Forms.Control.OnClick(EventArgs e)
bij DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
bij DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
bij DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

********** End **********


Any idea ? I can get you more details of what I'm doing (overlay every 30 minutes, allow an early start of 120secs, using a begin ID and an end ID, nothing fancy)

Kind regards,

André
User avatar
radio42
Site Admin
Posts: 8328
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Crash when using Advert Pattern Wizzard

Post by radio42 »

The issue is now fixed in the new v3.0.11.31!
User avatar
radio42
Site Admin
Posts: 8328
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Crash when using Advert Pattern Wizzard

Post by radio42 »

That probably looks like you might have used a illegal character within your Slot-Name ("20130205_0015").
E.g. a slot name should not directly start with a number, but with a character 'A'-'Z' or 'a'-'z' or the character '_'.

As far as I can see, there is an additional check in my code missing to validate this!
What you can do to resolve/workaround this bug, is to use an appropriate 'Prefix' within the Advert Pattern Wizard.
E.g. prefix the overlay/slot name with for example: "ADD_".

However, I'll add an adidtional check in the next version!
andrerotgans
Posts: 192
Joined: 27 Nov 2012 13:23
Re: Crash when using Advert Pattern Wizzard

Post by andrerotgans »

Hi Bernd,

Thanks, using a prefix did indeed do the job !

André
User avatar
radio42
Site Admin
Posts: 8328
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Crash when using Advert Pattern Wizzard

Post by radio42 »

Note, that the bug itself is also fixed in the latest v3.0.11.31.
Sa such even not using any 'Prefix' will now work as expected.

Post Reply