Bug 91698 - [si-gui] Internet connection with proxy: unhandled exception
Summary: [si-gui] Internet connection with proxy: unhandled exception
Status: VERIFIED FIXED
Alias: None
Product: QA Tools
Classification: Unclassified
Component: SI-GUI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Florian Reisinger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-28 14:46 UTC by Marina Latini (SUSE)
Modified: 2018-06-06 06:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marina Latini (SUSE) 2015-05-28 14:46:59 UTC
Steps:
1) Set a proxy server for your internet connection
2) open SI-GUI
3) click "Update list of versions" button
4) click "ok" on the error message

Exception details:

-------------------------------------------------------------------
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 SI_GUI.Downloader.getLibOListOfDL()
   at SI_GUI.MainUI.update_versions_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
LibreOffice Separate Install GUI
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Users/user/AppData/Local/Apps/2.0/ZKH89M5O.TJG/NNG9163X.8P8/libr..tion_0000000000000000_0004.0004_665fdc81945b2168/LibreOffice%20Separate%20Install%20GUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    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.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34244 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.resources
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

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

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
-------------------------------------------------------------------

* SI-GUI version: 4.4.0.10
* OS: Windows 7 Home Premium SP1 x86
Comment 1 Florian Reisinger 2015-06-02 10:59:14 UTC
Hi,

I have no proxy, but I tried to fix it with 5.0.0.2 out now
Comment 2 Marina Latini (SUSE) 2015-06-04 07:55:14 UTC
Update:
SI-GUI version: 5.0.0.2
OS: Windows 7 Home Premium SP1 x86

Same error and exception :(


************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at SI_GUI.Downloader.getLibOListOfDL()
   at SI_GUI.MainUI.update_versions_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
LibreOffice Separate Install GUI
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Users/user/AppData/Local/Apps/2.0/ZKH89M5O.TJG/NNG9163X.8P8/libr..tion_0000000000000000_0005.0000_2f938e74d3d21b68/LibreOffice%20Separate%20Install%20GUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    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.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34244 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.resources
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
Comment 3 Florian Reisinger 2015-06-04 08:04:28 UTC
Do you know a proxy server to test this with?
Comment 4 Marina Latini (SUSE) 2015-06-04 08:39:16 UTC
(In reply to Florian Reisinger from comment #3)
> Do you know a proxy server to test this with?

1) From an elevated command prompt run the following dummy config:
netsh winhttp set proxy "127.0.0.1:8080"
2) try to open a web page (an error will occur)
expected: no connection (ERR_PROXY_CONNECTION_FAILED)

3) Test SI-GUI and try to update the list of versions

If the browser works, setup the proxy address and port via "Control panel -> Internet options -> connections -> LAN settings (in my case)" and repeat the steps 2 and 3.
Comment 5 Florian Reisinger 2015-06-05 06:16:37 UTC
Just to be on the save side: How to undo this?
In other words: It seems, that you want me to setup no uinternet connection... I do not know why it crashes, but if it is the same behaviour when you are offline, that would help a lot :)
Comment 6 Marina Latini (SUSE) 2015-06-05 08:00:24 UTC
Hi Florian,
about the proxy

from the command line:
* To enable the proxy server (with a dummy server): netsh winhttp set proxy 127.0.0.1:8080
* To check your proxy server setting: netsh winhttp show proxy
* To remove the proxy server setting: netsh winhttp reset proxy

In some cases the settings from command line are bypassed. Try to setup the proxy directly via control panel.
To remove the settings untick the checkbox and try to use the browser :)

An update for you. You're right, the crash has the same behaviour when you are offline. ;)
Let me know how I can provide more informations to you.

Marina
Comment 7 Aron Budea 2016-06-04 04:06:50 UTC
Reproduced in 5.0.0.3.
I had to set a proxy as described at the end of Comment 4 to finally not have connection (I did it in IE, but it's the same thing as in CP).
Comment 8 Florian Reisinger 2018-02-23 15:43:39 UTC
Does SI-GUI work if IE works?
Comment 9 Florian Reisinger 2018-02-24 10:21:03 UTC
SI-GUI relies on the proxy set on Windows / IE. Updated the proxy fetching behavior.
Comment 10 Xisco Faulí 2018-06-05 13:37:05 UTC
Hi Florian,
it's been a while since I have used SI-GUI... today I've updated to version 5.0.0.9 and I'm facing this exception now. OTOH, Internet Explorer works...
I'm running Windows 7 on virtualbox. Don't know if this might affect...
Comment 11 Xisco Faulí 2018-06-05 16:00:22 UTC
(In reply to Xisco Faulí from comment #10)
> Hi Florian,
> it's been a while since I have used SI-GUI... today I've updated to version
> 5.0.0.9 and I'm facing this exception now. OTOH, Internet Explorer works...
> I'm running Windows 7 on virtualbox. Don't know if this might affect...

Actually, my problem was

System.NullReferenceException: The requested security protocol is not supported. which was related to .Net Framework 4.0. Solved it by removing it and installing .Net Framework 4.5
Comment 12 Florian Reisinger 2018-06-06 06:17:03 UTC
Hi Xisco,

That issue is fixed. The C# version of SI-GUI is no longer supported, I want to migrate people over to the Java version. When the temperatures are getting lower, I am planning to restructure it a bit...

But I do not plan to fix bugs in the original SI-GUI.