candace26 / gauth4win

Automatically exported from code.google.com/p/gauth4win
0 stars 0 forks source link

.NET error message on startup #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. don't know, just installed and ran the application
2.
3.

What is the expected output? What do you see instead?

on application start, .NET framework shows me error message. after clicking on 
Continue, the application appears in my tray.

Details:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine 
Objektinstanz festgelegt.
   bei GoogleAuth.KeyInput.Form1_Load(Object sender, EventArgs e)
   bei System.Windows.Forms.Form.OnLoad(EventArgs e)
   bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bei System.Windows.Forms.Control.CreateControl()
   bei System.Windows.Forms.Control.WmShowWindow(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
GoogleAuth
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/SmartWare%20SRL/GoogleAuth/GoogleAuth.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms 
festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

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

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

What version of the product are you using? On what operating system?

latest here available on a german Windows 7 x64 with SP1 installed.

Please provide any additional information below.

none

Original issue reported on code.google.com by fittichk...@gmail.com on 29 Aug 2011 at 8:04

GoogleCodeExporter commented 8 years ago
Patch to fix this issue included.  Looks like 
Application.UserAppDataRegistry.GetValue("key") can be null; the patch simply 
lets the program continue, although you will need to enter a key to get valid 
auth codes.  

Original comment by innerve...@gmail.com on 20 Oct 2011 at 4:11

Attachments:

GoogleCodeExporter commented 8 years ago
Okay. Thank you for providing me with an patch. But I've downloaded it as 
binary file and can not apply your patch. Are you able to recompile it? Or how 
can I compile it for myself after checking out the svn?

Also, for upcoming releases, it would be nice you could support more than just 
one account.

Original comment by fittichk...@gmail.com on 26 Oct 2011 at 5:02

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have the same problem, I download the file, but what to do with him???

Thanks

Original comment by lara0...@gmail.com on 7 Dec 2011 at 8:54

GoogleCodeExporter commented 8 years ago
#4

The Dev seems to be a very busy man. ;-)

Have you tried to skip the error message and to enter your token? I noticed, 
that this error was gone after the first usage of this application.

And always keep your .NET Framework up to date.

Original comment by fittichk...@gmail.com on 7 Dec 2011 at 9:17

GoogleCodeExporter commented 8 years ago
Create a reg string key under 
HKEY_CURRENT_USER\Software\GoogleAuth\GoogleAuth\1.0.0.0 called key. This will 
enable the app to start without error.

Original comment by cwit...@gmail.com on 15 Apr 2012 at 9:18

GoogleCodeExporter commented 8 years ago
Start the app, ignore the error (continue), rightclick the icon, modify key and 
then enter the secure private key from the app here. From then on, the app will 
be usable.

Original comment by akaasja...@gmail.com on 30 Aug 2012 at 12:08

GoogleCodeExporter commented 8 years ago
Hi to all, I think Comment 7 is works good.

Original comment by fitosof...@gmail.com on 18 Dec 2012 at 1:36

GoogleCodeExporter commented 8 years ago
nothing is clear, explain properly.

Original comment by sfi...@gmail.com on 8 Mar 2015 at 11:38

GoogleCodeExporter commented 8 years ago
Get "WinAuth"
https://code.google.com/p/winauth/

Original comment by fittichk...@gmail.com on 8 Mar 2015 at 2:46