Skip to content

型 'System.NullReferenceException' の初回例外が Microsoft.VisualStudio.Data.Package.dll で発生しました件

kenjiuno edited this page Aug 11, 2015 · 2 revisions
結論
using Microsoft.VisualStudio.Data
↓
using Microsoft.VisualStudio.Data.Framework
型 'System.NullReferenceException' の初回例外が Microsoft.VisualStudio.Data.Package.dll で発生しました
>	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerConnection.ViewSupport.get()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerConnection.InitializeModel()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerConnection.CurrentViewIndex.get()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerConnection.Hierarchy.CurrentView.get()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerConnectionNode.RetrieveViewCommonNodeInfo()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerNode.ViewCommonNodeInfo.get()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerConnectionNode.GetRawCaption(out int displayNameInfoIndex)	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerNode.RawCaption.get()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerNode.Caption.get()	不明
 	Microsoft.VisualStudio.Data.Package.dll!Microsoft.VisualStudio.Data.Package.DataExplorerConnection.DisplayName.get()	不明
 	Microsoft.VisualStudio.ServerExplorer.dll!Microsoft.VSDesigner.ServerExplorer.DataViewNode.Label.get()	不明
 	Microsoft.VisualStudio.ServerExplorer.dll!Microsoft.VSDesigner.ServerExplorer.DataConnectionsNode.AddConnection(string connectionName, System.Guid provider, string connectionString, bool encryptedString, bool isIDEManaged)	不明
 	Microsoft.VisualStudio.ServerExplorer.dll!Microsoft.VSDesigner.ServerExplorer.DataConnectionsNode.PromptAndAddConnection(EnvDTE.Project project, System.Guid initialSource, System.Guid fixedProvider)	不明
 	Microsoft.VisualStudio.ServerExplorer.dll!Microsoft.VSDesigner.ServerExplorer.DataConnectionsNode.PromptAndAddConnection(EnvDTE.Project project)	不明
 	Microsoft.VisualStudio.ServerExplorer.dll!Microsoft.VSDesigner.ServerExplorer.DataConnectionsNode.PromptAndAddConnection()	不明
 	Microsoft.VisualStudio.ServerExplorer.dll!Microsoft.VSDesigner.ServerExplorer.ServerExplorerMenus.OnMenuAddConnection(object sender, System.EventArgs eevent)	不明
 	System.dll!System.ComponentModel.Design.MenuCommand.Invoke()	不明
 	System.dll!System.ComponentModel.Design.MenuCommand.Invoke(object arg)	不明
 	Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.VisualStudio.Shell.OleMenuCommandService.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid commandGroup, uint nCmdId, uint nCmdExcept, System.IntPtr pIn, System.IntPtr vOut)	不明
 	Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(ref System.Guid guidGroup, uint nCmdId, uint nCmdExcept, System.IntPtr pIn, System.IntPtr vOut)	不明
 	[ネイティブからマネージへの移行]	
 	[マネージからネイティブへの移行]	
 	Microsoft.VisualStudio.Shell.14.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(string verb, object pvaIn, out object pvaOut)	不明
 	Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(object parameter)	不明
 	PresentationFramework.dll!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource commandSource, bool userInitiated)	不明
 	PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnClick()	不明
 	PresentationFramework.dll!System.Windows.Controls.Button.OnClick()	不明
 	PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)	不明
 	PresentationCore.dll!System.Windows.UIElement.OnMouseLeftButtonUpThunk(object sender, System.Windows.Input.MouseButtonEventArgs e)	不明
 	PresentationCore.dll!System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate genericHandler, object genericTarget)	不明
 	PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target)	不明
 	PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs)	不明
 	PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised)	不明
 	PresentationCore.dll!System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args, System.Windows.RoutedEvent newEvent)	不明
 	PresentationCore.dll!System.Windows.UIElement.OnMouseUpThunk(object sender, System.Windows.Input.MouseButtonEventArgs e)	不明
 	PresentationCore.dll!System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate genericHandler, object genericTarget)	不明
 	PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target)	不明
 	PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs)	不明
 	PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised)	不明
 	PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender, System.Windows.RoutedEventArgs args)	不明
 	PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args)	不明
 	PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea()	不明
 	PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input)	不明
 	PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport)	不明
 	PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel)	不明
 	PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd, MS.Internal.Interop.WindowMessage msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled)	不明
 	PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled)	不明
 	WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled)	不明
 	WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o)	不明
 	WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs)	不明
 	WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler)	不明
 	WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs)	不明
 	WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam)	不明