Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> Exception on every UI operation - Sept 15 build
 

Pages: 1
Bugs & Issues
Exception on every UI operation - Sept 15 build
Page:1/1 

  Print all messages in this thread  
Poster Message
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# 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](Dictionary`2 dictionary, TKey key) in c:\Myprojects\VS.NET Projects\BCLExtensions_hg\CollectionsRelated\DictionaryExtensionMethods.cs:line 86
at SD.LLBLGen.Pro.Gui.Classes.GeneralGuiUtils.BuildPluginContextMenu(List`1 targetTypes, UICommand parentCommand, Dictionary`2 pluginCommandPerPluginId)
at SD.LLBLGen.Pro.Gui.Controls.ProjectExplorer.AddRemoveRunPluginCommands(List`1 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.
  Top
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# 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>


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37805 posts
# 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
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# 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.


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37805 posts
# 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
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# 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.


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37805 posts
# 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
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.