theoryno3 / bizhawk

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

Error when trying to change global directorys #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- Try to change a directory in the global tab, by using the folder symbol

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

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 BizHawk.MultiClient.PathManager.GetPlatformBase(String system)
   bei BizHawk.MultiClient.PathManager.MakeAbsolutePath(String path, String system)
   bei BizHawk.MultiClient.PathConfig.BrowseFolder(TextBox box, String _Name, String System)
   bei BizHawk.MultiClient.PathConfig.<>c__DisplayClass22.<DoTabs>b__15(Object , EventArgs )
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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: 4.0.0.0.
    Win32-Version: 4.0.30319.34003 built by: FX45W81RTMGDR.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
BizHawk.MultiClient
    Assembly-Version: 1.5.2.5123.
    Win32-Version: 1.5.2.5123.
    CodeBase: file:///D:/Programme/bizhawk/BizHawk.MultiClient.exe.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.34003 built by: FX45W81RTMGDR.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Web
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    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.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
BizHawk.Emulation
    Assembly-Version: 1.5.2.5123.
    Win32-Version: 1.5.2.5123.
    CodeBase: file:///D:/Programme/bizhawk/dll/BizHawk.Emulation.dll.
----------------------------------------
SlimDX
    Assembly-Version: 4.0.10.43.
    Win32-Version: .
    CodeBase: file:///D:/Programme/bizhawk/dll/SlimDX.dll.
----------------------------------------
Microsoft.VisualBasic
    Assembly-Version: 10.0.0.0.
    Win32-Version: 12.0.20806.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
BizHawk.Util
    Assembly-Version: 1.5.2.5123.
    Win32-Version: 1.5.2.5123.
    CodeBase: file:///D:/Programme/bizhawk/dll/Bizhawk.Util.dll.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 1.3.0.0.
    Win32-Version: 1.3.0.0.
    CodeBase: file:///D:/Programme/bizhawk/dll/Newtonsoft.Json.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
LuaInterface
    Assembly-Version: 2.0.4.24551.
    Win32-Version: 2.0.4.24551.
    CodeBase: file:///D:/Programme/bizhawk/dll/LuaInterface.dll.
----------------------------------------
lua51
    Assembly-Version: 0.0.0.0.
    Win32-Version: .
    CodeBase: file:///D:/Programme/bizhawk/dll/lua51.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.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>
</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?
1.5.2

Original issue reported on code.google.com by moritz.g...@gmail.com on 9 Nov 2013 at 3:05

GoogleCodeExporter commented 9 years ago
Using the 1.5.2 download and the steps provided, I can not reproduce.  Can you 
be more specific?

I opened path config (with no rom loaded).  I clicked the folder icon for the 
global base path (at the top of the dialog).  I picked a path not related to my 
bizhawk folder.  I clicked Ok to close the folder browser, then I closed the 
path config. 

No exception thrown

Original comment by adeli...@tasvideos.org on 15 Nov 2013 at 5:13

GoogleCodeExporter commented 9 years ago
global base path actually works. It's all the other paths that throw the error. 
I guess I didn't notice that global base path works. It's the only one that 
does.
The others throw the exception when I click their respective folder icons.

Original comment by moritz.g...@gmail.com on 15 Nov 2013 at 7:55

GoogleCodeExporter commented 9 years ago
Doesn't happen for me, but it looks like it is related to code that resolves 
the path where bizhawk is currently located.  In the new version I change how 
that behaves.  Can you try this interim version to see if it still happens for 
you?
https://dl.dropboxusercontent.com/u/75355/BizHawk.zip

Original comment by adeli...@tasvideos.org on 15 Nov 2013 at 11:41

GoogleCodeExporter commented 9 years ago
Sadly still happens. No problems with "Global Base" and "Base", but Movies,
Movie Backups, Lua, Watch, A/V Dumps, Debug Logs, Base Rom and Firmware
throw the error.

Most of the other options in the other tabs seem to be working. But PC
Engine, Gameboy and SNES have the same problem with Rom, Savestates, Save
RAM, Screenshots, Cheats and Palletes (that one only in the case of
Gameboy, obviously). (hadn't tested those before)

What's weird is that it happens only under those 4 tabs (Global, PC Engine,
Gameboy and SNES), not anywhere else.

Original comment by moritz.g...@gmail.com on 16 Nov 2013 at 6:22

GoogleCodeExporter commented 9 years ago
Ah, thank you, I didn't try those.  Fixed.

Original comment by adeli...@tasvideos.org on 16 Nov 2013 at 10:42