taylorjonl / slimtune

Automatically exported from code.google.com/p/slimtune
MIT License
1 stars 0 forks source link

An exception still occurs when opening performance counter visualizer with a 0.1.5 profile #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a v0.1.5 mssql profile
2. Open the Performance Counters visualizer

What is the expected output? What do you see instead?
I see a dialog box saying "This connection doesn't have performance counter 
data", as expected. However, after a second or so (even if I don't close the 
message box), an exception dialog appears saying "The specified table does 
not exist. [ Counters ]" with no stack trace.

What version of the product are you using? On what operating system?
0.2.0 backend, r168 UI, 0.1.5 profile, Win7

Original issue reported on code.google.com by tristanl...@gmail.com on 21 Feb 2010 at 1:55

GoogleCodeExporter commented 8 years ago
I'm unable to repro this error...

Original comment by promit....@gmail.com on 21 Feb 2010 at 3:31

GoogleCodeExporter commented 8 years ago
Here's your call stack:

    System.Data.SqlServerCe.dll!System.Data.SqlServerCe.SqlCeCommand.CompileQueryPlan() + 0x24b bytes   
    System.Data.SqlServerCe.dll!System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(System.Data.CommandBehavior behavior = SequentialAccess, string method, System.Data.SqlServerCe.ResultSetOptions 
options) + 0x23c bytes  
    System.Data.SqlServerCe.dll!System.Data.SqlServerCe.SqlCeCommand.ExecuteReader(System.Data.CommandBehavior behavior) + 0x16 bytes   
    System.Data.SqlServerCe.dll!System.Data.SqlServerCe.SqlCeCommand.ExecuteDbDataReader(System.Data.CommandBehavior behavior) + 0x5 bytes  
    System.Data.dll!System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(System.Data.CommandBehavior behavior) + 0xb bytes 
    System.Data.dll!System.Data.Common.DbDataAdapter.FillInternal(System.Data.DataSet dataset = {System.Data.DataSet}, System.Data.DataTable[] datatables = null, int startRecord = 0, int maxRecords 
= 0, string srcTable = "Query", System.Data.IDbCommand command = 
{System.Data.SqlServerCe.SqlCeCommand}, System.Data.CommandBehavior behavior) + 
0x83 bytes  
    System.Data.dll!System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet dataSet, int startRecord, int maxRecords, string srcTable, System.Data.IDbCommand command, System.Data.CommandBehavior 
behavior) + 0x120 bytes 
    System.Data.dll!System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet dataSet, string srcTable) + 0x5d bytes    
    SlimTuneUI.exe!SlimTuneUI.SqlServerCompactEngine.Query(string query = "\r\nSELECT *\r\nFROM Counters\r\nORDER BY Id\r\n") Line 244 + 0x13 bytes C#
>   CoreVis.dll!SlimTuneUI.CoreVis.CounterGraph.UpdateCounters() Line 97 + 0x28 
bytes   C#
    CoreVis.dll!SlimTuneUI.CoreVis.CounterGraph.m_refreshTimer_Tick(object sender = {Interval = 1000}, System.EventArgs e = {System.EventArgs}) Line 187 + 0x8 bytes    C#
    System.Windows.Forms.dll!System.Windows.Forms.Timer.OnTick(System.EventArgs e) + 0x17 bytes 
    System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x34 bytes  
    System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 275, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes   
    [Native to Managed Transition]  
    [Managed to Native Transition]  
    System.Windows.Forms.dll!System.Windows.Forms.MessageBox.ShowCore(System.Windows.Forms.IWin32Window owner = null, string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, 
System.Windows.Forms.MessageBoxIcon icon, 
System.Windows.Forms.MessageBoxDefaultButton defaultButton, 
System.Windows.Forms.MessageBoxOptions options, bool showHelp) + 0x220 bytes    
    System.Windows.Forms.dll!System.Windows.Forms.MessageBox.Show(string text, string caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) + 0x18 bytes   
    CoreVis.dll!SlimTuneUI.CoreVis.CounterGraph.Initialize(UICore.ProfilerWindowBase mainWindow = {SlimTuneUI.ProfilerWindow, Text: profile3.sdf (SQL Server Compact)}, UICore.Connection connection = 
{UICore.Connection}) Line 70 + 0x15 bytes   C#
    SlimTuneUI.exe!SlimTuneUI.ProfilerWindow.AddVisualizer(System.Type visType = {Name = "CounterGraph" FullName = "SlimTuneUI.CoreVis.CounterGraph"}) Line 143 + 0x26 bytes    C#
    SlimTuneUI.exe!SlimTuneUI.ProfilerWindow.m_openVisualizerButton_Click(object sender = {Text = "Open Visualizer"}, System.EventArgs e = {X = 66 Y = 13 Button = Left}) Line 136 + 0x1e bytes C#
    System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x70 bytes  
    System.Windows.Forms.dll!System.Windows.Forms.Button.OnClick(System.EventArgs e) + 0x4a bytes   
    System.Windows.Forms.dll!System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs mevent = {X = 66 Y = 13 Button = Left}) + 0xac bytes 
    System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseUp(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) + 0x28f bytes 
    System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x885 bytes 
    System.Windows.Forms.dll!System.Windows.Forms.ButtonBase.WndProc(ref System.Windows.Forms.Message m) + 0x127 bytes  
    System.Windows.Forms.dll!System.Windows.Forms.Button.WndProc(ref System.Windows.Forms.Message m) + 0x20 bytes   
    System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes    
    System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes  
    System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 514, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes   
    [Native to Managed Transition]  
    [Managed to Native Transition]  
    System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(int dwComponentID, int reason = -1, int 
pvLoopData = 0) + 0x24e bytes   
    System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = 
{System.Windows.Forms.ApplicationContext}) + 0x177 bytes    
    System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x61 bytes    
    System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) + 0x31 bytes  
    SlimTuneUI.exe!SlimTuneUI.Program.Main() Line 41 + 0x1d bytes   C#

Original comment by tristanl...@gmail.com on 21 Feb 2010 at 1:47

GoogleCodeExporter commented 8 years ago
Ok, this is actually due to an SVN mistake -- I didn't check in the updated 
Designer
file. Should go away with the next UI commit.

Original comment by promit....@gmail.com on 21 Feb 2010 at 6:58

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r173.

Original comment by promit....@gmail.com on 21 Feb 2010 at 11:21