ZakKemble / AVRDUDESS

A GUI for AVRDUDE
https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/
GNU General Public License v3.0
596 stars 129 forks source link

JIT error with 2.10 version #28

Closed Bastiaang closed 5 years ago

Bastiaang commented 5 years ago

Just updated AVRDUDESS from 2.8 to 2.10; When I am starting up AVRDUDESS 2.10 an error appears with the following text:

** Tekst van uitzondering ** System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld. bij avrdudess.CmdLine.addWriteFuses() bij avrdudess.CmdLine.generate() bij avrdudess.Form1.event_controlChanged(Object sender, EventArgs e) bij System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e) bij System.Windows.Forms.CheckBox.set_CheckState(CheckState value) bij avrdudess.Form1.set_setFuses(Boolean value) bij avrdudess.Form1.loadPresetData(PresetData item) bij avrdudess.Form1.Form1_Load(Object sender, EventArgs e) bij System.Windows.Forms.Form.OnLoad(EventArgs e) bij System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) bij System.Windows.Forms.Control.CreateControl() bij System.Windows.Forms.Control.WmShowWindow(Message& m) bij System.Windows.Forms.Control.WndProc(Message& m) bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

(I am sorry that I am using the dutch version)

I can choose between continue or shutdown. When I continue the interface of AVRDUDESS is a mess. After reinstalling AVRDUDESS 2.10 I am still getting the same error. When I downgrade to 2.8 there is no error anymore.

ZakKemble commented 5 years ago

Thanks for reporting this! Seems this is caused by having no MCU selected and ticking the "Set fuses" box. I'll get it fixed this weekend.

Bastiaang commented 5 years ago

The update 2.11 has fixed my issue. Thanks for the fast reply and fix!