Game Development Community

Reset Panel Layout Error

by Nelson Hurst · in Torque X 3D · 10/15/2009 (11:21 am) · 4 replies

I get an Unhandled exception when I try to reset the Panel Layout;
Tools > Preference > [Reset Panel Layout]



The Error:
------------------------------------


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 TorqueXBuilder3D.FormPreferences.btnResetLayout_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevComponents.DotNetBar.PopupItemControl.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 **************

Long List of Assemblies .....
--------------------------------------------------------------------------

It's not fatal, I can press continue and keep working, I just thought I would see if this happens to anyone else.

About the author

Known as Nelxon, digital artist, animator, programmer and game developer. I am currently creating personal indie short films and my first indie game. More info can be found out www.nelxon.com

Recent Threads


#1
10/19/2009 (8:15 am)
Hey Nelson,

Yes I too have this error! Also my scene explorer window has vanished!

I'm running windows 7 64-Bit.

Does anyone have a fix?

Thanks
#2
11/10/2009 (11:46 pm)
True, something is not as expected, anticipated.

I've uninstalled TX3D-CC v3.0.0.0 and reinstalled it, I thought that there might have been a registry issue. Tried regedit and found 64-bit is awsome and that I can't read the registry anymore. Built a new "Starter Game 3D (3.0)" from the C# NewProjects wizard, cleaned, compiled and ran it. Then opened Torque X and Loaded the running XNA project. The assets loaded in, but no 3D view can be seen. If you take a screen shot, its the picture of sand dunes so there must be a chunk of memory for the WYSIWYG, but I see nothing. Made a "Xbox 360 Copy of Game" and set it to the active project, ran it with the Xbox waiting with the XNA Game Studio Connect waiting. It took a little longer to load up and then the desert dunes appeared on the TV through the Xbox, that was really awsome, really I mean that. The Xbox controler moved the camera around but now the project in Torque X doesn't even recognize that the project is compiled, it can't or won't load the .csproj, maybe because its already deployed to the Xbox?

That's the MO of the bug I just sent in about and I don't see them getting to this ASAP. Would be cool if they did.

Happy Holidays

#3
11/11/2009 (12:09 am)
In short,

I pressed that button too thinking it would reset my Show 3D Scene View, and the Show Scene Level Data which are now inaccessible.

G'day
#4
11/11/2009 (4:08 pm)
OK all is kind of well

One solution is to uninstall the Torque X for XNA Creators Club via the add/remove app in the Contol Panel. Then find the torquexCC-3.0.0.0 msi file you downloaded and run it. When it asks if you want to change the directory, change it to something shorter like "C:\Program Files (x86)\GarageGames\TX3DXNACC" because the given path name has period(.)s and I found in the forum that that isn't a good thing. It doesn't cure the Reset Panel Layout Error, but if you exit the program and then restart it it will come back with the View sub-menus restored. So all is kinda well, and it works.

Thanks and Goodbye