Page 1 of 1

Error after updating to v1.4: Invalid Path

Posted: 2016-11-26 21:34
by Skywalker-11
After updating to version 1.4 I get the following error when starting the launcher:
("Der Pfad hat ein ung?ltiges Format." means something like "the path has an invalid format")

Code: Select all

Project Reality Log File
PRUpdater.exe started at: 2016-11-26T22:21:20

Critical Error: An unhandled exception has occured. Details are as follows:

Der Pfad hat ein ung?ltiges Format.

Further details can be found in the following file:

[url]C:\Users\Michael\AppData\Local\Project Reality\Project Reality BF2\Downloads\ProjectRealityUpdate\PRUpdater.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.ArgumentException: Der Pfad hat ein ung?ltiges Format.
   bei System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   bei System.IO.Path.GetFullPathInternal(String path)
   bei Reality.BF2.Directories.get_RootDirectory()
   bei Reality.BF2.Directories.get_CurrentModDirectory()
   bei Reality.BF2.Directories.get_CurrentModLocalizationLanguageDirectory()
   bei Reality.BF2.Localization.a(Dictionary`2& a)
   bei Reality.BF2.Localization.Initialize()
   bei -.f.OnStartup(StartupEventArgs a)
   bei System.Windows.Application.<.ctor>b__1_0(Object unused)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: Error after updating to v1.4: Invalid Path

Posted: 2016-11-26 22:39
by xact
I also have this problem on Windows 7.

Code: Select all

Project Reality Log File
PRUpdater.exe started at: 2016-11-27T00:43:26

Critical Error: An unhandled exception has occured. Details are as follows:

The path is not of a legal form.

Further details can be found in the following file:

[url]C:\Users\user\AppData\Local\Project Reality\Project Reality BF2\Downloads\ProjectRealityUpdate\PRUpdater.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.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at Reality.BF2.Directories.get_RootDirectory()
   at Reality.BF2.Directories.get_CurrentModDirectory()
   at Reality.BF2.Directories.get_CurrentModLocalizationLanguageDirectory()
   at Reality.BF2.Localization.a(Dictionary`2& a)
   at Reality.BF2.Localization.Initialize()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Re: Error after updating to v1.4: Invalid Path

Posted: 2016-11-27 01:44
by Skywalker-11
A clean install fixed this

Re: Error after updating to v1.4: Invalid Path

Posted: 2016-11-27 09:14
by xact
Thanks. Does that mean I have to download the entire 1.4 ISO?

Seems a bit extreme.

Re: Error after updating to v1.4: Invalid Path

Posted: 2016-11-27 21:24
by xact
Update: clean install from ISO fixed it.

Which leaves only the question, why can't the updater properly patch from 1.3.5 to 1.4.0?

Re: Error after updating to v1.4: Invalid Path

Posted: 2016-11-28 08:54
by Gentlefood
Same issue although happened with a full install from the ISO instead of patching. Tried reinstalling with ISO to no avail, currently redownloading ISO to test for corruption with dl.

Actually this may be a different error. Or perhaps my new install has a new error.

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.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[/code]