Strataflix demo error


Author
Message
Mike Tomlin
Mike Tomlin
StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)
Group: StrataFrame Users
Posts: 23, Visits: 5.8K
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.

System.NullReferenceException was unhandled by user code
  Message="Object reference not set to an instance of an object."
  Source="MicroFour StrataFrame Business"
  StackTrace:
       at MicroFour.StrataFrame.Business.BusinessBindingSource.BusinessObject_InternalAfterAddNew(EventArgs e)
       at MicroFour.StrataFrame.Business.BusinessLayer.raise_AfterAddNew(EventArgs e)
       at MicroFour.StrataFrame.Business.BusinessLayer.OnAfterAddNew(EventArgs e)
       at MicroFour.StrataFrame.Business.BusinessLayer.NewRow()
       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
       at StrataFlix.MovieMaintenance.action_PrintProfile_Click() in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix\Dialogs\Maintenance\Movie Maintenance\MovieMaintenance.vb:line 39
       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
       at StrataFlix.UI.Windows.Forms.ActionLinkMenuItem.OnClick() in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix.UI\Items and Collections\ActionLinkMenuItem.vb:line 106
       at StrataFlix.FlixMain.tlmActions_ItemClicked(Object sender, ThemedLinkMenuClickEventArgs e) in C:\Program Files\MicroFour\StrataFlix\VB.NET\StrataFlix\FlixMain.vb:line 16
       at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.InvokeItemClicked(Object sender, ThemedLinkMenuClickEventArgs e)
       at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.OnItemClicked(Object sender, ThemedLinkMenuClickEventArgs e)
       at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.HandleMouseUp(MouseEventArgs e, ThemedLinkMenuItemCollection Items)
       at MicroFour.StrataFrame.UI.Windows.Forms.ThemedLinkMenu.ThemedLinkMenu_MouseUp(Object sender, MouseEventArgs e)
       at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
       at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  InnerException:

Replies
Mike Tomlin
Mike Tomlin
StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)
Group: StrataFrame Users
Posts: 23, Visits: 5.8K
Hi Trent, yes to both of those. The project builds and runs fine it's just this one issue I've come across.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
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.  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.  Put a breakpoint there and see what is giving the NULL reference.  I imagine that it has something to do with the default values or something along those lines.  If you do this then it will at least give us a clue as to what is going on within your environment.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search