Critical Unhandled Exception '.', hexadecimal value 0x00, is an invalid character.

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Expendable Grunt
Posts: 4730
Joined: 2007-03-09 01:54

Critical Unhandled Exception '.', hexadecimal value 0x00, is an invalid character.

Post by Expendable Grunt »

Ran into this issue after applying the 2-JUN-2017 update.

Code: Select all

System Information
------------------
  Operating System: Microsoft Windows 7 Ultimate  (6.1.7600)
      Architecture: 64-bit
   Current Culture: English (United States)
       Motherboard:  EVGA  X58 SLI FTW3
         Processor: Intel(R) Core(TM) i7 CPU         960  @ 3.20GHz (Physical: 4, Logical: 8)
            Memory: 16.00 GB
      DIMM Modules: A0: 4.00 GB @ 1033 MHz
                    A1: 4.00 GB @ 1033 MHz
                    A2: 4.00 GB @ 1033 MHz
                    A3: 4.00 GB @ 1033 MHz
         Page File: 15.99 GB
    .NET Framework: 4.6+ Release Build: 378681, Runtime: 4.0.30319.18331

Display Information
-------------------
 Display Device(s): Generic PnP Monitor on NVIDIA GeForce GTX 970
   Display Mode(s): 1920 x 1200 (32 bit) @ 59 Hz
    Driver Version: 9.18.13.4709 (347.09)
    Display Memory: 4.00 GB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: Speakers (Realtek High Definiti
 Primary Recording: Microphone (Realtek High Defini
  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: C:\Program Files (x86)\Project Reality\Project Reality BF2
                    Free: 33.79 GB, Total: 558.81 GB, FS: NTFS, SSD: False
          Mod Path: C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr
                    Free: 33.79 GB, Total: 558.81 GB, FS: NTFS, SSD: False
     Profiles Path: C:\Users\Cheomesh\Documents\ProjectReality\Profiles
                    Free: 33.79 GB, Total: 558.81 GB, FS: NTFS, SSD: False
    Update DL Path: C:\Users\Cheomesh\AppData\Local\Project Reality\Project Reality BF2\Downloads
                    Free: 33.79 GB, Total: 558.81 GB, FS: NTFS, SSD: False
   Update Log Path: C:\Users\Cheomesh\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                    Free: 33.79 GB, Total: 558.81 GB, FS: NTFS, SSD: False

Game Information
----------------
    Installed Mods: pr, pr_ww2
       Current Mod: pr
           Version: Standalone - 1.0
          Language: english
   Debug Available: False
     Large Address: True
Supported Hardware: None

Profile Information
-------------------
      Profile 0001: Cheomesh
              Type: Online
 Last Used Profile: True
        View Intro: True
        Fullscreen: True
      Display Mode: 1920x1200@60Hz
Display Mode Valid: True
   Graphics Scheme: Medium
     Multisampling: Off
             VSync: False
            NoLods: False
   Terrain Quality: Low
   Effects Quality: High
  Geometry Quality: Low
   Texture Quality: Medium
  Lighting Quality: Low
   Dynamic Shadows: Medium
    Dynamic Lights: Medium
 Texture Filtering: Medium
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: Medium
               EAX: True
I attempted to run it twice before seeking answers. These are the result of both runs:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2017-07-05T19:07:12

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

'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\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.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
   at Reality.BF2.Version.ReadVersion(String a)
   at Reality.BF2.Game.PreLaunch..ctor()
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.LaunchStart(LaunchType a, Boolean b)
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.OnLaunch(Object a)
   at Reality.Utils.WPF.RelayCommand.Execute(Object a)
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2017-07-05T19:10:56

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

'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\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.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
   at Reality.BF2.Version.ReadVersion(String a)
   at Reality.BF2.Game.PreLaunch..ctor()
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.LaunchStart(LaunchType a, Boolean b)
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.OnSelectProfile(Object a)
   at Reality.Utils.WPF.RelayCommand.Execute(Object a)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)
This happens whenever you try and run the game or get to the profiles screen. After the first failure I thought this error rang a bell and involved deleting the profile I normally use. This did not fix it (and gave me the second log).

I've looked around and there does not seem to be a hard explanation. For some people, updating DirectX worked, for others it was a reinstall.

This thread seems to request the contents of a specific file. I checked my version of the file and it simply has a long series of the NULL Unicode character.

I'm going to attempt a reinstall as the Direct X thing did not resolve it, but as a heads up this issue still is out there.

M.
Image


Former [DM] captain.

The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. - Saul Alinsky
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Critical Unhandled Exception '.', hexadecimal value 0x00, is an invalid character

Post by AlonTavor »

Not relevant to DirectX. Just reinstall the game.
Expendable Grunt
Posts: 4730
Joined: 2007-03-09 01:54

Re: Critical Unhandled Exception '.', hexadecimal value 0x00, is an invalid character

Post by Expendable Grunt »

Roger; I did reinstall and it did fix *that* issue. I am now having trouble with Mumble missing the C++ 2015 redistributable. There is a thread in the bugs section, but the solution there didn't do the trick. The search continues...

M.
Image


Former [DM] captain.

The fact that people are poor or discriminated against doesn't necessarily endow them with any special qualities of justice, nobility, charity or compassion. - Saul Alinsky
fpspromotion
Posts: 300
Joined: 2016-05-09 14:38

Re: Critical Unhandled Exception '.', hexadecimal value 0x00, is an invalid character

Post by fpspromotion »

Expendable Grunt wrote:Roger; I did reinstall and it did fix *that* issue. I am now having trouble with Mumble missing the C++ 2015 redistributable. There is a thread in the bugs section, but the solution there didn't do the trick. The search continues...

M.

copied from post

[R-DEV]AlonTavor
PR:BF2 Developer
PR Server License Moderator


Default Re: Mumble problem (Error -3)



Install Visual C++ Redistributable for Visual Studio 2015
https://www.microsoft.com/en-US/down....aspx?id=48145


!!!!!!!!!!You need the vc_redist.x86.exe even if you have x64 system. !!!!!!!!!!!!!
Post Reply

Return to “PR:BF2 Support”