Object reference not set to an instance of an object...WTF?

Help each other out

Object reference not set to an instance of an object...WTF?

Postby Toasty on Mon Feb 19, 2007 4:59 pm

When I try to add movies I keep getting this:

Code: Select all
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Object reference not set to an instance of an object.


Details:
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 xlobby2.Setup.button22_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.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: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
xlobby2
Assembly Version: 1.0.2403.37773
Win32 Version: 1.0.2403.37773
CodeBase: file:///C:/Program%20Files/xlobby/xlobby2.exe
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
XPluginSDK
Assembly Version: 1.0.2378.27802
Win32 Version: 1.0.2378.27802
CodeBase: file:///C:/Program%20Files/xlobby/XPluginSDK.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
XWeather
Assembly Version: 1.0.2387.38391
Win32 Version: 1.0.2387.38391
CodeBase: file:///C:/Program%20Files/xlobby/plugins/xweather/XWeather.dll
----------------------------------------
Interop.Shell32
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/xlobby/Interop.Shell32.DLL
----------------------------------------
CustomMarshalers
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Interop.ActiveHomeScriptLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/xlobby/Interop.ActiveHomeScriptLib.DLL
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------

************** 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.






Music adds fine it is just for movies I am a noob at this so maybe there is something I am missing? :?
Toasty
 
Posts: 2
Joined: Mon Feb 19, 2007 4:45 pm

Postby tswhite70 on Mon Feb 19, 2007 5:07 pm

I don't know if this has anything to do with it, but it looks like you're running an old version of XL (1.0.2403.37773) - the current version is (1.0.2519.37788). You can go to F2\Download to update.

Or get the "experimental" ie current release version from here: http://www.xlobby.com/downloads

good luck,
tsw
tswhite70
 
Posts: 318
Joined: Tue Jan 06, 2004 3:44 pm
Location: Houston, Tx

Postby Toasty on Mon Feb 19, 2007 5:36 pm

Thanks for that, but even after downloading the current version it still does it :(
Toasty
 
Posts: 2
Joined: Mon Feb 19, 2007 4:45 pm

Postby lar282 on Mon Feb 19, 2007 6:47 pm

give us more info what u are doing.
adding to a NEW datasbe.if so try to create it before import
adding to a existing database?
whats your paths
does the screen exist that it tries to open?Check events
did u try to MOVE your movie.xml and REImport all items?
security issues on paths?
OS? not vista is it?

If all fails.take the default skin and try there, so u know if it is a skin problem or a other problem.

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby P3rv3rt B3ar on Mon Feb 19, 2007 6:57 pm

u need to press F2 (it is a key on your board) to enter setup and set paths there...
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby sosuke3 on Mon Feb 26, 2007 1:48 am

I'm getting the same error when I try to add a new path for movies. Adding paths for Music and Pictures works fine, but when adding movies it is bombing when you click Ok on the directory selection dialog.

edit: and I am running the latest experimental build from today.
sosuke3
 
Posts: 4
Joined: Mon Feb 26, 2007 1:46 am

Postby sosuke3 on Thu Mar 01, 2007 5:17 am

I tried xlobby on another machine and it works fine on that one. So the question becomes why doesn't it work on the machine I need it to work on? Is there any additional information you guys need besides the stack trace?
sosuke3
 
Posts: 4
Joined: Mon Feb 26, 2007 1:46 am

Postby lar282 on Thu Mar 01, 2007 9:00 am

see my last post and report back
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby sosuke3 on Thu Mar 01, 2007 11:38 pm

XP Pro SP2.
Latest experimental build.

Hit F2 and go into setup. Click on "Basic" and hit the "add" button in the "Movie Paths" section. Picked a folder on my local E: drive and hit "Ok". Bombs with an unhandled exception and the stack trace posted by the OP. It's something in your "add" buttons code. I would debug it but I get the feeling you're not about to release the source code.
sosuke3
 
Posts: 4
Joined: Mon Feb 26, 2007 1:46 am

Postby lar282 on Fri Mar 02, 2007 7:47 am

did u try to delete the movie.xml and then start xl and try again?
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby sosuke3 on Fri Mar 02, 2007 1:05 pm

That fixed it.
sosuke3
 
Posts: 4
Joined: Mon Feb 26, 2007 1:46 am