XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

XAct crash on startup in XP (Unhandled Exception, Null Pointer)

Last post 09-15-2008 7:20 AM by Soa Jake. 2 replies.
  • 08-31-2008 7:54 AM

    XAct crash on startup in XP (Unhandled Exception, Null Pointer)

    Facts:
    - Crash happens as the program is started
    - I am using Xact from XNA game studio 3.0 on Windows XP SP3, but this problem happens with all the Xact from any of XNA 2.0, DX Aug 2008, DX March 2008, etc that I have installed as well
    - I have set .Net 1.1 to full access on everything for the user and system based on the config wizard.
    - I'm using the latest .Net 1.1 SP1 fix (Installed 1.1, SP1, SP1 Hotfix), and 3.5 SP1 (which I believe installs 2.0 SP2, and 3.0 SP2).

    Problems:
    - Xact won't run under my main account which have administrator access but not the admin
    - Crash shows unhandled exception, null pointer.

    What works:
    - Xact will run if use 'run as' another admin, and when I use another admin account).

    Error Symptoms:
    - The right side of .Net 1.1 , .Net 2.0 Configuration tool are blank for my main account.

    What I've tried to try to fix it:
    - I've reinstalled the entire .Net redistributables, using clean up tool and such
    - I've tried to reset security settings back to default using secedit and subinacl
    - I've removed admin access, logged back in, tried the program, logged out, and restored admin access to the user
    - I've even tried to examine and import registry files from a new admin user, which can access Xact fine

    Current assumptions:
    - Considering the program is running fine under other users, there's probably some kind of user registry error, or user permission, or user config issues involved... This assumption is also because the right side of .net 1.1 config tool is showing white.

    Other things I also have if needed:
    - .cab, .dmp from windbg of a live process
    - pml file from procmon

    ****************************** Here's the error from the main messagebox *********************************
    Xact.exe - Common Language Runtime Debugging Services

    Application has generated an exception that could not be handled.

    Process id=0xa40(2624), Thread id= 0xa64(2660.
    ****************************** Here's the WinDBG information (Xact from XNA 2.0)  *********************************
    http://pastebin.com/m3a39e6d9
     
    If needed I can also upload the dump and dumpcab.

    ***************************** Here's the Visual Studio Just-in-time debugger information *********************************
    Screenshot: http://i33.tinypic.com/6h7s4k.jpg
    Disassembly could be found at http://pastebin.com/m51dbda7f

    MessageBox:
    System.NullReferenceException was unhandled
    Message: Object reference not set to an instance of an object.

    Call Stack:
    >    Xact.exe!XACTGui.CMainFrame.CheckRegistry() + 0x38a bytes   
         Xact.exe!XACTGui.CMainFrame.Main(string[ args) + 0x19 bytes   

    Output:
    'Xact.exe' (Managed): Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll'
    'Xact.exe' (Managed): Loaded 'C:\Program Files\Microsoft XNA\XNA Game Studio\v3.0\Tools\Xact.exe'
    'Xact.exe' (Managed): Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll'
    'Xact.exe' (Managed): Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll'
    'Xact.exe' (Managed): Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll'
    'Xact.exe' (Managed): Loaded 'c:\program files\microsoft xna\xna game studio\v3.0\tools\xactinterop.dll'

    ****************************** Here's the Procmon information  *********************************
    With Error only: http://pastebin.com/m6fa19bfa (Xact from XNA 3.0)
    I have the complete procmon file if necessary. pastebin doesn't accept the 8000+ lines text.
    ************************************************************************************************


    If someone could help, I'll be very very grateful. It has taken me days trying to fix this.
  • 08-31-2008 12:59 PM In reply to

    Re: XAct crash on startup in XP (Unhandled Exception, Null Pointer)

    Fixed it by going through the following

    - I made a new user,
    - use the system information to transfer the profile from my old user to a new folder
    - rename the old user folder to some weird one, rename the new folder to the old one.
    - In the mean time, I deleted 2 invalid files (which ended up in space), the folder grew larger (seems there were compressed files), deleted nasty securom 7.01, and removed securom from registry. Had to delete those files because they were interfering with profile transfer.
    so, one of those three might have been the culprit
    I'm now using the old user account.


  • 09-15-2008 7:20 AM In reply to

    Re: XAct crash on startup in XP (Unhandled Exception, Null Pointer)

    You are the first person I have noticed to have the same problem as me. If you are interested in the proper solution, here it is:

    http://forums.xna.com/forums/t/17230.aspx


Page 1 of 1 (3 items) Previous Next