Page 1 of 1

Null Reference Exception on Launch via Launcher

Posted: 2016-11-28 11:57
by Gentlefood
After attempting two fresh full installs via the Google ISO dl I've been confronted with this issue.
Critical Error: An unhandled exception has occured. Details are as follows:

Object reference not set to an instance of an object.

> System.NullReferenceException: Object reference not set to an instance of an object.
at Ta.h.a()
at Reality.BF2.Settings.Video.a.a(String a)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at Reality.BF2.Settings.Video.GetDefaultResolution()
at Reality.BF2.Settings.Video.CreateDefault(UInt16 a)
at -.f.a()
at -.f.OnStartup(StartupEventArgs a)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[/code]
Tried two fresh dl installs and multiple installs from the ISO to no avail. Seems to be completely stuck at the null reference error.

Launching the game without the launcher functions outside of the "Launch via the launcher" message.

Re: Null Reference Exception on Launch via Launcher

Posted: 2016-11-28 20:39
by Gentlefood
Update: Solution Found, at least for the above issue.

The Default Profile provided by the installer is missing critical files leading to the null pointer.

If you experience this issue look first in Documents > ProjectReality > Profiles > Default
And add in any files that are missing from here: https://www.dropbox.com/sh/a0qm9ybeg3kl ... mszAa?dl=0

Additionally! When you retrieve or create your new profile it also appears to be lacking the above files, be sure to copy them over from the default into your new profile slot (likely numbered "0001" in your profiles)