Menu

#168 Closing the startup tipwindow will result in an unhandled exeption

1.0
open
nobody
None
2023-10-10
2023-09-29
GPN
No

As per title, here is the log error:

Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
   in PortableSettingsProvider.SetValue(SettingsPropertyValue propVal)
   in PortableSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection propvals)
   in System.Configuration.SettingsBase.SaveCore()
   in System.Configuration.SettingsBase.Save()
   in System.Configuration.ApplicationSettingsBase.Save()
   in ClipAngel.Main.Main_Load(Object sender, EventArgs e)
   in System.Windows.Forms.Form.OnLoad(EventArgs e)
   in System.Windows.Forms.Form.OnCreateControl()
   in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   in System.Windows.Forms.Control.CreateControl()
   in System.Windows.Forms.Control.WmShowWindow(Message& m)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   in System.Windows.Forms.Form.WmShowWindow(Message& m)
   in System.Windows.Forms.Form.WndProc(Message& m)
   in ClipAngel.Main.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9181.0 built by: NET481REL1LAST_C
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ClipAngel
    Versione assembly: 1.0.0.0
    Versione Win32: 1.0.0.0
    Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/ClipAngel.exe
----------------------------------------
System.Core
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9181.0 built by: NET481REL1LAST_C
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9172.0 built by: NET481REL1LAST_C
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9181.0 built by: NET481REL1LAST_C
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
WindowsInput
    Versione assembly: 1.0.4.0
    Versione Win32: 1.0.4.0
    Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/WindowsInput.DLL
----------------------------------------
System.Configuration
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.xml.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Data
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9166.0 built by: NET481REL1LAST_B
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Infralution.Localization
    Versione assembly: 1.2.2.0
    Versione Win32: 1.2.2.0
    Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/Infralution.Localization.DLL
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Data.DataSetExtensions
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
System.Numerics
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
ClipAngel.resources
    Versione assembly: 1.0.0.0
    Versione Win32: 1.0.0.0
    Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/it/ClipAngel.resources.DLL
----------------------------------------
Microsoft.mshtml
    Versione assembly: 7.0.3300.0
    Versione Win32: 7.0.3300.0
    Base di codice: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
System.Data.SQLite
    Versione assembly: 1.0.79.0
    Versione Win32: 1.0.79.0
    Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/System.Data.SQLite.DLL
----------------------------------------
System.Transactions
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Design
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Net.Http
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
System.EnterpriseServices
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Data.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
Accessibility
    Versione assembly: 4.0.0.0
    Versione Win32: 4.8.9037.0 built by: NET481REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
AngleSharp
    Versione assembly: 0.9.9.0
    Versione Win32: 0.9.9
    Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/AngleSharp.DLL
----------------------------------------

************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.

Ad esempio:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
2 Attachments

Discussion

  • tormozit

    tormozit - 2023-09-30

    I need "Info" section from your "Settings" window.

     
  • GPN

    GPN - 2023-10-02

    voilà

     
  • tormozit

    tormozit - 2023-10-03

    If you press "OK" button in "Settings" window - is there same error?

     
    • GPN

      GPN - 2023-10-03

      Yep but the details are slightly different, I've compared the texts, so here it is the one from the settings' ok button:

      Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
      sono riportate in fondo al messaggio.
      
      ************** Testo dell'eccezione **************
      System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
         in PortableSettingsProvider.SetValue(SettingsPropertyValue propVal)
         in PortableSettingsProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection propvals)
         in System.Configuration.SettingsBase.SaveCore()
         in System.Configuration.SettingsBase.Save()
         in System.Configuration.ApplicationSettingsBase.Save()
         in ClipAngel.Main.settingsToolStripMenuItem_Click(Object sender, EventArgs e)
         in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
         in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
         in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
         in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
         in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
         in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
         in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
         in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
         in System.Windows.Forms.Control.WndProc(Message& m)
         in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
         in System.Windows.Forms.ToolStrip.WndProc(Message& m)
         in System.Windows.Forms.MenuStrip.WndProc(Message& m)
         in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
         in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
         in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      
      
      ************** Assembly caricati **************
      mscorlib
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9181.0 built by: NET481REL1LAST_C
          Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
      ----------------------------------------
      ClipAngel
          Versione assembly: 1.0.0.0
          Versione Win32: 1.0.0.0
          Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/ClipAngel.exe
      ----------------------------------------
      System.Core
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9181.0 built by: NET481REL1LAST_C
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
      ----------------------------------------
      System
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9172.0 built by: NET481REL1LAST_C
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
      ----------------------------------------
      System.Windows.Forms
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9181.0 built by: NET481REL1LAST_C
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
      ----------------------------------------
      System.Drawing
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
      ----------------------------------------
      WindowsInput
          Versione assembly: 1.0.4.0
          Versione Win32: 1.0.4.0
          Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/WindowsInput.DLL
      ----------------------------------------
      System.Configuration
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
      ----------------------------------------
      System.Xml
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
      ----------------------------------------
      System.xml.resources
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Xml.resources.dll
      ----------------------------------------
      mscorlib.resources
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
      ----------------------------------------
      System.Data
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9166.0 built by: NET481REL1LAST_B
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
      ----------------------------------------
      Infralution.Localization
          Versione assembly: 1.2.2.0
          Versione Win32: 1.2.2.0
          Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/Infralution.Localization.DLL
      ----------------------------------------
      System.Windows.Forms.resources
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
      ----------------------------------------
      System.Data.DataSetExtensions
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
      ----------------------------------------
      System.Numerics
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
      ----------------------------------------
      ClipAngel.resources
          Versione assembly: 1.0.0.0
          Versione Win32: 1.0.0.0
          Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/it/ClipAngel.resources.DLL
      ----------------------------------------
      Microsoft.mshtml
          Versione assembly: 7.0.3300.0
          Versione Win32: 7.0.3300.0
          Base di codice: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
      ----------------------------------------
      System.Data.SQLite
          Versione assembly: 1.0.79.0
          Versione Win32: 1.0.79.0
          Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/System.Data.SQLite.DLL
      ----------------------------------------
      System.Transactions
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
      ----------------------------------------
      System.Design
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
      ----------------------------------------
      System.Net.Http
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
      ----------------------------------------
      System.EnterpriseServices
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
      ----------------------------------------
      System.Data.resources
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Data.resources.dll
      ----------------------------------------
      Accessibility
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
      ----------------------------------------
      AngleSharp
          Versione assembly: 0.9.9.0
          Versione Win32: 0.9.9
          Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/AngleSharp.DLL
      ----------------------------------------
      System.Web
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9181.0 built by: NET481REL1LAST_C
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
      ----------------------------------------
      Newtonsoft.Json
          Versione assembly: 12.0.0.0
          Versione Win32: 12.0.3.23909
          Base di codice: file:///C:/Users/itca1/Desktop/WORK/UTILITY/ClipAngel%202.11/Newtonsoft.Json.DLL
      ----------------------------------------
      System.resources
          Versione assembly: 4.0.0.0
          Versione Win32: 4.8.9037.0 built by: NET481REL1
          Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.resources.dll
      ----------------------------------------
      
      ************** Debug JIT **************
      Per abilitare il debug JIT, è necessario impostare il valore
      jitDebugging nella sezione system.windows.forms del file di configurazione
      dell'applicazione o del computer (machine.config).
      L'applicazione inoltre deve essere compilata con il debug
      abilitato.
      
      Ad esempio:
      
      <configuration>
          <system.windows.forms jitDebugging="true" />
      </configuration>
      
      Quando il debug JIT è abilitato, tutte le eccezioni non gestite
      vengono inviate al debugger JIT registrato nel computer,
      anziché essere gestite da questa finestra di dialogo.
      
       
  • tormozit

    tormozit - 2023-10-03

    Try to delete your settings file. You find it in path shown in "Application user settings path" setting. Filename="Settings.settings"
    If it will not help try run app in portable mode (ClipAngelPortable.bat).

     

    Last edit: tormozit 2023-10-10
    • GPN

      GPN - 2023-10-10

      Deleting the file solved it. Thanks a lot!

       

Log in to post a comment.