• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Kayla Alexa Mai

xna games crashing

1 post in this topic

i recentley reinstalled the game and started having an issue that wasnt happening last time,

the game open normally and i am presented with the menu, if i click any button i get an error.

Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

object reference not set to an instance of an object.

it wont let me click any of the buttons on the popup they say details continue and quit, none of them work.

any ideas please? as i would like to try the new features and i have looked online but cant find a solution. i tried all those steps in the forum, deleting the settings, reinstalling the frameworks, and xna, and direct x, no change.


any help would be appreciated.

thanks

 

the error is

 
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 System.Windows.Forms.MouseEventArgs..ctor(MouseButtons button, Int32 clicks, Int32 x, Int32 y, Int32 delta)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Microsoft.Xna.Framework.WindowsGameForm.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.34014 built by: FX45W81RTMGDR

----------------------------------------
Signs Of Life
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

----------------------------------------
Microsoft.Xna.Framework.Game
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30901.0

----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR

----------------------------------------
log4net
Assembly Version: 1.2.11.0
Win32 Version: 1.2.11.0

----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
Steamworks.NET
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0

----------------------------------------
Microsoft.Xna.Framework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30901.0 built by: xnabldr

----------------------------------------
Microsoft.Xna.Framework.Graphics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30901.0 built by: xnabldr

----------------------------------------
Microsoft.Xna.Framework.Input.Touch
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30901.0

----------------------------------------
Microsoft.Xna.Framework.Xact
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30901.0 built by: xnabldr

----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.86.0
Win32 Version: 1.0.86.0

----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
ProjectMercury
Assembly Version: 3.1.0.0
Win32 Version: 3.1.0.0

----------------------------------------
DeminaRuntime
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
Lidgren.Network
Assembly Version: 2012.1.7.0
Win32 Version: 2012.1.7.0

----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

----------------------------------------
Microsoft.Xna.Framework.GamerServices
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30901.0

----------------------------------------

************** 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.
 
not sure why everything has a black line throught it :(
0

Share this post


Link to post
Share on other sites

Well If I had to guess, it seems like the someone used something like this:

 

The Instance of the Object is set to NULL due some issues and did not receive a reference again, so it still points to NULL.

In that case the Methodes cannot be called.

 

(Other than using non static Object-Methodes like this: 

 

Classname.Methode()

instead of

Classname name = new Classname();

name.Methode().

 

Cuz this won't even compile)

 

In this scenario you cannot change anything from your position aslong as you cannot alter the code to fix it.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0