Exception on every UI operation - Sept 15 build

Posts   
 
    
DaveR
User
Posts: 43
Joined: 15-Jun-2004
# Posted on: 24-Sep-2014 14:31:15   

I upgraded to September 15 build and the UI is unusable.

On startup I get an exception (if I ignore it I can load a file). But any time I click on an object in the Project Explorer it gives an exception:

Object reference not set to an instance of an object. LLBLGen Pro version 4.2. Build September 15th, 2014 -----[Core exception]-------------------- at SD.Tools.BCLExtensions.CollectionsRelated.DictionaryExtensionMethods.GetValue[TKey,TValue](Dictionary2 dictionary, TKey key) in c:\Myprojects\VS.NET Projects\BCLExtensions_hg\CollectionsRelated\DictionaryExtensionMethods.cs:line 86 at SD.LLBLGen.Pro.Gui.Classes.GeneralGuiUtils.BuildPluginContextMenu(List1 targetTypes, UICommand parentCommand, Dictionary2 pluginCommandPerPluginId) at SD.LLBLGen.Pro.Gui.Controls.ProjectExplorer.AddRemoveRunPluginCommands(List1 selectedNodeTypes) at SD.LLBLGen.Pro.Gui.Controls.ProjectExplorer.SetContextMenuForSelectedNodes() at SD.LLBLGen.Pro.Gui.Controls.ProjectExplorer._mainTreeView_SelectionsChanged(Object sender, EventArgs e) at SD.LLBLGen.Pro.Gui.Controls.MultiSelectTreeView.ProcessNodeRange(TreeNode startNode, TreeNode endNode, MouseEventArgs e, Keys keys, TreeViewAction tva, Boolean allowStartEdit) at SD.LLBLGen.Pro.Gui.Controls.MultiSelectTreeView.OnMouseDown(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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

In the previous build I also got an exception at startup but it seemed inconsequential. Now, I am stuck.

Any help would be appreciated ASAP as I'd rather not roll back.

DaveR
User
Posts: 43
Joined: 15-Jun-2004
# Posted on: 24-Sep-2014 15:29:33   

FYI, this is the exception that occurs on startup.

Exception information.

LLBLGen Pro version: v4.2. Build: September 15th, 2014

Exception details:

Message: An item with the same key has already been added. Source: mscorlib Stack trace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at SD.LLBLGen.Pro.Gui.Classes.GuiState.InitPluginMenuStructure() at SD.LLBLGen.Pro.Gui.Classes.GuiState.PostProcessPluginLoadAndBind() at SD.LLBLGen.Pro.Gui.Forms.MainWindow.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) 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.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.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)

Inner exception: <null>

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 24-Sep-2014 18:33:55   

Do you use custom plugins or not? The plugin folder of your installation, what files does it contain, could you do a simple dir > file ? It should contain 2 dlls.

Frans Bouma | Lead developer LLBLGen Pro
DaveR
User
Posts: 43
Joined: 15-Jun-2004
# Posted on: 06-Oct-2014 23:33:25   

The plugins folder contains the following files:

09/19/2014 10:52 AM 115,712 SD.LLBLGen.Pro.Importers.dll 09/03/2013 11:32 AM 71,680 SD.LLBLGen.Pro.Importers.NET40.dll 09/03/2013 11:32 AM 126,464 SD.LLBLGen.Pro.Importers.NET40.pdb 09/19/2014 10:52 AM 200,192 SD.LLBLGen.Pro.Importers.pdb 09/19/2014 10:52 AM 61,440 SD.LLBLGen.Pro.Plugins.dll 03/06/2013 10:43 AM 50,688 SD.LLBLGen.Pro.Plugins.pdb

In Preferences the current folder is set as an additional plugins folder, and we do use a custom plugin there. However, even if I remove that DLL, it does not solve the problem.

Note, this started only with the latest build of 4.2; I had no such problems before.

This is a Windows 8 x64 machine.

I installed the same build on a Windows 7 x64 machine, and it works fine. So, for now I am using that computer. Still, I would like to resolve the issue on my Windows 8 computer.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 07-Oct-2014 10:03:47   

DaveR wrote:

The plugins folder contains the following files:

09/19/2014 10:52 AM 115,712 SD.LLBLGen.Pro.Importers.dll 09/03/2013 11:32 AM 71,680 SD.LLBLGen.Pro.Importers.NET40.dll 09/03/2013 11:32 AM 126,464 SD.LLBLGen.Pro.Importers.NET40.pdb 09/19/2014 10:52 AM 200,192 SD.LLBLGen.Pro.Importers.pdb 09/19/2014 10:52 AM 61,440 SD.LLBLGen.Pro.Plugins.dll 03/06/2013 10:43 AM 50,688 SD.LLBLGen.Pro.Plugins.pdb

In Preferences the current folder is set as an additional plugins folder, and we do use a custom plugin there. However, even if I remove that DLL, it does not solve the problem.

Note, this started only with the latest build of 4.2; I had no such problems before.

This is a Windows 8 x64 machine.

I installed the same build on a Windows 7 x64 machine, and it works fine. So, for now I am using that computer. Still, I would like to resolve the issue on my Windows 8 computer.

I use windows 8, so that's not it. Btw, please remove: 09/03/2013 11:32 AM 71,680 SD.LLBLGen.Pro.Importers.NET40.dll 09/03/2013 11:32 AM 126,464 SD.LLBLGen.Pro.Importers.NET40.pdb

as that dll has no meaning in v4.2 I think that dll is the cause.

Frans Bouma | Lead developer LLBLGen Pro
DaveR
User
Posts: 43
Joined: 15-Jun-2004
# Posted on: 30-Oct-2014 22:36:26   

Afraid removing these files did not solve the issue. I still cannot run LLBLGen 4.2 on this machine.

I will try uninstall/reinstall next, but since I have it working on a Windows 7 machine it is not urgent at this time.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 31-Oct-2014 10:29:57   

very strange! If you can't get it sorted, please let us know, I'll then send you a debug build which will try to display what's being added multiple times.

Frans Bouma | Lead developer LLBLGen Pro