﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Strataflix demo error</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:29:14 GMT</lastBuildDate><ttl>20</ttl><item><title>Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21898.aspx</link><description>A small error on the latest version. When in the Movies Database Maintenance form if you click the Print Movie Profile it bombs out with an error.&lt;/P&gt;&lt;P&gt;System.NullReferenceException was unhandled by user code&lt;BR&gt;&amp;nbsp; Message="Object reference not set to an instance of an object."&lt;BR&gt;&amp;nbsp; Source="MicroFour StrataFrame Business"&lt;BR&gt;&amp;nbsp; StackTrace:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessBindingSource.BusinessObject_InternalAfterAddNew(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.raise_AfterAddNew(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.OnAfterAddNew(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.NewRow()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at StrataFlix.Reporting.Reports.MovieProfile.MovieProfileDataSource.PopulateDefinedDataSource(Int32 moviePk, Boolean includeMovieRecord) in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix.Reporting\Reports\Movie Profile Report\MovieProfileDataSource.vb:line 70&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at StrataFlix.MovieMaintenance.action_PrintProfile_Click() in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix\Dialogs\Maintenance\Movie Maintenance\MovieMaintenance.vb:line 39&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at StrataFlix.UI.Windows.Forms.ActionLinkMenuItem.raise_Click() in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix.UI\Items and Collections\ActionLinkMenuItem.vb:line 61&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at StrataFlix.UI.Windows.Forms.ActionLinkMenuItem.OnClick() in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix.UI\Items and Collections\ActionLinkMenuItem.vb:line 106&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at StrataFlix.FlixMain.tlmActions_ItemClicked(Object sender, ThemedLinkMenuClickEventArgs e) in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix\FlixMain.vb:line 16&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.InvokeItemClicked(Object sender, ThemedLinkMenuClickEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.OnItemClicked(Object sender, ThemedLinkMenuClickEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.HandleMouseUp(MouseEventArgs e, ThemedLinkMenuItemCollection Items)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.ThemedLinkMenu_MouseUp(Object sender, MouseEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ScrollableControl.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ContainerControl.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.UserControl.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;BR&gt;&amp;nbsp; InnerException: &lt;BR&gt;</description><pubDate>Thu, 12 Feb 2009 14:02:07 GMT</pubDate><dc:creator>Mike Tomlin</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21947.aspx</link><description>The code is creating an image row to the BO (and not updating the server) if an image has not been assigned to the movie. This way the default image will be shown on the report.&amp;nbsp; So either the resource has been removed or you have some versions out of sync.&amp;nbsp; This particular code actually has nothing to do with any data going back to the server. A row is added and then the changes are accepted so that the server is not updated.&amp;nbsp; So this is all happening client side.</description><pubDate>Thu, 12 Feb 2009 14:02:07 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21924.aspx</link><description>I'm not up to speed enough on .Net to work this one out on my own - the error is around the creating of a blank image record -is the movie images table&amp;nbsp;expecting some data in a new row that isn't null, as this seems to be creating a new row but not assigning any data to it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-- If an image wasn't return, create an image record within the report data sources&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;nbsp;&amp;nbsp; so one will print.&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Me.DataSource.SourceBO.MovieImages.SourceBO.Count = 0 Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.DataSource.SourceBO.MovieImages.SourceBO.ParentBusinessObject = Me.DataSource.SourceBO&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.DataSource.SourceBO.MovieImages.SourceBO.NewRow()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.DataSource.SourceBO.MovieImages.SourceBO.CurrentDataTable.AcceptChanges()</description><pubDate>Thu, 12 Feb 2009 05:56:26 GMT</pubDate><dc:creator>Mike Tomlin</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21913.aspx</link><description>Mike, the good news is that I have loaded this on several fresh machines (Virtual machines and a new laptop) and it is working properly.&amp;nbsp; However, if you look at the line of code it is failing on, it is in the reporting assembly in the MoveiProfileDataSource class on line 70.&amp;nbsp; Put a breakpoint there and see what is giving the NULL reference.&amp;nbsp; I imagine that it has something to do with the default values or something along those lines.&amp;nbsp; If you do this then it will at least give us a clue as to what is going on within your environment.</description><pubDate>Wed, 11 Feb 2009 09:07:51 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21912.aspx</link><description>Hi Trent, yes to both of those. The project builds and runs fine it's just this one issue I've come across.</description><pubDate>Wed, 11 Feb 2009 09:00:34 GMT</pubDate><dc:creator>Mike Tomlin</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21908.aspx</link><description>When you refer to latest version, are you getting the most recent version from here: &lt;A href="http://forum.strataframe.net/FindPost21599.aspx"&gt;http://forum.strataframe.net/FindPost21599.aspx&lt;/A&gt;&amp;nbsp;.&amp;nbsp; Also, if you did, you will need to be on the most recetn beta as well.</description><pubDate>Wed, 11 Feb 2009 08:38:59 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21907.aspx</link><description>That's a good point. I've just tried that but no joy.</description><pubDate>Wed, 11 Feb 2009 08:17:59 GMT</pubDate><dc:creator>Mike Tomlin</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21906.aspx</link><description>Humm, one question, before unzipping the source, did you detach the StrataFilx database to allow the one in the update to be unzipped?</description><pubDate>Wed, 11 Feb 2009 07:19:26 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21905.aspx</link><description>Odd, I made sure I had the latest version and tried it on my second machine - same error.</description><pubDate>Wed, 11 Feb 2009 04:27:54 GMT</pubDate><dc:creator>Mike Tomlin</dc:creator></item><item><title>RE: Strataflix demo error</title><link>http://forum.strataframe.net/FindPost21901.aspx</link><description>Hi Mike,&lt;/P&gt;&lt;P&gt;Make sure you have the latest StrataFlix source code here &lt;A href="http://forum.strataframe.net/FindPost21599.aspx"&gt;http://forum.strataframe.net/FindPost21599.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I tested it and does not have the error you reported.</description><pubDate>Tue, 10 Feb 2009 13:15:17 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>