PDA

View Full Version : FSX@War errors - "Object reference not set..." Help?



stearmandriver
June 3rd, 2018, 23:10
Hello all,

I've been trying to get @War and CCP running, and I've run into a frustrating problem. When I run @War and enter the Tactical Reference Pack section and choose the base pack and then try to click on any object or weapon, it throws the error "Object reference not set to instance of an object". Sometimes it force-closes and sometimes it leaves me an error dialog window. I'll paste the full list of errors below. Since the @War forums are closed I've tried asking about this at the VRS forums and gotten one suggestion (re-install while unticking the "create shortcut" box), but no dice... still the same errors. If anyone has any ideas I'd be grateful!

Win 7 64 pro
FSX-A
FSUIPC 4.x

--------------------------------------------------
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CSGL12.GL.glClearColor(Single red, Single green, Single blue, Single alpha)
at CSGL12.CSGL12Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandlin g(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
FSXatWarEditor
Assembly Version: 1.2.3.0
Win32 Version: 1.2.3.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/FSXatWarEditor.exe
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
FSXatWar.csharp.cs
Assembly Version: 0.1.0.0
Win32 Version: 0.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/FSXatWar.csharp.cs.DLL
----------------------------------------
NLog
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/NLog.DLL
----------------------------------------
WpfUtils
Assembly Version: 0.1.0.0
Win32 Version: 0.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/WpfUtils.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
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.6.1590.0 built by: NETFXREL2
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.6.1590.0 built by: NETFXREL2
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.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.ServiceModel
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1636.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
MercatorMap
Assembly Version: 0.1.0.0
Win32 Version: 0.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/MercatorMap.DLL
----------------------------------------
System.Windows.Interactivity
Assembly Version: 4.0.0.0
Win32 Version: 2.0.20525.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/System.Windows.Interactivity.DLL
----------------------------------------
PresentationFramework.Aero
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
CoordinatesTools
Assembly Version: 1.1.1.0
Win32 Version: 1.1.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/CoordinatesTools.DLL
----------------------------------------
AutoUpdateBITS
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/AutoUpdateBITS.DLL
----------------------------------------
SharpBITS.Base
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpBITS.Base.DLL
----------------------------------------
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
PresentationFramework-SystemXml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
----------------------------------------
PresentationFramework-SystemXmlLinq
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll
----------------------------------------
Microsoft.Expression.Interactions
Assembly Version: 4.0.0.0
Win32 Version: 2.0.20525.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/Microsoft.Expression.Interactions.DLL
----------------------------------------
PresentationFramework-SystemData
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemData/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemData.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
ASToFra.Interfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/ASToFra.Interfaces.DLL
----------------------------------------
ASToFra.ObjectModel3D
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/ASToFra.ObjectModel3D.DLL
----------------------------------------
ASToFra.ObjectReader
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/ASToFra.ObjectReader.DLL
----------------------------------------
ASToFra.FSUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/ASToFra.FSUtils.DLL
----------------------------------------
ASToFra.ObjectRenderer
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/ASToFra.ObjectRenderer.DLL
----------------------------------------
WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
CSGL12DLL
Assembly Version: 12.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/CSGL12DLL.DLL
----------------------------------------
ASToFra.ParticleEffects
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/ASToFra.ParticleEffects.DLL
----------------------------------------
OxyPlot
Assembly Version: 2014.1.284.1
Win32 Version: 2014.1.284.1
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/OxyPlot.DLL
----------------------------------------
OxyPlot.Wpf
Assembly Version: 2014.1.284.1
Win32 Version: 2014.1.284.1
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/OxyPlot.Wpf.DLL
----------------------------------------
SharpVectors.Converters
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpVectors.Converters.DLL
----------------------------------------
SharpVectors.Rendering.Wpf
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpVectors.Rendering.Wpf.DLL
----------------------------------------
SharpVectors.Core
Assembly Version: 0.3.1.1588
Win32 Version: 0.3.1.1588
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpVectors.Core.DLL
----------------------------------------
SharpVectors.Model
Assembly Version: 0.3.1.1592
Win32 Version: 0.3.1.1592
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpVectors.Model.DLL
----------------------------------------
SharpVectors.Css
Assembly Version: 0.3.1.1590
Win32 Version: 0.3.1.1590
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpVectors.Css.DLL
----------------------------------------
SharpVectors.Dom
Assembly Version: 0.3.1.1589
Win32 Version: 0.3.1.1589
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpVectors.Dom.DLL
----------------------------------------
SharpVectors.Runtime
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FSXatWar/SharpVectors.Runtime.DLL
----------------------------------------

docjohnson
June 4th, 2018, 04:19
Did you install as Admin, and what version of Tacpack are you running with FSXA?

stearmandriver
June 4th, 2018, 11:53
Did you install as Admin, and what version of Tacpack are you running with FSXA?

Hi Doc,

Thanks for taking a look. I'm running FSXA with TacPack 1.4.3.4 (10.0.61637.0). I definitely installed @War as administrator, and I'm trying to run it that way as well. I'm not 100% sure I installed TacPack that way, though everything else seems to work fine with TacPack - spawning carriers, tankers, SAMs, the weapons systems on the Bug etc.

Think it would be worth trying to re-install TacPack as admin to make sure?

awstub
June 5th, 2018, 04:39
What version of FSX@War are you running.....and are you running any add-on theaters for it?
If you are running add-on theaters.....which ones and what versions?

FSX@War can be installed anywhere (i.e. doesn't need to be under any Program Files folder) but you should set it to run as administrator (for anyone who does not know how to do this..... you right click the file and pick properties and then, under the compatibility tab, check "run this program as administrator")


Hi Doc,

Thanks for taking a look. I'm running FSXA with TacPack 1.4.3.4 (10.0.61637.0). I definitely installed @War as administrator, and I'm trying to run it that way as well. I'm not 100% sure I installed TacPack that way, though everything else seems to work fine with TacPack - spawning carriers, tankers, SAMs, the weapons systems on the Bug etc.

Think it would be worth trying to re-install TacPack as admin to make sure?

stearmandriver
June 5th, 2018, 16:23
What version of FSX@War are you running.....and are you running any add-on theaters for it?
If you are running add-on theaters.....which ones and what versions?

FSX@War can be installed anywhere (i.e. doesn't need to be under any Program Files folder) but you should set it to run as administrator (for anyone who does not know how to do this..... you right click the file and pick properties and then, under the compatibility tab, check "run this program as administrator")

Hi Stub, thanks for chiming in. That's relevant information I should have included. I'll try to get it all in one place below:

Win 7 64 Pro
FSX-A
TacPack 1.4.3.4 (10.0.61637.0)
FSX@War 1.2.3
CCP 1.3.4.0 (though the @War errors happen even when CCP isn't installed so not sure this is relevant)
FSUIPC 4.x
No additional theaters or addons for @War... just the base pack.
All programs installers were run as administrator with Kaspersky AV closed, and the programs are run as administrator with AV closed.

I've tried rolling back that version of the 2015 x86 C++ redistributable packaged with the @war installer, no dice. I've verified I have .NET framework 3.5 installed (only 4.0 shows up in the add/remove programs list, but my registry has an entry for 3.5 as well). I'm running out of ideas...

Thanks...