ProjectTako / kparser

Automatically exported from code.google.com/p/kparser
1 stars 3 forks source link

Unhandled exception: root element missing #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I had some windows issues and lost some .NET files?  I'm not sure ;;
2.
3.

What is the expected output? What do you see instead?
I get a Microsoft .NET Framework error.  "Unhandled exception has occured
... Root element is missing"

What version of the product are you using? On what operating system?
1.5.6 - with Windows 7 x64bit  I tried installing the latest .NET
framework: dotNetFx40_Full_setup.exe

Please provide any additional information below.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Configuration.ConfigurationErrorsException: Root element is missing.
(C:\Users\Tucker\AppData\Local\Wayward_Gamers\KParser.exe_Url_pyqh5cgcjfgdy5t3c2
wckuywjlpar2ik\1.5.2.0\user.config)
---> System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Configuration.XmlUtil..ctor(Stream stream, String name,
Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
   --- End of inner exception stack trace ---
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean
ignoreLocal)
   at
System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSch
emaErrors
schemaErrors)
   at System.Configuration.Configuration..ctor(String locationSubPath, Type
typeConfigHost, Object[] hostInitConfigurationParams)
   at
System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationF
ileMap
fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
   at
System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(Configuration
FileMap
fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
   at
System.Configuration.ConfigurationManager.OpenMappedExeConfiguration(ExeConfigur
ationFileMap
fileMap, ConfigurationUserLevel userLevel)
   at System.Configuration.ClientSettingsStore.ReadSettingsFromFile(String
configFileName, String sectionName, Boolean isUserScoped)
   at
System.Configuration.LocalFileSettingsProvider.GetSettingValuesFromFile(String
configFileName, String sectionName, Boolean userScoped,
SettingsPropertyCollection properties)
   at
System.Configuration.LocalFileSettingsProvider.Upgrade(SettingsContext
context, SettingsPropertyCollection properties, Boolean isRoaming)
   at
System.Configuration.LocalFileSettingsProvider.Upgrade(SettingsContext
context, SettingsPropertyCollection properties)
   at System.Configuration.ApplicationSettingsBase.Upgrade()
   at WaywardGamers.KParser.ParserWindow.LoadUpgrade()
   at WaywardGamers.KParser.ParserWindow.ParserWindow_Load(Object sender,
EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
KParser
    Assembly Version: 1.5.6.0
    Win32 Version: 1.5.6.0
    CodeBase:
file:///C:/Program%20Files%20(x86)/Wayward%20Gamers/KParser/KParser.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.Drawing.dll
----------------------------------------
WaywardGamers.KParser.ParserCore
    Assembly Version: 1.5.6.0
    Win32 Version: 1.5.6.0
    CodeBase:
file:///C:/Program%20Files%20(x86)/Wayward%20Gamers/KParser/WaywardGamers.KParse
r.ParserCore.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50
a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System
.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Original issue reported on code.google.com by tuckerb...@gmail.com on 4 Jun 2010 at 7:22

GoogleCodeExporter commented 8 years ago
Looks like the config file got corrupted or something. Go to the location 
specified in the first line of the error and delete the user.config file. 
Restart KParser and update any prefs. Alternately, if it has the same problem 
(due to trying to upgrade from a broken previous config file), just delete the 
1.5.2 (and any previous) folders. 

Original comment by Kinemati...@gmail.com on 15 Jun 2010 at 7:14

GoogleCodeExporter commented 8 years ago
Closing since no other reply on it, and presumably has been taken care of.

Original comment by Kinemati...@gmail.com on 6 May 2011 at 8:35