Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

MR 2.0 "Object reference not set to an instance of an object"

Posted on by 75

I have been getting the error message above which then crashes both Viewer and Designer, especially when modifying user accounts as well as when trying to modify report library permissions. I cannot find any information about this for this specific scenario and was hoping someone could help identify a resolution. My goal is to upgrade to the newest release of MR 2012. Here is my app log:

Log Name:      Application

Source:        Management Reporter Report Designer

Date:          4/23/2013 12:18:01 PM

Event ID:      0

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      [Computer]

Description:

Timestamp: 4/23/2013 12:18:01 PM

Message: System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.ModifySecurityDialog.ShowPermissions(Item rep)

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.ModifySecurityDialog.repositoryTree_AfterSelect(Object sender, TreeViewEventArgs e)

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.RepositoryTreeView.repositoryTree_AfterSelect(Object sender, TreeViewEventArgs e)

  at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)

  at System.Windows.Forms.TreeView.WmNotify(Message& m)

  at System.Windows.Forms.TreeView.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

  at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.Control.WmNotify(Message& m)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

  at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.TreeView.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

  at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam, IntPtr lparam)

  at System.Windows.Forms.TreeView.set_SelectedNode(TreeNode value)

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.RepositoryTreeView.repositoryTree_MouseDown(Object sender, MouseEventArgs e)

  at System.Windows.Forms.TreeView.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)

  at System.Windows.Forms.TreeView.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

  at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

  at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

  at Microsoft.Dynamics.Performance.Reporting.ReportDesigner.MainToolStripContainer.ReportLibraryPermissionsToolStripMenuItem_Click(Object sender, EventArgs e)

  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

  at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.ToolStrip.WndProc(Message& m)

  at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

  at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()

  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()

  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)

  at Microsoft.Dynamics.Performance.Reporting.ReportDesigner.ReportDesignerMain.Main(String[] commandLine)

Event Xml:

<Event xmlns="schemas.microsoft.com/.../event">

 <System>

   <Provider Name="Management Reporter Report Designer" />

   <EventID Qualifiers="0">0</EventID>

   <Level>2</Level>

   <Task>0</Task>

   <Keywords>0x80000000000000</Keywords>

   <TimeCreated SystemTime="2013-04-23T17:18:01.000000000Z" />

   <EventRecordID>38643</EventRecordID>

   <Channel>Application</Channel>

   <Computer>[Computer]</Computer>

   <Security />

 </System>

 <EventData>

   <Data>

Timestamp: 4/23/2013 12:18:01 PM

Message: System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.ModifySecurityDialog.ShowPermissions(Item rep)

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.ModifySecurityDialog.repositoryTree_AfterSelect(Object sender, TreeViewEventArgs e)

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.RepositoryTreeView.repositoryTree_AfterSelect(Object sender, TreeViewEventArgs e)

  at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)

  at System.Windows.Forms.TreeView.WmNotify(Message& m)

  at System.Windows.Forms.TreeView.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

  at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.Control.WmNotify(Message& m)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

  at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.TreeView.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

  at System.Windows.Forms.Control.SendMessage(Int32 msg, Int32 wparam, IntPtr lparam)

  at System.Windows.Forms.TreeView.set_SelectedNode(TreeNode value)

  at Microsoft.Dynamics.Performance.Reporting.Repository.Client.RepositoryTreeView.repositoryTree_MouseDown(Object sender, MouseEventArgs e)

  at System.Windows.Forms.TreeView.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)

  at System.Windows.Forms.TreeView.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

  at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

  at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

  at Microsoft.Dynamics.Performance.Reporting.ReportDesigner.MainToolStripContainer.ReportLibraryPermissionsToolStripMenuItem_Click(Object sender, EventArgs e)

  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

  at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.ToolStrip.WndProc(Message& m)

  at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

  at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

  at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()

  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()

  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)

  at Microsoft.Dynamics.Performance.Reporting.ReportDesigner.ReportDesignerMain.Main(String[] commandLine)

</Data>

 </EventData>

</Event>

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans