.NET unhandled exception for imageglass.exe?

67 views
Skip to first unread message

sgal...@gmail.com

unread,
Sep 18, 2018, 1:41:46 PM9/18/18
to ImageGlass Community
Whenever I run ImageGlass.exe (any newer version including the latest) I get this.  How do I fix this?

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at ImageGlass.Theme.Theme.LoadTheme(String file)
   at igcmd.frmFirstLaunch.LoadThemeList()
   at igcmd.frmFirstLaunch.frmFirstLaunch_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.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.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
igcmd
    Assembly Version: 5.5.6778.38272
    Win32 Version: 5.5.6778.38272
    CodeBase: file:///C:/Apps/ImageGlass/igcmd.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ImageGlass.Services
    Assembly Version: 5.5.6778.38272
    Win32 Version: 5.5.6778.38272
    CodeBase: file:///C:/Apps/ImageGlass/ImageGlass.Services.DLL
----------------------------------------
ImageGlass.Library
    Assembly Version: 5.5.6778.38271
    Win32 Version: 5.5.6778.38271
    CodeBase: file:///C:/Apps/ImageGlass/ImageGlass.Library.DLL
----------------------------------------
ImageGlass.Core
    Assembly Version: 5.5.6778.38271
    Win32 Version: 5.5.6778.38271
    CodeBase: file:///C:/Apps/ImageGlass/ImageGlass.Core.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3081.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ImageGlass.Theme
    Assembly Version: 5.5.6778.38272
    Win32 Version: 5.5.6778.38272
    CodeBase: file:///C:/Apps/ImageGlass/ImageGlass.Theme.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
DotNetZip
    Assembly Version: 1.11.0.0
    Win32 Version: 1.11.0
    CodeBase: file:///C:/Apps/ImageGlass/DotNetZip.DLL
----------------------------------------
Magick.NET-Q16-AnyCPU
    Assembly Version: 7.5.0.0
    Win32 Version: 7.5.0.1
    CodeBase: file:///C:/Apps/ImageGlass/Magick.NET-Q16-AnyCPU.DLL
----------------------------------------

Dương Diệu Pháp

unread,
Sep 18, 2018, 10:26:21 PM9/18/18
to sgal...@gmail.com, ImageGlass Community
Hi!

This may be caused by the incompatible themes. 
You can open Theme Folder of ImageGlass: %appdata%\ImageGlass\Themes and delete all themes here (you may want to back up them).

If this doesn't fix your issue, you can disable the First-Launch configuration:
1. Using Registry (if you use installer version)
- Go to the key: Computer\HKEY_CURRENT_USER\Software\PhapSoftware\ImageGlass
- Change the value of the key FirstLaunchVersion to 5 
- Save and run ImageGlass  

2. Using igconfig.xml file (for portable version)
- Open igconfig.xml in the installed folder by Notepad
- Change the value of the key FirstLaunchVersion to 5 
<Item key="FirstLaunchVersion" value="5" />
- Save and run ImageGlass


In order to facilitate me to fix the bug, please provide me the below information:
- Your theme list (name) in the Theme Folder


Sorry for this inconvenient
And thank you for your report!

Phap


--
ImageGlass community
www.imageglass.org
---
You received this message because you are subscribed to the Google Groups "ImageGlass Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to imageglass+...@googlegroups.com.
Visit this group at https://groups.google.com/group/imageglass.
To view this discussion on the web visit https://groups.google.com/d/msgid/imageglass/d280aaef-3434-482d-b52d-a4fd611414bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sgal...@gmail.com

unread,
Sep 18, 2018, 10:54:45 PM9/18/18
to ImageGlass Community
it was the themes.  your awesome. thanks.
Reply all
Reply to author
Forward
0 new messages