Page 1 of 2
Critical error on launch after update
Posted: 2014-05-25 15:55
by Blade.3510
Hi there
downloaded the new version a few minutes ago and keeps telling me there is an unhandled
exception
"Object reference not set to an instance of an object"
no idea what this means personally but here is the log file (couldn't attach it)
Thank you for your help.
Code: Select all
Project Reality Log File
PRLauncher.exe started at: 2014-05-25T16:42:21
Critical Error: An unhandled exception has occured. Details are as follows:
Object reference not set to an instance of an object.
Further details can be found in the following file:
[url]G:\Origin Downloads\Battlefield 2 Complete Collection\mods\pr\bin\PRLauncher.log[/url]
Please report this error to the Project Reality Team, and include the log file in your report.
[url=https://www.realitymod.com/forum/f27-pr-bf2-support]Visit Support Forum[/url]
> System.NullReferenceException: Object reference not set to an instance of an object.
at . .()
at Reality.BF2.Settings.Video.(String )
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 profile)
at PRLauncher.App.()
at PRLauncher.App.OnStartup(StartupEventArgs )
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Re: "Object reference not set to an instance of an object"
Posted: 2014-05-25 16:41
by LITOralis.nMd
Your video.con file for your new profile was corrupted/deleted/etc.
Three ways to fix this:
Option 1:
GO to Documents\ProjectReality.old\Profiles\0001 and copy your VIDEO.CON file.
Go to Documents\ProjectReality\Profiles\0001 and paste the VIDEO.CON file.
Start PR and test.
Option 2:
Start PRlauncher,
Click Options
In the top white box, select your new profile
Select the Video Tab,
Change your display resolution , graphics quality and Anti-aliasing to suit your system,
CLICK APPLY.
test PR.
Option 3:
If that fails,
try this:
Start PRlauncher,
Click Options
In the top white box, select your new profile
Click the RESET ALL PROFILES button on bottom left.
CLICK APPLY.
test PR.
Re: "Object reference not set to an instance of an object"
Posted: 2014-05-25 16:59
by Blade.3510
Thanks for replying
I have tried the first option but hasn't fixed it and unfortunately I cant get into the launcher because this happens when I try to launch it
Cheers
Matthew
Re: "Object reference not set to an instance of an object"
Posted: 2014-05-25 18:19
by Blade.3510
Never mind I have fixed it thank you so much for the help!
( i needed to put the vid.con in the default folder in order for it to launch properly so here it goes)
Re: "Object reference not set to an instance of an object"
Posted: 2014-05-25 18:37
by Blade.3510
Ah right an update
It is now not saving my profile options so
the display resolution keeps going back to
unselected.
Re: "Object reference not set to an instance of an object"
Posted: 2014-05-26 01:03
by LITOralis.nMd
Blade.3510 , several probable problems
your Documents\ProjectReality\Profiles\0001 directory is set to Read only.
you're not running as a windows admin account.
or
You're not running PRLauncher.exe as an admin
or
You need to manually change your BF2\mods\pr\bin\PRLauncher.exe need to manually be set to 'run as Admin'
Some combination of the above will fix it.
Re: "Object reference not set to an instance of an object"
Posted: 2014-05-26 16:51
by Blade.3510
update to follow
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 20:39
by Blade.3510
[R-COM]LITOralis.nMd wrote:Blade.3510 , several probable problems
your Documents\ProjectReality\Profiles\0001 directory is set to Read only.
you're not running as a windows admin account.
or
You're not running PRLauncher.exe as an admin
or
You need to manually change your BF2\mods\pr\bin\PRLauncher.exe need to manually be set to 'run as Admin'
Some combination of the above will fix it.
Hi
Sorry to have to bother you again but upon needing to fix another problem with a reinstall I am still having the same problem however I believe the problem lies with the profile files being read only that being said I have tried selecting the box that says read only only to then have it revert back to being read only other than that everything on the list above is in place.
Cheers
Matthew
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 21:20
by LITOralis.nMd
Are you logging into windows with an admin account?
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 21:26
by Blade.3510
[R-COM]LITOralis.nMd wrote:Are you logging into windows with an admin account?
That is correct my account type is an administrator
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 21:33
by LITOralis.nMd
Here is a copy of my Documents\ProjectReality\Profiles\Default folder.
rename your Default directory to Default.old or something similar.
Then copy mine into place.
It is set to 1920x1080 60Hz in the video.con file. Manually edit that (in Notepad) if you have a different resolution.
https://www.dropbox.com/sh/yhuo4p4wcxlz ... wbjCsCBmEa
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 21:52
by Blade.3510
Cheers for the help
that has fixed the resolution setting issue how ever there is another error after that
1103: there was an error linking to the game process. please try again
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 22:00
by LITOralis.nMd
What's in mods/pr/bin/PRLauncher.log after this error message?
( Or mods/pr/bin/PRLauncher.txt . (I forgot the file extension, it's the only one in the directory.))
Open it in notepad, copy paste everything here.
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 22:25
by Blade.3510
[R-COM]LITOralis.nMd wrote:What's in mods/pr/bin/PRLauncher.log after this error message?
( Or mods/pr/bin/PRLauncher.txt . (I forgot the file extension, it's the only one in the directory.))
Open it in notepad, copy paste everything here.
Code: Select all
Project Reality Log File
PRLauncher.exe started at: 2014-06-01T23:21:13
Warning: Error in game thread: 3
> Could not find file 'C:\Users\Matt\Documents\ProjectReality\Profiles\0001\Controls.con'.
Error: 1103: There was an error linking to the game process. Please try again.
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-01 23:42
by LITOralis.nMd
Right , go to C:\Users\Matt\Documents\ProjectReality\Profiles\0001\ amd create a blank file called Controls.con
Or copy the C:\Users\Matt\Documents\ProjectReality\Profiles\Default\Controls.con to C:\Users\Matt\Documents\ProjectReality\Profiles\0001\Controls.con
A few others have had this problem and I never figured out how they resolved it. We're talking about 4 reported cases since 1.0 was released.
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-02 16:39
by Blade.3510
That has fixed that aspect of the problem however it now goes into a black screen with a white bar on the right for a few seconds then launches the intro movie but when I then hear the menu music (with no menu) it then crashes with out an error report.
Cheers
Matthew
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-02 16:51
by LITOralis.nMd
Please post your system specs
PRlauncher->Support->Copy to Clipboard button
paste everything here.
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-02 17:59
by Blade.3510
Here you go
(display device isnt showing in the list im running a ati 7950 with all drivers up to date)
Code: Select all
System Information
------------------
Operating System: Microsoft Windows 8.1 Pro (6.3.9600)
Architecture: 64-bit
Current Culture: English (United Kingdom)
Motherboard: Gigabyte Technology Co., Ltd. G1.Sniper Z87
Processor: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (Physical: 4, Logical: 8)
Memory: 16.00 GB
DIMM Modules: ChannelA-DIMM0: 4.00 GB @ 1333 MHz
ChannelA-DIMM1: 4.00 GB @ 1333 MHz
ChannelB-DIMM0: 4.00 GB @ 1333 MHz
ChannelB-DIMM1: 4.00 GB @ 1333 MHz
Page File: 16.00 GB
.NET Framework: 4.5.1, Runtime: 4.0.30319.34014
Display Information
-------------------
Display Device(s):
Display Mode(s):
Driver Version: 10.18.10.3379
Display Memory: 2.06 GB
Multisampling: 2, 4, 8
DPI: 96 (100%)
Audio Information
-----------------
Primary Playback: Speakers (2- Sennheiser 3D G4ME
Primary Recording: Microphone (2- Sennheiser 3D G4
Open AL Renderer: Software
EAX: True
EAX 1.0: False
EAX 2.0: True
EAX 3.0: False
EAX 4.0: False
EAX 5.0: False
X-RAM: False
Disk Information
----------------
Install Path: G:\Origin Downloads\Battlefield 2 Complete Collection
Free: 1.23 TB, Total: 1.82 TB, FS: NTFS, SSD: False
Mod Path: G:\Origin Downloads\Battlefield 2 Complete Collection\mods\pr
Free: 1.23 TB, Total: 1.82 TB, FS: NTFS, SSD: False
Profiles Path: C:\Users\Matt\Documents\ProjectReality\Profiles
Free: 30.82 GB, Total: 119.02 GB, FS: NTFS, SSD: True
Update DL Path: C:\Users\Matt\AppData\Local\Project Reality\Project Reality BF2\Downloads
Free: 30.82 GB, Total: 119.02 GB, FS: NTFS, SSD: True
Update Log Path: C:\Users\Matt\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
Free: 30.82 GB, Total: 119.02 GB, FS: NTFS, SSD: True
Game Information
----------------
Installed Mods: bf2, pr, xpack
Current Mod: pr
BF2 Version: BF2 1.5
PR Version: 1.2.0.0
Language: english
Debug Available: False
Large Address: True
Supported Hardware: None
Profile Information
-------------------
Profile 0001: Blade.3510
Type: Online
View Intro: True
Fullscreen: True
Display Mode: 1366x768@60Hz
Display Mode Valid: True
Graphics Scheme: High
Multisampling: 8x
VSync: False
Terrain Quality: High
Effects Quality: High
Geometry Quality: High
Texture Quality: High
Lighting Quality: High
Dynamic Shadows: High
Dynamic Lights: High
Texture Filtering: High
Audio Provider: Software
Provider Valid: True
Audio Quality: Low
EAX: False
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-02 18:35
by LITOralis.nMd
Unplug your Sennheiser 3D G4ME
PRLAuncher-OPtions->Audio Tab->Software rendering and then untick the EAX .
CLICK APPLY.
Test PR with the Sennheiser 3D G4ME unplugged.
Re: "Object reference not set to an instance of an object"
Posted: 2014-06-02 19:14
by Blade.3510
Strangely my PC really did not like me unplugging it it forced it to restart :S
on a side note still the same problem as above
Cheers
Matthew